Skip to content

Instantly share code, notes, and snippets.

@riccardo1980
Last active March 9, 2020 20:04
Show Gist options
  • Save riccardo1980/10d7d536f53f315a8e69deea5ae13e8d to your computer and use it in GitHub Desktop.
Save riccardo1980/10d7d536f53f315a8e69deea5ae13e8d to your computer and use it in GitHub Desktop.
source /etc/vim/vimrc
set tabstop=4 " TAB width
set softtabstop=4 " TAB columns
set expandtab " Expand TABs to spaces
set shiftwidth=4 " Indentation width
" Remember last position
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$")
endif
"uncomment to load/save views
"au BufWinLeave * mkview
"au BufWinEnter * silent loadview
set number " Line number
"colorscheme evening " color scheme
"colorscheme slate " color scheme
colorscheme desert " color scheme
syntax on " Syntax highlight for recognized files
filetype on " Recognize file types
filetype plugin on " Use file type specific plugin
filetype indent on " Use file type specific indent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment