Add vim dotfiles

This commit is contained in:
Hektor Misplon
2020-02-16 08:45:55 +00:00
commit 21a570e173
12 changed files with 2650 additions and 0 deletions

2597
.vim/autoload/plug.vim Normal file

File diff suppressed because it is too large Load Diff

5
.vim/coc-settings.json Normal file
View File

@@ -0,0 +1,5 @@
{
"coc.preferences.formatOnSaveFiletypes": ["javascript", "typescript", "typescriptreact", "json", "javascriptreact", "typescript.tsx"],
"eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"],
"coc.preferences.diagnostic.virtualText": true,
}

1
.vim/plugged/coc.nvim Submodule

Submodule .vim/plugged/coc.nvim added at 33d4a71b98

1
.vim/plugged/fzf Submodule

Submodule .vim/plugged/fzf added at b57e6cff7e

1
.vim/plugged/fzf.vim Submodule

Submodule .vim/plugged/fzf.vim added at 467c327788

1
.vim/plugged/nerdtree Submodule

Submodule .vim/plugged/nerdtree added at 07612557eb

1
.vim/plugged/nord-vim Submodule

Submodule .vim/plugged/nord-vim added at f06189a4c0

Submodule .vim/plugged/typescript-vim added at 17d85d8051

Submodule .vim/plugged/vim-devicons added at b06f5418a4

Submodule .vim/plugged/vim-jsx-pretty added at 838cfce82d

Submodule .vim/plugged/vim-jsx-typescript added at 007a4e3856

39
.vimrc Normal file
View File

@@ -0,0 +1,39 @@
" 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'
\}