From f2029fb15804392728a99f9cc2fc0162166e6a31 Mon Sep 17 00:00:00 2001 From: Sn4il Date: Wed, 22 Nov 2023 13:40:13 +0300 Subject: vim plugins --- vimrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 vimrc (limited to 'vimrc') diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..97491ab --- /dev/null +++ b/vimrc @@ -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 n :NERDTreeFocus +nnoremap :NERDTree +nnoremap :NERDTreeToggle +nnoremap :NERDTreeFind + +let g:NERDTreeGitStatusIndicatorMapCustom = { + \ 'Modified' :'✹', + \ 'Staged' :'✚', + \ 'Untracked' :'✭', + \ 'Renamed' :'➜', + \ 'Unmerged' :'═', + \ 'Deleted' :'✖', + \ 'Dirty' :'✗', + \ 'Ignored' :'☒', + \ 'Clean' :'✔︎', + \ 'Unknown' :'?', + \ } -- cgit v1.2.3