Skip to content

Instantly share code, notes, and snippets.

@sokratisg
Created September 13, 2014 22:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sokratisg/48ee63799bc719844598 to your computer and use it in GitHub Desktop.
Save sokratisg/48ee63799bc719844598 to your computer and use it in GitHub Desktop.
vim-enhanced configuration
" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vim/vimrc), since debian.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing debian.vim since it alters the value of the
" 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
runtime! debian.vim
" Vim5 and later versions support syntax highlighting. Uncommenting the
" following enables syntax highlighting by default.
if has("syntax")
syntax on
syntax enable
endif
set encoding=utf-8
"filetype plugin indent on
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
set ts=2 shiftwidth=2
set expandtab
set backspace=indent,eol,start
set hlsearch
"set nowrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment