blob: 4d4ad8c1863cdefd11051d021cb26a5f017b839b [file] [log] [blame]
let mapleader = ","
set whichwrap=b,s,<,>,[,]
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