Skip to content

Instantly share code, notes, and snippets.

@cynful
Last active April 24, 2020 05:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cynful/936f9656dfffdd9fb0e907bd0da388e2 to your computer and use it in GitHub Desktop.
Save cynful/936f9656dfffdd9fb0e907bd0da388e2 to your computer and use it in GitHub Desktop.
basic vim configurations
" props to https://dougblack.io/words/a-good-vimrc.html
syntax on " enable syntax processing
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set number " show line numbers
set showcmd " show command in bottom bar
set cursorline " highlight current line
filetype indent plugin on " load filetype-specific indent files
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to
set showmatch " highlight matching [{()}]
set incsearch " search as characters are entered
set hlsearch " highlight matches
" jk is escape
inoremap jk <esc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment