Skip to content

Instantly share code, notes, and snippets.

@chumpy
Created February 19, 2020 16:02
Show Gist options
  • Save chumpy/1df3c4c5add6ac4537c9c97f596a28b6 to your computer and use it in GitHub Desktop.
Save chumpy/1df3c4c5add6ac4537c9c97f596a28b6 to your computer and use it in GitHub Desktop.
Vim Config
setlocal expandtab shiftwidth=2 tabstop=2
set number
set nocompatible
syntax enable
filetype plugin on
" FINDING FILES:
" search down into subfolders
set path+=**
" display all matching files when tab complete
set wildmenu
" TAG JUMPING:
" use '^]' to jump to tag
" use 'g^]' for ambiguous tags
" use '^t' to jump back up the tag stack
command! MakeTags !ctags -R .
" AUTOCOMPLETE:
" ^n (backwards ^p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment