summaryrefslogtreecommitdiffstats
path: root/.config/nvim/bindings.vim
diff options
context:
space:
mode:
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>'