Add mapping for toggling ignored folders visibility.

This commit is contained in:
Kristijan Husak
2020-07-17 10:25:01 +02:00
parent 20f39a951a
commit 4f86707051
6 changed files with 33 additions and 17 deletions

View File

@@ -45,6 +45,10 @@ function M.on_keypress(mode)
return lib.open_file(mode, node.absolute_path)
end
if mode == 'toggle_ignored' then
return lib.toggle_ignored()
end
if node.name == ".." then
return lib.change_dir("..")
elseif mode == "cd" and node.entries ~= nil then