We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50d5f8c commit 4b54f57Copy full SHA for 4b54f57
1 file changed
lua/dired/init.lua
@@ -701,8 +701,6 @@ local function create_shortcut_manager()
701
pool = vim.split(Config.shortcuts, '')
702
if api.nvim_buf_is_valid(state.buf) then
703
api.nvim_buf_clear_namespace(state.buf, ns_mark, 0, -1)
704
- else
705
- api.nvim_feedkeys(SEPARATOR, 'n', false)
706
end
707
end,
708
assign = function(state, row)
@@ -1448,6 +1446,8 @@ Browser.setup = function(state)
1448
1446
local search_path = PathOps.getSearchPath(state) .. SEPARATOR
1449
1447
if PathOps.isDirectory(search_path) then
1450
Actions.openDirectory(state, search_path).run()
+ else
+ api.nvim_feedkeys(SEPARATOR, 'n', false)
1451
1452
1453
},
0 commit comments