feat: yanked region flash

This commit is contained in:
2024-05-28 00:09:59 +02:00
parent 6d5fc8b9e0
commit f7f6b22b77
2 changed files with 29 additions and 25 deletions

View File

@@ -1,9 +1,13 @@
vim.api.nvim_create_autocmd({ 'FileType' }, {
pattern = { '*.yaml' },
command = 'setlocal ts=2 sts=2 sw=2 expandtab indentkeys-=0# indentkeys-=<:>'
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "*.yaml" },
command = "setlocal ts=2 sts=2 sw=2 expandtab indentkeys-=0# indentkeys-=<:>",
})
vim.api.nvim_create_autocmd({ 'FileType' }, {
pattern = { 'netrw' },
command = 'nnoremap <buffer> <C-l> <Cmd> TmuxNavigateRight<CR>'
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "netrw" },
command = "nnoremap <buffer> <C-l> <Cmd> TmuxNavigateRight<CR>",
})
vim.api.nvim_create_autocmd({ "TextYankPost" }, {
command = "lua vim.highlight.on_yank {higroup='Visual',timeout=250}",
})