summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-07-16 19:51:03 +0200
committerAhmed Abdelhalim <[email protected]>2023-07-16 19:51:03 +0200
commitd0784ab3d1478f207d718f08c16abd7e5ff3044e (patch)
tree675b28614b1e28ecb019de47d477155e9c657117 /.vimrc
parentc55835c0b48f08560587907e269f445af48f6142 (diff)
Add the shift tab to reverse cycle through autocomplete
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index e8bdd74..beff545 100644
--- a/.vimrc
+++ b/.vimrc
@@ -169,6 +169,8 @@ let g:deoplete#enable_at_startup = 1
" use tab for cycle through the omnifunc suggestions
inoremap <silent><expr> <Tab>
\ pumvisible() ? "\<C-n>" : "\<TAB>"
+inoremap <silent><expr> <S-Tab>
+ \ pumvisible() ? "\<C-p>" : "\<S-TAB>"
"polyglot"
"=============