Add test, projectionist plugins to vim

This commit is contained in:
Daniel Lynn 2021-06-17 15:05:59 -05:00
parent 12f182ac7c
commit c844456582
4 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,9 @@
Plug 'cespare/vim-toml'
Plug 'mileszs/ack.vim'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-projectionist'
Plug 'tpope/vim-surround'
Plug 'vim-test/vim-test'
" CoC
Plug 'neoclide/coc.nvim', {'branch': 'release'} |

5
nvim/test Normal file
View File

@ -0,0 +1,5 @@
nmap <silent> <leader>t :TestNearest<CR>
nmap <silent> <leader>T :TestFile<CR>
nmap <silent> <leader>a :TestSuite<CR>
nmap <silent> <leader>l :TestLast<CR>
nmap <silent> <leader>g :TestVisit<CR>

5
vimrc
View File

@ -85,6 +85,11 @@ if filereadable(expand("~/.config/nvim/ack"))
source ~/.config/nvim/ack
endif
" Test setup
if filereadable(expand("~/.config/nvim/test"))
source ~/.config/nvim/test
endif
" Color setup
if filereadable(expand("~/.config/nvim/colors"))
source ~/.config/nvim/colors

View File

@ -1,2 +1 @@
alias e="$EDITOR"
alias ls="ls --color"