diff options
author | xero <x@xero.nu> | 2015-05-29 23:58:47 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2015-05-29 23:58:47 -0400 |
commit | 6f578d013b5a2e53991c07bdeb9ae6caa28fa417 (patch) | |
tree | bc2de4d419b819c608fb715daf1d4ef3b948a3a1 /vim | |
parent | e45f7aa1bb0ddefb36aa04eba8bc5a326a462fae (diff) | |
download | dotfiles_ascii-6f578d013b5a2e53991c07bdeb9ae6caa28fa417.tar.xz dotfiles_ascii-6f578d013b5a2e53991c07bdeb9ae6caa28fa417.zip |
add vim cleanup aliases
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -92,6 +92,12 @@ nnoremap ; : " json pretty print command J :%!python -mjson.tool +" remove trailing white space +command Nows :%s/\s\+$// + +" remove blank lines +command Nobl :g/^\s*$/d + " enable file type detection and do language-dependent indenting if has("autocmd") filetype on @@ -165,3 +171,4 @@ endfunction au InsertEnter * call Colorize(v:insertmode) au InsertLeave * hi StatColor guibg=#3a3a3a guifg=#ffffff ctermbg=237 ctermfg=255 + |