Skip to content

Instantly share code, notes, and snippets.

@chumpy
Created February 19, 2020 16:02

Revisions

  1. chumpy created this gist Feb 19, 2020.
    22 changes: 22 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    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)