summaryrefslogtreecommitdiffstats
path: root/.config/nvim/bindings.vim
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 19:58:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 19:58:10 +0100
commit3a489c6ebaf8f080bf7e55c868059ed3802a924a (patch)
tree98e4bb3b9b3e6e33ebdc94b7f34181c215d8fd22 /.config/nvim/bindings.vim
parentNew lsp, coc sucks (diff)
downloaddotfiles-bsd-3a489c6ebaf8f080bf7e55c868059ed3802a924a.tar.gz
dotfiles-bsd-3a489c6ebaf8f080bf7e55c868059ed3802a924a.tar.bz2
dotfiles-bsd-3a489c6ebaf8f080bf7e55c868059ed3802a924a.tar.xz
dotfiles-bsd-3a489c6ebaf8f080bf7e55c868059ed3802a924a.tar.zst
dotfiles-bsd-3a489c6ebaf8f080bf7e55c868059ed3802a924a.zip
Perfect vim C/C++ config
Diffstat (limited to '.config/nvim/bindings.vim')
-rw-r--r--.config/nvim/bindings.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim
index d6219b9..c6f7b44 100644
--- a/.config/nvim/bindings.vim
+++ b/.config/nvim/bindings.vim
@@ -54,6 +54,7 @@ nmap <M-9> <Plug>AirlineSelectTab9
nmap <M-0> <Plug>AirlineSelectTab10
inoremap <expr> <C-j> pumvisible() ? "<C-n>" : "<C-j>"
inoremap <expr> <C-k> pumvisible() ? "<C-p>" : "<C-k>"
+inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>"
let g:floaterm_keymap_toggle = '<F1>'
let g:floaterm_keymap_prev = '<F11>'
let g:floaterm_keymap_next = '<F12>'