Created
March 11, 2016 14:43
-
-
Save gabber12/ba4ca63d93816b6369ab to your computer and use it in GitHub Desktop.
new Vimrc
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
call plug#begin() | |
Plug 'scrooloose/nerdtree' | |
Plug 'vim-scripts/Solarized' | |
Plug 'ervandew/supertab' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'tomasr/molokai' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'nathanaelkane/vim-indent-guides' | |
Plug 'fatih/vim-go', | |
Plug 'nvie/vim-flake8' | |
Plug 'pangloss/vim-javascript' | |
call plug#end() | |
filetype plugin on | |
syntax on | |
set number | |
set autoread | |
set tabstop=4 | |
set shiftwidth=4 | |
set pastetoggle=<F2> | |
set background=dark | |
let g:solarized_termcolors=16 | |
colorscheme solarized | |
"let g:molokai_original = 1 | |
"let g:rehash256 = 1 | |
"colorscheme molokai | |
let mapleader="," | |
"Splits | |
nnoremap gh <C-W><C-H> | |
nnoremap gj <C-W><C-J> | |
nnoremap gk <C-W><C-K> | |
nnoremap gl <C-W><C-L> | |
tnoremap gh <C-\><C-n><C-w>h | |
tnoremap gj <C-\><C-n><C-w>j | |
tnoremap gk <C-\><C-n><C-w>k | |
tnoremap gl <C-\><C-n><C-w>l | |
set splitbelow | |
set splitright | |
"Tabs | |
nnoremap tl :tabnext<CR> | |
nnoremap th :tabprev<CR> | |
nnoremap tn :tabnew<CR> | |
"Plugin Config | |
map <C-n> :NERDTreeToggle<CR> | |
map <C-m> :call NERDComment(0,"toggle")<CR> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment