summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2021-10-06 02:27:06 +0300
committerYigit Sever2021-10-06 02:27:06 +0300
commita489f11c2befa6013f427daf2b36fde84a17a318 (patch)
tree045a4966a7c44d8e6d79099273b8d172776c7c6c /.config
parenta327905a56eb969232d89d4a73f1e692c24df7f3 (diff)
downloaddotfiles-a489f11c2befa6013f427daf2b36fde84a17a318.tar.gz
dotfiles-a489f11c2befa6013f427daf2b36fde84a17a318.tar.bz2
dotfiles-a489f11c2befa6013f427daf2b36fde84a17a318.zip
nvim: higlighted yank
Diffstat (limited to '.config')
-rwxr-xr-x.config/nvim/init.vim11
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'
30Plug 'jpalardy/vim-slime' 30Plug 'jpalardy/vim-slime'
31" snippets to expand 31" snippets to expand
32Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' 32Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
33" Highlight the yanked region
34Plug 'machakann/vim-highlightedyank'
35
33" auto pair plugin, people hate these 36" auto pair plugin, people hate these
34Plug 'tmsvg/pear-tree' 37Plug '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.
182autocmd VimLeave *.tex !texclear % 185autocmd 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 {{{