Created
June 19, 2014 04:36
-
-
Save happysundar/5b11e741527c331b360e to your computer and use it in GitHub Desktop.
vimrc
This file contains hidden or 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
| set nocompatible " must be the first line | |
| filetype on | |
| filetype indent on | |
| filetype plugin on | |
| set laststatus=2 | |
| syntax on | |
| set cursorline | |
| set statusline=%<%f\%h%m%r%=%-20.(line=%l\ \ col=%c%V\ \ totlin=%L%)\ \ \%h%m%r%=%-40(bytval=0x%B,%n%Y%)\%P | |
| " Allow saving of files as sudo when I forgot to start vim using sudo. | |
| cmap w!! w !sudo tee > /dev/null % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment