Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Ctrl-P cmap to only operate after space #483

Merged
merged 1 commit into from
Dec 4, 2012
Merged

Limit Ctrl-P cmap to only operate after space #483

merged 1 commit into from
Dec 4, 2012

Conversation

tpope
Copy link
Contributor

@tpope tpope commented Dec 4, 2012

I'd rather see this map go away entirely, but I'm submitting a more
conservative compromise: Insert the path if a space was the previously
typed character, otherwise fall back to the standard Vim behavior.

@reinh
Copy link

reinh commented Dec 4, 2012

@tpope, Janus overlords: How about <Leader>p instead of Ctrl-P?

@tpope
Copy link
Contributor Author

tpope commented Dec 4, 2012

<Leader>p in insert/command mode means it lags every time you type a backslash (i.e., the same problem that drove #484).

kalbasit added a commit that referenced this pull request Dec 4, 2012
Limit Ctrl-P cmap to only operate after space
@kalbasit kalbasit merged commit 36161e3 into carlhuda:master Dec 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants