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