summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vimrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 789fb4e..7195d8a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -52,6 +52,18 @@ inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
let g:pydiction_location = '~/.vim/pydiction/complete-dict'
" =======================================================
+" COMPLETION FOR CMDLINE
+" =======================================================
+
+" enable nice menu
+set wildmenu
+
+" do not use Left and Right for switching between completions,
+" but for cursor positioning
+cnoremap <Left> <Space><BS><Left>
+cnoremap <Right> <Space><BS><Right>
+
+" =======================================================
" CUSTOM MAPPINGS
" =======================================================