diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2013-03-13 15:46:56 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2013-03-13 15:46:56 +0100 |
| commit | 5b63220c007b50b674a90cc67bbb73510d4865be (patch) | |
| tree | 5f0b40b71f46fad92b59765613e29df64957ba0f | |
| parent | 58b06b906b5ee125d2121374c0ab97d06380fc70 (diff) | |
| download | dotfiles-5b63220c007b50b674a90cc67bbb73510d4865be.tar.gz | |
[Vim] automatically close scratch buffer when autocompleting is done
| -rw-r--r-- | .vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -118,3 +118,6 @@ vnoremap <S-Space> zA let g:pymode_lint_write = 0 let g:EasyMotion_leader_key = '<Leader>' + +autocmd CursorMovedI * if pumvisible() == 0|silent! pclose|endif +autocmd InsertLeave * if pumvisible() == 0|silent! pclose|endif |
