aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
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' :'?',
+ \ }