Skip to content

Instantly share code, notes, and snippets.

@lenage
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lenage/b0cdcb304cec60aa8406 to your computer and use it in GitHub Desktop.
Save lenage/b0cdcb304cec60aa8406 to your computer and use it in GitHub Desktop.
A simple vimrc config
syntax on
set encoding=utf8
set tabstop=4
set softtabstop=4
set textwidth=80
set expandtab
set number
set ruler
set showcmd
"set cursorline
filetype indent on
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to
set showmatch " hightlight matching [{()}]
set incsearch
set ignorecase
set hlsearch
"turn off search highlight
nnoremap <leader><space> :nohlsearch<CR>
set foldenable
set foldlevelstart=10
set foldnestmax=10
set nobackup
set confirm
set fileencoding=utf-8
set backspace=indent,eol,start
set nojoinspaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment