summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index bf1f720..35ae708 100644
--- a/.vimrc
+++ b/.vimrc
@@ -168,6 +168,13 @@
" [ The following are disabled, because they conflict with delimitMate's autobracket feature ]
" inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
" inoremap <expr> <C-n> pumvisible() ? '<C-n>' : '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'
+
+ " "Disables" arrow navigation in completion menu
+ inoremap <expr> <up> pumvisible() ? '<c-y><up>' : '<up>'
+ inoremap <expr> <down> pumvisible() ? '<c-y><down>' : '<down>'
+
+ " Pressing tab goes from top to bottom
+ let g:SuperTabContextDefaultCompletionType = "<c-n>"
" }}}
" Spell check mode {{{
@@ -244,6 +251,10 @@
let g:tabman_side = 'right'
" }}}
+" SuperTab {{{
+ let g:SuperTabDefaultCompletionType = "context"
+" }}}
+
" Lightline {{{
" Settings {{{
set laststatus=2