aboutsummaryrefslogtreecommitdiff
path: root/Common/vimrc
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2021-03-09 16:29:58 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2021-03-09 16:29:58 +0100
commita52da18d18a51774e8c949e2002023212a9c6e75 (patch)
treecaf49ceef7d3db6515bdfc1efca270896c782c67 /Common/vimrc
parent045c955f835fdb11983117ca6e27aa4543de4109 (diff)
downloaddotfiles-a52da18d18a51774e8c949e2002023212a9c6e75.tar.gz
dotfiles-a52da18d18a51774e8c949e2002023212a9c6e75.zip
Tweak vim a bit
Diffstat (limited to 'Common/vimrc')
-rw-r--r--Common/vimrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/Common/vimrc b/Common/vimrc
index ae5457a..f35bafe 100644
--- a/Common/vimrc
+++ b/Common/vimrc
@@ -125,6 +125,9 @@ endif
" Add a bit extra margin to the left
set foldcolumn=1
+" Show leader commands
+set showcmd
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -504,3 +507,16 @@ nmap <leader>rn <Plug>(coc-rename)
xmap <leader>f <Plug>(coc-format-selected)
nmap <leader>f <Plug>(coc-format-selected)
+
+" vim-multiple-cursors
+let g:multi_cursor_use_default_mapping=0
+
+" Default mapping
+let g:multi_cursor_start_word_key = '<C-d>'
+let g:multi_cursor_select_all_word_key = '<A-d>'
+let g:multi_cursor_start_key = 'g<C-d>'
+let g:multi_cursor_select_all_key = 'g<A-d>'
+let g:multi_cursor_next_key = '<C-d>'
+let g:multi_cursor_prev_key = '<C-p>'
+let g:multi_cursor_skip_key = '<C-x>'
+let g:multi_cursor_quit_key = '<Esc>'