diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +set undodir=$HOME/.vim/tmp/undo " undo files +set backupdir=$HOME/.vim/tmp/backup " backups +set directory=$HOME/.vim/tmp/swap " swap files +call plug#begin() +Plug 'https://git.thedroth.rocks/mirrors/ansible-vim.git' +Plug 'https://git.thedroth.rocks/mirrors/nerdtree.git' +Plug 'https://git.thedroth.rocks/mirrors/vim-nerdtree-syntax-highlight.git' +Plug 'https://git.thedroth.rocks/mirrors/vim-devicons.git' +Plug 'https://git.thedroth.rocks/mirrors/nerdtree-git-plugin.git' +Plug 'https://git.thedroth.rocks/mirrors/vim-fugitive.git' +call plug#end() + +nnoremap <leader>n :NERDTreeFocus<CR> +nnoremap <C-n> :NERDTree<CR> +nnoremap <C-t> :NERDTreeToggle<CR> +nnoremap <C-f> :NERDTreeFind<CR> + +let g:NERDTreeGitStatusIndicatorMapCustom = { + \ 'Modified' :'✹', + \ 'Staged' :'✚', + \ 'Untracked' :'✭', + \ 'Renamed' :'➜', + \ 'Unmerged' :'═', + \ 'Deleted' :'✖', + \ 'Dirty' :'✗', + \ 'Ignored' :'☒', + \ 'Clean' :'✔︎', + \ 'Unknown' :'?', + \ } |