" General config " ______________________________ " set encoding=utf-8 set laststatus=2 set nowrap set smarttab set backspace=indent,eol,start set ttyfast set timeout timeoutlen=1000 ttimeoutlen=50 set clipboard=unnamed "use p to paste clipboard set history=1000 set undolevels=1000 set nobackup set nowritebackup set noswapfile set viminfo='20,\"100 "max 100 lines in registers set visualbell set noerrorbells set nomodeline " Keybindings " ______________________________ " " no arrow keys map map map map " quick normal mode inoremap jk " quick-quit :ca Q q :ca Q! q! " quick help :ca htab :tab h " 2x scrolling nnoremap 2 nnoremap 2 " 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' Plug 'prettier/vim-prettier', { \ 'do': 'yarn install', \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] } call plug#end() " 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 :NERDTreeToggle nnoremap :FZF let g:fzf_action = { \ 'ctrl-t': 'tab split', \ 'ctrl-s': 'split', \ 'ctrl-v': 'vsplit' \} " Theme " ______________________________ colorscheme nord