diff options
author | Max Christian Pohle | 2020-06-26 10:13:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-06-26 13:43:27 +0200 |
commit | b68fec17407aa70fdd4cc5c88667ac2d2f49658a (patch) | |
tree | 113528e165b486cbf2069f220bdca949b1dcd18d /plugin/fix-pumvisible-no-newline.vim | |
parent | dbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (diff) | |
download | vim-karlmarks-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.tar.bz2 vim-karlmarks-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.zip |
Hotfixes to improve compatibility with python
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>" | |||