aboutsummaryrefslogtreecommitdiff
path: root/Common
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2021-04-28 14:42:47 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2021-04-28 14:42:47 +0200
commite6df7072ab32493a561fc678eacc119b57981827 (patch)
tree3df9d9e76fd5273f61041d6ea858949570e37c47 /Common
parent8b19fe831c1aedd5920c693261d87ccfa2708a93 (diff)
parentbcfdcd2a5ce45fb81bbf39fdae1a8f1a47d1b4de (diff)
downloaddotfiles-e6df7072ab32493a561fc678eacc119b57981827.tar.gz
dotfiles-e6df7072ab32493a561fc678eacc119b57981827.zip
Merge branch 'master' of https://github.com/jakobst1n/dotfiles
Diffstat (limited to 'Common')
-rw-r--r--Common/vimrc16
-rw-r--r--Common/zshrc1
2 files changed, 17 insertions, 0 deletions
diff --git a/Common/vimrc b/Common/vimrc
index ddc2dba..6a18a3f 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
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -508,3 +511,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>'
diff --git a/Common/zshrc b/Common/zshrc
index 523de78..356f69c 100644
--- a/Common/zshrc
+++ b/Common/zshrc
@@ -71,6 +71,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 &'