Created
September 12, 2011 16:08
-
-
Save aboSamoor/1211647 to your computer and use it in GitHub Desktop.
minimum 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 hlsearch | |
| set ruler | |
| syntax on | |
| set number | |
| " set spell | |
| " Tabs are not easy to handle it is better | |
| " to stick to an easy scenario | |
| " @ts tabstop, @sts softtabstop @sw shiftwidth | |
| set ts=2 sts=2 sw=2 expandtab | |
| " Shortcut to rapidly toggle `set list`, | |
| " set list! used to show invisible characters | |
| nmap <leader>l :set list!<CR> | |
| " Use the same symbols as TextMate for tabstops and EOLs | |
| set listchars=tab:▸\ ,eol:¬ | |
| " Define your own templates. | |
| autocmd! BufNewFile * silent! 0r ~/.vim/skel/template.%:e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment