blob: 50c4821b949367ee1e3f5958032ea5b030a12435 [file] [log] [blame]
let mapleader = ","
set whichwrap=b,s,<,>,[,]
set mouse=a
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
fun! SetupCommandAlias(from, to)
exec 'cnoreabbrev <expr> '.a:from
\ .' ((getcmdtype() is# ":" && getcmdline() is# "'.a:from.'")'
\ .'? ("'.a:to.'") : ("'.a:from.'"))'
endfun
command W w
command Wq wq
call SetupCommandAlias("git","Git")
set ignorecase
set smartcase
set expandtab