diff options
-rwxr-xr-x | .config/nvim/init.vim | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index caa2628..52c55bb 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -10,6 +10,8 @@ Plug 'deoplete-plugins/deoplete-jedi' | |||
10 | Plug 'dense-analysis/ale' | 10 | Plug 'dense-analysis/ale' |
11 | "manages tag files | 11 | "manages tag files |
12 | Plug 'ludovicchabant/vim-gutentags' | 12 | Plug 'ludovicchabant/vim-gutentags' |
13 | "run your tests | ||
14 | Plug 'janko/vim-test' | ||
13 | 15 | ||
14 | "snippet solution | 16 | "snippet solution |
15 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' | 17 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' |
@@ -31,16 +33,18 @@ Plug 'bling/vim-airline' | |||
31 | 33 | ||
32 | " color themes | 34 | " color themes |
33 | Plug 'lifepillar/vim-solarized8' | 35 | Plug 'lifepillar/vim-solarized8' |
34 | 36 | Plug 'arcticicestudio/nord-vim' | |
35 | " Plug 'arcticicestudio/nord-vim' | 37 | Plug 'aonemd/kuroi.vim' |
36 | " Plug 'aonemd/kuroi.vim' | 38 | Plug 'ayu-theme/ayu-vim' |
37 | " Plug 'ayu-theme/ayu-vim' | 39 | Plug 'lifepillar/vim-gruvbox8' |
38 | " Plug 'lifepillar/vim-gruvbox8' | ||
39 | 40 | ||
40 | "Personal wiki | 41 | "Personal wiki |
41 | Plug 'vimwiki/vimwiki' | 42 | Plug 'vimwiki/vimwiki' |
42 | "distraction-free writing | 43 | "distraction-free writing |
43 | Plug 'junegunn/goyo.vim' | 44 | Plug 'junegunn/goyo.vim' |
45 | |||
46 | "folding ledger files | ||
47 | Plug 'ledger/vim-ledger' | ||
44 | " latex | 48 | " latex |
45 | Plug 'lervag/vimtex' | 49 | Plug 'lervag/vimtex' |
46 | 50 | ||
@@ -57,8 +61,6 @@ Plug 'machakann/vim-sandwich' | |||
57 | " provide additional text objects | 61 | " provide additional text objects |
58 | Plug 'wellle/targets.vim' | 62 | Plug 'wellle/targets.vim' |
59 | 63 | ||
60 | "folding ledger files | ||
61 | Plug 'ledger/vim-ledger' | ||
62 | "reopen files at your last edit position | 64 | "reopen files at your last edit position |
63 | Plug 'farmergreg/vim-lastplace' | 65 | Plug 'farmergreg/vim-lastplace' |
64 | "toggle, display and navigate marks | 66 | "toggle, display and navigate marks |
@@ -89,6 +91,9 @@ Plug 'tpope/vim-abolish' | |||
89 | Plug 'tpope/vim-characterize' | 91 | Plug 'tpope/vim-characterize' |
90 | "comment helper | 92 | "comment helper |
91 | Plug 'tpope/vim-commentary' | 93 | Plug 'tpope/vim-commentary' |
94 | "asynchronous build and test dispatcher | ||
95 | Plug 'tpope/vim-dispatch' | ||
96 | |||
92 | 97 | ||
93 | "fancy start screen | 98 | "fancy start screen |
94 | Plug 'mhinz/vim-startify' | 99 | Plug 'mhinz/vim-startify' |
@@ -194,6 +199,13 @@ nnoremap <silent> <F4> :NERDTreeToggle<CR> | |||
194 | " Fix whole buffer via ALE | 199 | " Fix whole buffer via ALE |
195 | nmap <F9> <Plug>(ale_fix) | 200 | nmap <F9> <Plug>(ale_fix) |
196 | 201 | ||
202 | " these "Ctrl mappings" work well when Caps Lock is mapped to Ctrl | ||
203 | nmap <silent> t<C-n> :TestNearest<CR> | ||
204 | nmap <silent> t<C-f> :TestFile<CR> | ||
205 | nmap <silent> t<C-s> :TestSuite<CR> | ||
206 | nmap <silent> t<C-l> :TestLast<CR> | ||
207 | nmap <silent> t<C-g> :TestVisit<CR> | ||
208 | |||
197 | " New Tab | 209 | " New Tab |
198 | nnoremap <silent> <C-t> :tabnew<CR> | 210 | nnoremap <silent> <C-t> :tabnew<CR> |
199 | " Edit vimrc \ev | 211 | " Edit vimrc \ev |
@@ -224,9 +236,6 @@ nnoremap <space> za | |||
224 | " map N Nzz | 236 | " map N Nzz |
225 | " map n nzz | 237 | " map n nzz |
226 | 238 | ||
227 | nnoremap <leader>d :WebsterSearch(expand('<cWORD>'))<cr> | ||
228 | vnoremap <leader>d :<c-u>WebsterSearch(@*)<cr> | ||
229 | |||
230 | " checkmarks on vimwiki | 239 | " checkmarks on vimwiki |
231 | nmap <Leader>v <Plug>VimwikiToggleListItem | 240 | nmap <Leader>v <Plug>VimwikiToggleListItem |
232 | 241 | ||
@@ -236,9 +245,6 @@ nnoremap ' ` | |||
236 | 245 | ||
237 | nmap <leader>i :IndentGuidesToggle<CR> | 246 | nmap <leader>i :IndentGuidesToggle<CR> |
238 | 247 | ||
239 | """"""""""""""""""""""""""" | ||
240 | " yanks/registers/clips " | ||
241 | """"""""""""""""""""""""""" | ||
242 | " separate cut and delete | 248 | " separate cut and delete |
243 | nnoremap x d | 249 | nnoremap x d |
244 | xnoremap x d | 250 | xnoremap x d |