Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- filetype off
- syntax on
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- Plugin 'VundleVim/Vundle.vim'
- Plugin 'scrooloose/nerdtree'
- Plugin 'easymotion/vim-easymotion'
- call vundle#end()
- filetype plugin indent on
- "nerdtree tab commands
- map <C-n> :NERDTreeToggle<CR>
- nnoremap tn :tabnew<CR>
- nnoremap tk :tabnext<CR>
- nnoremap tj :tabprev<CR>
- nnoremap th :tabfirst<CR>
- nnoremap tl :tablast<CR>
- map <C-w> :q<CR>
- map <C-s> :w<CR>
- map <F6> :setlocal spell! spelllang=en_us<CR>
- "nerdtree window commands
- nnoremap <C-h> <C-w>h
- nnoremap <C-j> <C-w>j
- nnoremap <C-k> <C-w>k
- nnoremap <C-l> <C-w>l
- "copy and paste
- vnoremap <C-c> "*y :let @+=@*<CR>
- map <C-p> "+P
- "git shortcuts
- nnoremap gs :!git status<CR>
- nnoremap gc :!git commit<CR>
- nnoremap gpl :!git pull<CR>
- nnoremap gps :!git push<CR>
- set relativenumber
- set number
- set autoindent
- set expandtab
- set shiftwidth=4
- set shiftround
- set tabstop=4
- set history=1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement