new neovim configs
This commit is contained in:
parent
1bf7a8bee0
commit
1898ac5c10
20 changed files with 466 additions and 110 deletions
|
|
@ -42,3 +42,19 @@ vim.opt.termguicolors = true -- good shit, just take it
|
|||
|
||||
-- activate persistent undo
|
||||
vim.opt.undofile = true
|
||||
|
||||
|
||||
-- [[ highlight on yank ]]
|
||||
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highligh_group,
|
||||
pattern = '*',
|
||||
})
|
||||
|
||||
|
||||
vim.opt.completeopt = 'menuone,noselect'
|
||||
|
||||
vim.opt.breakindent = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue