More plugin configuration
This commit is contained in:
@@ -32,4 +32,13 @@ vim.api.nvim_create_autocmd('TextChanged', {
|
||||
command = 'silent! wa', -- Save all files when text is changed
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "OilActionsPost",
|
||||
callback = function(event)
|
||||
if event.data.actions.type == "move" then
|
||||
Snacks.rename.on_rename_file(event.data.actions.src_url, event.data.actions.dest_url)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
require('helpers').edit_cf('a', '/lua/autocmd.lua')
|
||||
|
||||
Reference in New Issue
Block a user