Created
October 28, 2020 09:19
-
-
Save almoce/0266c884d80f95e8515d825aee8f52a2 to your computer and use it in GitHub Desktop.
vim plugins and configs
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('~/.vim/plugged') | |
Plug 'valloric/youcompleteme' | |
Plug 'easymotion/vim-easymotion' | |
Plug 'Chiel92/vim-autoformat' | |
Plug 'pangloss/vim-javascript' | |
Plug 'jamespwilliams/bat.vim' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'preservim/nerdtree' | |
Plug 'vim-airline/vim-airline' | |
call plug#end() | |
let mapleader=" " | |
map <C-f> :NERDTreeToggle<CR> | |
noremap <Leader><Leader> : | |
let g:EasyMotion_do_mapping = 0 " Disable default mappings | |
map / <Plug>(easymotion-sn) | |
omap / <Plug>(easymotion-tn) | |
let g:EasyMotion_smartcase = 1 | |
" JK motions: Line motions | |
map <Leader>j <Plug>(easymotion-j) | |
map <Leader>k <Plug>(easymotion-k) | |
map n <Plug>(easymotion-next) | |
map N <Plug>(easymotion-prev) | |
set termguicolors | |
" Add spaces after comment delimiters by default | |
let g:NERDSpaceDelims = 1 | |
" Use compact syntax for prettified multi-line comments | |
let g:NERDCompactSexyComs = 1 | |
" Align line-wise comment delimiters flush left instead of following code indentation | |
let g:NERDDefaultAlign = 'left' | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#tab_min_count = 2 | |
let g:airline#extensions#tabline#show_buffers = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment