Skip to content

Instantly share code, notes, and snippets.

@codekansas
Last active May 17, 2018 00:07
Show Gist options
  • Save codekansas/8793e3b2a1a34fca2a58a083df39e104 to your computer and use it in GitHub Desktop.
Save codekansas/8793e3b2a1a34fca2a58a083df39e104 to your computer and use it in GitHub Desktop.
vimrc file that i like to use
execute pathogen#infect()
colorscheme badwolf
" turns of syntax highlighting
syntax enable
" use spaces not tabs
set tabstop=8 softtabstop=0 expandtab shiftwidth=2 smarttab
" show line numbers
set relativenumber
" show command in bottom bar
set showcmd
" highlight current line
set cursorline
" load filetype-specific indent files
filetype indent on
" highlight matches
set showmatch
" search
set incsearch
set hlsearch
" turn of highlighting
nnoremap <leader><space> :nohlsearch<CR>
@codekansas
Copy link
Author

Get Pathogen:

mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

Get Badwolf:

git clone https://github.com/sjl/badwolf ~/.vim/bundle/badwolf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment