diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-05-18 10:30:43 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-05-18 10:30:43 +1200 |
commit | 838e182e4cc413dd4ce95c9f7d3b265a264c3e6d (patch) | |
tree | 7b687ff7156e1beb071716ed848bb1f724a84f9e /vim/vimrc | |
parent | Fugitive update. (diff) | |
download | dotfiles-838e182e4cc413dd4ce95c9f7d3b265a264c3e6d.tar.gz dotfiles-838e182e4cc413dd4ce95c9f7d3b265a264c3e6d.zip |
Map ZW to :w! for quick forced writes
I really like ZQ and ZZ and use them all the time, this is just another
mapping in the same spirit that allows me to force a file write without
necessarily quitting as ZZ does.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -167,6 +167,9 @@ if has("linebreak") set showbreak=... endif +" Writing +nnoremap ZW :w!<CR> + " Yanking nnoremap Y y$ |