diff options
author | Sn4il <sn4il@thedroth.rocks> | 2023-11-22 13:40:13 +0300 |
---|---|---|
committer | Sn4il <sn4il@thedroth.rocks> | 2023-11-22 13:40:43 +0300 |
commit | f2029fb15804392728a99f9cc2fc0162166e6a31 (patch) | |
tree | 7f1ef147958f9ea4c22c81ca970b7ddc7c67586c /vimrc | |
download | dotfiles-f2029fb15804392728a99f9cc2fc0162166e6a31.tar.gz dotfiles-f2029fb15804392728a99f9cc2fc0162166e6a31.zip |
vim plugins
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' :'?', + \ } |