Created
March 23, 2015 14:34
-
-
Save ironhouzi/4a14ab343275ea0e528b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <leader>w :silent! %s/\s\+$//<cr>:let @/=''<CR>:w<CR> | |
function! FixInf3151() | |
normal mz | |
set st=2 sts=2 noet | |
retab! | |
set st=4 sts=4 et | |
retab | |
normal ,w | |
normal gg=G | |
normal `z | |
endfunction | |
command! -register FixInf3151 call FixInf3151() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment