Last active
January 25, 2018 16:02
-
-
Save dmann/f13ab12b9862ee5978d4814a23100576 to your computer and use it in GitHub Desktop.
vim setup
This file contains 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 | |
" Tabs/spaces | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
" Colors | |
set background=light | |
:color default | |
" NERD Tree | |
map <C-o> :NERDTreeToggle<cr> | |
let NERDTreeIgnore=['\~$', '.*\.pyc$', 'pip-log\.txt$'] | |
let NERDTreeWinSize=40 | |
" Easy buffer navigation | |
map <C-h> <C-w>h | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-l> <C-w>l | |
map <leader>w <C-w>v<C-w>l |
This file contains 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
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
git clone git://github.com/tpope/vim-sensible.git ~/.vim/bundle/vim-sensible | |
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment