mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
alias :W to :w in vim
this was a long time coming
This commit is contained in:
parent
8c4f76a583
commit
5d81bc00a1
1 changed files with 3 additions and 0 deletions
|
@ -302,6 +302,9 @@ nn _ :E <c-r>=expand('%:h')<cr><cr>
|
|||
nn <Leader>f :E .<cr>
|
||||
nn <Leader>F :E <c-r>=expand('%:h')<cr><cr>
|
||||
|
||||
" alias :W to :w, via https://stackoverflow.com/a/3879737
|
||||
cnoreabbrev <expr> W ((getcmdtype() is# ':' && getcmdline() is# 'W')?('w'):('W'))
|
||||
|
||||
" extension binds {{{1
|
||||
map <silent> <c-n> :CtrlPBuffer<cr>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue