neovim conf part 8, now with snacks and mini
This commit is contained in:
parent
36c7c39213
commit
bbd1f9f7c1
13 changed files with 208 additions and 127 deletions
|
@ -5,3 +5,10 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
|||
vim.highlight.on_yank()
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "MiniFilesActionRename",
|
||||
callback = function(event)
|
||||
require('snacks').rename.on_rename_file(event.data.from, event.data.to)
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue