40 lines
868 B
VimL
40 lines
868 B
VimL
|
" keybindings
|
||
|
map <Up> <NOP>
|
||
|
map <Down> <NOP>
|
||
|
map <Left> <NOP>
|
||
|
map <Right> <NOP>
|
||
|
|
||
|
" plugins
|
||
|
call plug#begin()
|
||
|
Plug 'arcticicestudio/nord-vim'
|
||
|
Plug 'scrooloose/nerdtree'
|
||
|
Plug 'maxmellon/vim-jsx-pretty'
|
||
|
Plug 'ryanoasis/vim-devicons'
|
||
|
Plug 'junegunn/fzf', { 'do': './install --bin' }
|
||
|
Plug 'junegunn/fzf.vim'
|
||
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||
|
Plug 'leafgarland/typescript-vim'
|
||
|
Plug 'peitalin/vim-jsx-typescript'
|
||
|
call plug#end()
|
||
|
|
||
|
" theme
|
||
|
colorscheme nord
|
||
|
|
||
|
" NERDTree
|
||
|
let g:NERDTreeShowHidden = 1
|
||
|
let g:NERDTreeMinimalUI = 1
|
||
|
let g:NERDTreeIgnore = []
|
||
|
let g:NERDTreeStatusline = ''
|
||
|
|
||
|
" fzf - use silversearcher-ag to respect .gitignore
|
||
|
let $FZF_DEFAULT_COMMAND = 'ag -g ""'
|
||
|
|
||
|
" plugin keybindings
|
||
|
nnoremap <silent> <C-b> :NERDTreeToggle<CR>
|
||
|
nnoremap <C-p> :FZF<CR>
|
||
|
let g:fzf_action = {
|
||
|
\ 'ctrl-t': 'tab split',
|
||
|
\ 'ctrl-s': 'split',
|
||
|
\ 'ctrl-v': 'vsplit'
|
||
|
\}
|