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