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

Custom keybindings #336

Closed
silenc3r opened this issue Nov 29, 2015 · 1 comment
Closed

Custom keybindings #336

silenc3r opened this issue Nov 29, 2015 · 1 comment

Comments

@silenc3r
Copy link

I prefer PlugUpdate to create new buffer instead of a new window, so I changed g:plug_window to "enew" but now pressing q after update closes the vim instead of wiping the buffer. Is it possible to rebind q to :bw or :bd? I want to rebind it only for this buffer, not globally.

@junegunn
Copy link
Owner

You can bind keys with autocmd FileType vim-plug, but in this case bd seems to be a better default, so I updated the code. Thanks.

mattn pushed a commit to mattn/vim-plug that referenced this issue Dec 3, 2015
Close junegunn#336. Also remove unnecessary echo.
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

No branches or pull requests

2 participants