From a52da18d18a51774e8c949e2002023212a9c6e75 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Tue, 9 Mar 2021 16:29:58 +0100 Subject: Tweak vim a bit --- Common/vimrc | 16 ++++++++++++++++ Common/zshrc | 1 + 2 files changed, 17 insertions(+) (limited to 'Common') 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 rn (coc-rename) xmap f (coc-format-selected) nmap f (coc-format-selected) + +" vim-multiple-cursors +let g:multi_cursor_use_default_mapping=0 + +" Default mapping +let g:multi_cursor_start_word_key = '' +let g:multi_cursor_select_all_word_key = '' +let g:multi_cursor_start_key = 'g' +let g:multi_cursor_select_all_key = 'g' +let g:multi_cursor_next_key = '' +let g:multi_cursor_prev_key = '' +let g:multi_cursor_skip_key = '' +let g:multi_cursor_quit_key = '' diff --git a/Common/zshrc b/Common/zshrc index 7f8b902..44fbfe4 100644 --- a/Common/zshrc +++ b/Common/zshrc @@ -66,6 +66,7 @@ case "$OSTYPE" in path+=("$(readlink /Users/$DEFAULT_USER/bin)") path+=("/Library/TeX/texbin") path+=("/usr/local/share/dotnet") + path+=("/usr/local/sbin") export PATH alias krak='/Applications/GitKraken.app/Contents/MacOS/GitKraken -p "$(PWD)" &>> /dev/null &' -- cgit v1.2.3