aboutsummaryrefslogtreecommitdiff
path: root/plugin/fix-pumvisible-no-newline.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2020-06-26 10:13:58 +0200
committerMax Christian Pohle2020-06-26 13:43:27 +0200
commitb68fec17407aa70fdd4cc5c88667ac2d2f49658a (patch)
tree113528e165b486cbf2069f220bdca949b1dcd18d /plugin/fix-pumvisible-no-newline.vim
parentdbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (diff)
downloadvim-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.vim1
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>"
..