Skip to content

Instantly share code, notes, and snippets.

@tingletech
Created March 11, 2014 03:34
Show Gist options
  • Save tingletech/9479025 to your computer and use it in GitHub Desktop.
Save tingletech/9479025 to your computer and use it in GitHub Desktop.
" http://usevim.com/2012/05/09/clean-vimrc/
" vim:fdm=marker
syntax on
au BufNewFile,BufRead *.less set filetype=less
" line numbers
set nu
" 2 lines of mode
set modeline
set ls=2
" rember what line I was on
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment