From 2be3476c750811c28732356aa5c6c5510895940c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 29 Sep 2019 14:40:33 +0300 Subject: vim changes --- .config/nvim/init.vim | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to '.config/nvim') 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' Plug 'dense-analysis/ale' "manages tag files Plug 'ludovicchabant/vim-gutentags' +"run your tests +Plug 'janko/vim-test' "snippet solution Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' @@ -31,16 +33,18 @@ Plug 'bling/vim-airline' " color themes Plug 'lifepillar/vim-solarized8' - -" Plug 'arcticicestudio/nord-vim' -" Plug 'aonemd/kuroi.vim' -" Plug 'ayu-theme/ayu-vim' -" Plug 'lifepillar/vim-gruvbox8' +Plug 'arcticicestudio/nord-vim' +Plug 'aonemd/kuroi.vim' +Plug 'ayu-theme/ayu-vim' +Plug 'lifepillar/vim-gruvbox8' "Personal wiki Plug 'vimwiki/vimwiki' "distraction-free writing Plug 'junegunn/goyo.vim' + +"folding ledger files +Plug 'ledger/vim-ledger' " latex Plug 'lervag/vimtex' @@ -57,8 +61,6 @@ Plug 'machakann/vim-sandwich' " provide additional text objects Plug 'wellle/targets.vim' -"folding ledger files -Plug 'ledger/vim-ledger' "reopen files at your last edit position Plug 'farmergreg/vim-lastplace' "toggle, display and navigate marks @@ -89,6 +91,9 @@ Plug 'tpope/vim-abolish' Plug 'tpope/vim-characterize' "comment helper Plug 'tpope/vim-commentary' +"asynchronous build and test dispatcher +Plug 'tpope/vim-dispatch' + "fancy start screen Plug 'mhinz/vim-startify' @@ -194,6 +199,13 @@ nnoremap :NERDTreeToggle " Fix whole buffer via ALE nmap (ale_fix) +" these "Ctrl mappings" work well when Caps Lock is mapped to Ctrl +nmap t :TestNearest +nmap t :TestFile +nmap t :TestSuite +nmap t :TestLast +nmap t :TestVisit + " New Tab nnoremap :tabnew " Edit vimrc \ev @@ -224,9 +236,6 @@ nnoremap za " map N Nzz " map n nzz -nnoremap d :WebsterSearch(expand('')) -vnoremap d :WebsterSearch(@*) - " checkmarks on vimwiki nmap v VimwikiToggleListItem @@ -236,9 +245,6 @@ nnoremap ' ` nmap i :IndentGuidesToggle -""""""""""""""""""""""""""" -" yanks/registers/clips " -""""""""""""""""""""""""""" " separate cut and delete nnoremap x d xnoremap x d -- cgit v1.2.3-70-g09d2