Skip to content

Commit 50d5f8c

Browse files
committed
fix separator insert mode keymap
1 parent 73c0fe1 commit 50d5f8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/dired/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,8 @@ local function create_shortcut_manager()
701701
pool = vim.split(Config.shortcuts, '')
702702
if api.nvim_buf_is_valid(state.buf) then
703703
api.nvim_buf_clear_namespace(state.buf, ns_mark, 0, -1)
704+
else
705+
api.nvim_feedkeys(SEPARATOR, 'n', false)
704706
end
705707
end,
706708
assign = function(state, row)

0 commit comments

Comments
 (0)