Add vim dotfiles
						commit
						21a570e173
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
				
			
			@ -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,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 33d4a71b983a7164d0749cfc58a4814788be167f
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit b57e6cff7e54bd8dfcb60b2917ffe53d67507046
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 467c3277884240f7b5430f8f4d600e3415c38f3b
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 07612557ebb4118ef4a337faa7033d0270773c71
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit f06189a4c054fe8c22e46aca4d451e03456f2283
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 17d85d8051ba21283e62a9101734981e10b732fd
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit b06f5418a434644f64ba9f218472b5aa86eb03a6
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 838cfce82df8cf99df5e3a200ad23f6c0f027550
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 007a4e3856a90c3ce0f2e2079992e798a0175043
 | 
			
		||||
| 
						 | 
				
			
			@ -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'
 | 
			
		||||
  \}
 | 
			
		||||
		Loading…
	
		Reference in New Issue