diff options
Diffstat (limited to 'plugin/fix-pumvisible-no-newline.vim')
-rw-r--r-- | plugin/fix-pumvisible-no-newline.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fix-pumvisible-no-newline.vim b/plugin/fix-pumvisible-no-newline.vim new file mode 100644 index 0000000..ad27182 --- /dev/null +++ b/plugin/fix-pumvisible-no-newline.vim | |||
@@ -0,0 +1 @@ | |||
imap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>" | |||