diff options
| -rwxr-xr-x | .config/nvim/init.vim | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b6a8acf..ba546d6 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
| @@ -30,6 +30,9 @@ Plug 'janko/vim-test' | |||
| 30 | Plug 'jpalardy/vim-slime' | 30 | Plug 'jpalardy/vim-slime' |
| 31 | " snippets to expand | 31 | " snippets to expand |
| 32 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' | 32 | Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' |
| 33 | " Highlight the yanked region | ||
| 34 | Plug 'machakann/vim-highlightedyank' | ||
| 35 | |||
| 33 | " auto pair plugin, people hate these | 36 | " auto pair plugin, people hate these |
| 34 | Plug 'tmsvg/pear-tree' | 37 | Plug 'tmsvg/pear-tree' |
| 35 | " language packs | 38 | " language packs |
| @@ -180,14 +183,6 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/.local/bin/sen | |||
| 180 | 183 | ||
| 181 | " runs a script that cleans out tex build files whenever I close out of a .tex file. | 184 | " runs a script that cleans out tex build files whenever I close out of a .tex file. |
| 182 | autocmd VimLeave *.tex !texclear % | 185 | autocmd VimLeave *.tex !texclear % |
| 183 | |||
| 184 | " TODO: this will get supported on nvim 0.5.0 | ||
| 185 | " TODO: this too https://www.reddit.com/r/neovim/comments/gxcbui/in_built_lsp_is_amazing/ | ||
| 186 | " augroup highlight_yank | ||
| 187 | " autocmd! | ||
| 188 | " autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank("IncSearch", 1000) | ||
| 189 | " augroup END | ||
| 190 | |||
| 191 | "}}} | 186 | "}}} |
| 192 | 187 | ||
| 193 | " Functions {{{ | 188 | " Functions {{{ |
