Created
February 14, 2019 12:41
-
-
Save starkcoffee/684e527d6df735365550c46d65ecc0aa to your computer and use it in GitHub Desktop.
my vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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