Skip to content

Instantly share code, notes, and snippets.

@anjelo
Created April 6, 2017 21:41
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 anjelo/574c919a441c2ce558e850842f2f089f to your computer and use it in GitHub Desktop.
Save anjelo/574c919a441c2ce558e850842f2f089f to your computer and use it in GitHub Desktop.
my .vimrc file
set nocompatible
set encoding=utf-8
set number "show line numbers
set autoindent
set showmatch
set hlsearch
set incsearch
set backspace=2 "make backspace delete characters
set clipboard=unnamed "use system clpbarod
set virtualedit=onemore "cursor goes beyond last character
set history=100
set undolevels=400
set cursorline "highlight current line
set hidden "allow buffer switching without saving
set laststatus=2
set statusline=%<%f\ "filename
set statusline+=%w%h%m%r "options
set statusline+=\ [%{&ff}/%Y] "filetype
set statusline+=\ [%{getcwd()}] "current dir
set statusline+=%=%-14.(%l,%c%V%)\ %p%% "right aligned file nav info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment