From 5273c910718edddcdfa5f5ea5596cf429b6f041c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 6 Jul 2020 12:47:51 +0300 Subject: tracking nvim --- .config/nvim/init.vim | 33 ++++++++++++++++++++------------- 1 file 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') " latex " had to move vimtex to top to avoid a difficult error Plug 'lervag/vimtex' +" Vimscript debugger +" Plug 'vim-scripts/Decho' + " completion, 'lsp' and coding {{{ " " completion framework @@ -20,16 +23,18 @@ Plug 'ludovicchabant/vim-gutentags' Plug 'janko/vim-test' " type in file send to repl Plug 'jpalardy/vim-slime' - -" }}} completion, 'lsp' and such " - -" language packs -Plug 'sheerun/vim-polyglot' - " snippets to expand Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' " autopair plugin Plug 'tmsvg/pear-tree' +" language packs +Plug 'sheerun/vim-polyglot' +" git diff in the sign column +Plug 'airblade/vim-gitgutter' +" completion preview of floating window +Plug 'ncm2/float-preview.nvim' + +" }}} completion, 'lsp' and such " " heresy {{{ " @@ -82,13 +87,13 @@ Plug 'lfv89/vim-interestingwords' Plug 'machakann/vim-swap' " jump to location by 2 characters, ` Plug 'justinmk/vim-sneak' +" reopen files at your last edit position +Plug 'farmergreg/vim-lastplace' +" flash cursor on jump +Plug 'DanilaMihailov/beacon.nvim' " }}} movement, editing " -" reopen files at your last edit position -Plug 'farmergreg/vim-lastplace' -" git diff in the sign column -Plug 'airblade/vim-gitgutter' " Conflict merger, learn how to use this Plug 'christoomey/vim-conflicted' @@ -121,7 +126,8 @@ Plug 'tpope/vim-characterize' Plug 'tpope/vim-commentary' " asynchronous build and test dispatcher Plug 'tpope/vim-dispatch' - +" continuously updated session files +Plug 'tpope/vim-obsession' " }}} tpope " " fancy start screen @@ -151,6 +157,7 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/bin/sentences " TODO: this will get supported on nvim 0.5.0 +" TODO: this too https://www.reddit.com/r/neovim/comments/gxcbui/in_built_lsp_is_amazing/ " augroup highlight_yank " autocmd! " autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank("IncSearch", 1000) @@ -208,6 +215,7 @@ let g:clipboard = { " Use deoplete. let g:deoplete#enable_at_startup = 1 +let g:deoplete#sources#biblatex#bibfile = '~/.local/share/vim_biblatex.bib' " interact with system clipboard set clipboard+=unnamedplus @@ -460,8 +468,6 @@ let g:startify_custom_header = "{{{ vimwiki let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html', - \ 'auto_diary_index': 1, - \ 'auto_generate_links': 1, \ 'auto_generate_tags': 1, \ 'automatic_nested_syntaxes': 1, \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates', @@ -470,6 +476,7 @@ let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', \ 'auto_export': 1, \ 'auto_tags': 1}] let g:vimwiki_global_ext = 0 +let g:vimwiki_hl_headers = 1 "}}} " {{{ vimtex -- cgit v1.2.3-70-g09d2