Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame^] | 1 | let mapleader = "," |
2 | set whichwrap=b,s,<,>,[,] | ||||
3 | set mouse=a | ||||
4 | |||||
5 | vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR> | ||||
6 | |||||
7 | fun! SetupCommandAlias(from, to) | ||||
8 | exec 'cnoreabbrev <expr> '.a:from | ||||
9 | \ .' ((getcmdtype() is# ":" && getcmdline() is# "'.a:from.'")' | ||||
10 | \ .'? ("'.a:to.'") : ("'.a:from.'"))' | ||||
11 | endfun | ||||
12 | |||||
13 | command W w | ||||
14 | command Wq wq | ||||
15 | call SetupCommandAlias("git","Git") | ||||
16 | |||||
17 | set ignorecase | ||||
18 | set smartcase | ||||
19 | |||||
20 | set expandtab |