add ability to yank full filepath in oil buffer with ctrl-y
This commit is contained in:
@@ -104,7 +104,6 @@ local file_specific = {
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
-- buffer specifc config
|
|
||||||
vim.api.nvim_create_autocmd('BufEnter', {
|
vim.api.nvim_create_autocmd('BufEnter', {
|
||||||
callback = function()
|
callback = function()
|
||||||
do
|
do
|
||||||
@@ -179,6 +178,7 @@ require'lazy'.setup{ --{{{1
|
|||||||
watch_for_changes = false,
|
watch_for_changes = false,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
['g?'] = { 'actions.show_help', mode = 'n' },
|
['g?'] = { 'actions.show_help', mode = 'n' },
|
||||||
|
['<C-y>'] = { 'actions.yank_entry', mode = 'n' },
|
||||||
['<CR>'] = 'actions.select',
|
['<CR>'] = 'actions.select',
|
||||||
['<C-v>'] = { 'actions.select', opts = { vertical = true } },
|
['<C-v>'] = { 'actions.select', opts = { vertical = true } },
|
||||||
['<C-s>'] = { 'actions.select', opts = { horizontal = true } },
|
['<C-s>'] = { 'actions.select', opts = { horizontal = true } },
|
||||||
|
|||||||
Reference in New Issue
Block a user