aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorSn4il <sn4il@thedroth.rocks>2023-11-22 13:40:13 +0300
committerSn4il <sn4il@thedroth.rocks>2023-11-22 13:40:43 +0300
commitf2029fb15804392728a99f9cc2fc0162166e6a31 (patch)
tree7f1ef147958f9ea4c22c81ca970b7ddc7c67586c /vimrc
downloaddotfiles-f2029fb15804392728a99f9cc2fc0162166e6a31.tar.gz
dotfiles-f2029fb15804392728a99f9cc2fc0162166e6a31.zip
vim plugins
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc29
1 files changed, 29 insertions, 0 deletions
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 <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' :'?',
+ \ }