Skip to content

Instantly share code, notes, and snippets.

@aboSamoor
Created September 12, 2011 16:08
Show Gist options
  • Select an option

  • Save aboSamoor/1211647 to your computer and use it in GitHub Desktop.

Select an option

Save aboSamoor/1211647 to your computer and use it in GitHub Desktop.
minimum vimrc
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