Skip to content

Instantly share code, notes, and snippets.

@loganzartman
Last active May 31, 2019 18:05
Show Gist options
  • Save loganzartman/f792056883e09e8117a00ce70dd8004d to your computer and use it in GitHub Desktop.
Save loganzartman/f792056883e09e8117a00ce70dd8004d to your computer and use it in GitHub Desktop.
"Logan's vimrc
"Basic setup
set autoread "update automatically when file is modified externally
filetype plugin on
filetype indent on
set wildmenu
syntax on
set mouse=a
"Setup tabs
set tabstop=4 "4-space tabs
set shiftwidth=4 "4-space tabs
set expandtab "Use space-based tabs
set smarttab "Smart tabs
set autoindent "Auto indent
set smartindent "Smart indent C-like syntax
"Setup appearance
syntax enable
set number "Enable line numbers
colorscheme palenight
set cursorline "Highlight current line
set ruler "Always show current position
set showmatch "Show matching brackets under cursor
set mat=2 "How long to flash matching brackets in 1/10sec
set background=dark
"Searching
set hlsearch "Highlight results
set incsearch "Search next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment