Created
January 16, 2015 04:52
-
-
Save jsantos17/316c13f39e28546ab40c to your computer and use it in GitHub Desktop.
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('~/.nvim/plugged') | |
Plug 'Lokaltog/vim-easymotion' | |
Plug 'bling/vim-airline' | |
Plug 'junegunn/vim-easy-align' | |
Plug 'kien/ctrlp.vim' | |
Plug 'ntpeters/vim-better-whitespace' | |
Plug 'tmhedberg/matchit' | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-surround' | |
Plug 'rking/ag.vim' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'scrooloose/nerdtree' | |
Plug 'scrooloose/syntastic' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'kchmck/vim-coffee-script' | |
Plug 'kien/rainbow_parentheses.vim' | |
Plug 'Valloric/YouCompleteMe' | |
call plug#end() | |
nnoremap <Left> :echoe "Use h"<CR> | |
nnoremap <Right> :echoe "Use l"<CR> | |
nnoremap <Up> :echoe "Use k"<CR> | |
nnoremap <Down> :echoe "Use j"<CR> | |
highlight LineNr ctermfg=grey | |
set grepprg=ag\ --nogroup\ --nocolor | |
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore | |
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' | |
"ag is fast enough that CtrlP doesn't need to cache | |
let g:ctrlp_use_caching = 0 | |
set mouse=a | |
set splitbelow | |
set splitright | |
set number | |
set expandtab | |
colorscheme zenburn | |
let g:syntastic_enable_signs=1 | |
let g:syntastic_check_on_open=1 | |
let g:airline_powerline_fonts = 1 | |
let g:airline_enable_fugitive=1 | |
set number | |
set wrap! | |
set expandtab | |
set autoindent | |
set cindent | |
set smartindent | |
set nofoldenable | |
set tabstop=2 | |
set shiftwidth=2 | |
set pastetoggle=<F2> | |
set encoding=utf-8 | |
set noswapfile | |
set backspace=indent,eol,start | |
set hlsearch | |
set incsearch | |
set ic " case insensitive search | |
set laststatus=2 | |
let g:syntastic_enable_signs=1 | |
let g:syntastic_check_on_open=1 | |
let g:airline_powerline_fonts = 1 | |
let g:airline_enable_fugitive=1 | |
nnoremap <CR> :noh<CR><CR> | |
let mapleader = "," | |
map + <leader><leader>w | |
map <leader>+ <leader><leader>b | |
map <leader>j <leader><leader>j | |
map <leader>k <leader><leader>k | |
nmap <leader>h :wincmd h<CR> | |
nmap <leader>l :wincmd l<CR> | |
noremap <leader>s :update<CR> | |
vnoremap <leader>s <C-C>:update<CR> | |
inoremap <leader>s <C-O>:update<CR><ESC> | |
nnoremap <leader>v <C-w>v | |
nmap <leader>n :NERDTreeToggle<CR> | |
nmap <leader>m :NERDTree<CR> | |
nmap <leader>q :q<CR> | |
nmap <leader>f <S-v>/{<cr>% | |
nmap <leader><space> :StripWhitespace<CR> | |
nmap <leader>d :GitGutterToggle<CR> | |
nmap <leader><S-d> :GitGutterDisable<CR>:Gdiff<CR>zR | |
map <Leader>c ggVG"*y | |
map <Leader>e :e <C-R>=expand("%:p:h") . '/'<CR> | |
map <Leader>v :vnew <C-R>=expand("%:p:h") . '/'<CR> | |
map <leader>r :source ~/.vimrc<CR>:set wrap!<CR> | |
map <leader>z :NeoSnippetEdit<CR> | |
let g:rbpt_max = 16 | |
let g:rbpt_loadcmd_toggle = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment