add ability to yank full filepath in oil buffer with ctrl-y

This commit is contained in:
Ivar Fatland
2025-09-27 11:59:22 +02:00
parent 19d7feab41
commit 2cc3a1fbee
+1 -1
View File
@@ -104,7 +104,6 @@ local file_specific = {
end
}
-- buffer specifc config
vim.api.nvim_create_autocmd('BufEnter', {
callback = function()
do
@@ -179,6 +178,7 @@ require'lazy'.setup{ --{{{1
watch_for_changes = false,
keymaps = {
['g?'] = { 'actions.show_help', mode = 'n' },
['<C-y>'] = { 'actions.yank_entry', mode = 'n' },
['<CR>'] = 'actions.select',
['<C-v>'] = { 'actions.select', opts = { vertical = true } },
['<C-s>'] = { 'actions.select', opts = { horizontal = true } },