Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@starkcoffee
Created February 14, 2019 12: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 starkcoffee/684e527d6df735365550c46d65ecc0aa to your computer and use it in GitHub Desktop.
Save starkcoffee/684e527d6df735365550c46d65ecc0aa to your computer and use it in GitHub Desktop.
my vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
filetype indent on
set autoindent
set nosmartindent
set smarttab
set shiftwidth=2
set tabstop=2
set softtabstop=2
set expandtab
" dont want backup or swap files
set nobackup
set nowritebackup
set noswapfile
let mapleader=" "
nmap <Leader>p :CtrlP<CR>
nmap <Leader>b :CtrlPBuffer<CR>
nmap <Leader>f :NERDTreeFind<CR>
" format entire file
nnoremap <leader>af m'ggVG=``zzg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment