summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/nvim/init.vim33
1 files changed, 20 insertions, 13 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c95114c..098c533 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -4,6 +4,9 @@ call plug#begin('~/.local/share/nvim/plugged')
4" latex " had to move vimtex to top to avoid a difficult error 4" latex " had to move vimtex to top to avoid a difficult error
5Plug 'lervag/vimtex' 5Plug 'lervag/vimtex'
6 6
7" Vimscript debugger
8" Plug 'vim-scripts/Decho'
9
7" completion, 'lsp' and coding {{{ " 10" completion, 'lsp' and coding {{{ "
8 11
9" completion framework 12" completion framework
@@ -20,16 +23,18 @@ Plug 'ludovicchabant/vim-gutentags'
20Plug 'janko/vim-test' 23Plug 'janko/vim-test'
21" type in file send to repl 24" type in file send to repl
22Plug 'jpalardy/vim-slime' 25Plug 'jpalardy/vim-slime'
23
24" }}} completion, 'lsp' and such "
25
26" language packs
27Plug 'sheerun/vim-polyglot'
28
29" snippets to expand 26" snippets to expand
30Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' 27Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
31" autopair plugin 28" autopair plugin
32Plug 'tmsvg/pear-tree' 29Plug 'tmsvg/pear-tree'
30" language packs
31Plug 'sheerun/vim-polyglot'
32" git diff in the sign column
33Plug 'airblade/vim-gitgutter'
34" completion preview of floating window
35Plug 'ncm2/float-preview.nvim'
36
37" }}} completion, 'lsp' and such "
33 38
34" heresy {{{ " 39" heresy {{{ "
35 40
@@ -82,13 +87,13 @@ Plug 'lfv89/vim-interestingwords'
82Plug 'machakann/vim-swap' 87Plug 'machakann/vim-swap'
83" jump to location by 2 characters, ` 88" jump to location by 2 characters, `
84Plug 'justinmk/vim-sneak' 89Plug 'justinmk/vim-sneak'
90" reopen files at your last edit position
91Plug 'farmergreg/vim-lastplace'
92" flash cursor on jump
93Plug 'DanilaMihailov/beacon.nvim'
85 94
86" }}} movement, editing " 95" }}} movement, editing "
87 96
88" reopen files at your last edit position
89Plug 'farmergreg/vim-lastplace'
90" git diff in the sign column
91Plug 'airblade/vim-gitgutter'
92" Conflict merger, learn how to use this 97" Conflict merger, learn how to use this
93Plug 'christoomey/vim-conflicted' 98Plug 'christoomey/vim-conflicted'
94 99
@@ -121,7 +126,8 @@ Plug 'tpope/vim-characterize'
121Plug 'tpope/vim-commentary' 126Plug 'tpope/vim-commentary'
122" asynchronous build and test dispatcher 127" asynchronous build and test dispatcher
123Plug 'tpope/vim-dispatch' 128Plug 'tpope/vim-dispatch'
124 129" continuously updated session files
130Plug 'tpope/vim-obsession'
125" }}} tpope " 131" }}} tpope "
126 132
127" fancy start screen 133" fancy start screen
@@ -151,6 +157,7 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/bin/sentences
151 157
152 158
153" TODO: this will get supported on nvim 0.5.0 159" TODO: this will get supported on nvim 0.5.0
160" TODO: this too https://www.reddit.com/r/neovim/comments/gxcbui/in_built_lsp_is_amazing/
154" augroup highlight_yank 161" augroup highlight_yank
155" autocmd! 162" autocmd!
156" autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank("IncSearch", 1000) 163" autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank("IncSearch", 1000)
@@ -208,6 +215,7 @@ let g:clipboard = {
208 215
209" Use deoplete. 216" Use deoplete.
210let g:deoplete#enable_at_startup = 1 217let g:deoplete#enable_at_startup = 1
218let g:deoplete#sources#biblatex#bibfile = '~/.local/share/vim_biblatex.bib'
211 219
212" interact with system clipboard 220" interact with system clipboard
213set clipboard+=unnamedplus 221set clipboard+=unnamedplus
@@ -460,8 +468,6 @@ let g:startify_custom_header =
460"{{{ vimwiki 468"{{{ vimwiki
461let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', 469let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text',
462 \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html', 470 \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html',
463 \ 'auto_diary_index': 1,
464 \ 'auto_generate_links': 1,
465 \ 'auto_generate_tags': 1, 471 \ 'auto_generate_tags': 1,
466 \ 'automatic_nested_syntaxes': 1, 472 \ 'automatic_nested_syntaxes': 1,
467 \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates', 473 \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates',
@@ -470,6 +476,7 @@ let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text',
470 \ 'auto_export': 1, 476 \ 'auto_export': 1,
471 \ 'auto_tags': 1}] 477 \ 'auto_tags': 1}]
472let g:vimwiki_global_ext = 0 478let g:vimwiki_global_ext = 0
479let g:vimwiki_hl_headers = 1
473"}}} 480"}}}
474 481
475" {{{ vimtex 482" {{{ vimtex