mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-07 19:44:58 +02:00
nvim config
This commit is contained in:
parent
56b9114bf2
commit
2234b188fb
23 changed files with 1810 additions and 920 deletions
14
lua/colinzhao/init.lua
Normal file
14
lua/colinzhao/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'colinzhao.set'
|
||||
require 'colinzhao.remap'
|
||||
require 'colinzhao.lazy_init'
|
||||
|
||||
-- Highlight when yanking (copying) text
|
||||
-- Try it with `yap` in normal mode
|
||||
-- See `:help vim.highlight.on_yank()`
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
desc = 'Highlight when yanking (copying) text',
|
||||
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue