" " " Plugins " " call plug#begin(stdpath('data') . '/plugged') Plug 'doums/darcula' Plug 'preservim/nerdtree' Plug 'ryanoasis/vim-devicons' Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' Plug 'airblade/vim-gitgutter' call plug#end() " " " Config " " nnoremap let mapleader=" " set shiftwidth=2 set number set mouse=a colorscheme darcula hi Normal guibg=NONE ctermbg=NONE " Nerdtree let g:NERDTreeShowHidden=1 autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * NERDTree | if argc() > 0 || exists('s:std_ine') | wincmd p | endif autocmd VimEnter * if argc() > 0 | silent NERDTreeFind | wincmd p | endif autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif map NERDTreeToggle " Telescope nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap Telescope buffers " " " Keys " " " buffer pane navigation nnoremap nnoremap nnoremap nnoremap nnoremap tabprevious nnoremap tabnext " esc / quit map nnoremap q " save nnoremap w inoremap w