feat(niri): XF86 keysym actions

This commit is contained in:
js0ny 2025-11-11 04:33:45 +00:00
parent 40f9eeed47
commit 73c6e134ad
11 changed files with 478 additions and 306 deletions

View file

@ -79,11 +79,63 @@ return {
},
-- fill any relevant options here
filesystem = {
filtered_items = {
visible = false,
hide_dotfiles = true,
hide_gitignored = true,
hide_ignored = true,
ignore_files = {
".neotreeignore",
".ignore",
},
hide_hidden = true, -- Windows
hide_by_name = {
"node_modules",
},
always_show = {
".gitignore",
},
always_show_by_pattern = {
".env",
},
never_show = {
".DS_Store",
"thumbs.db",
},
},
group_empty_dirs = true,
follow_current_file = {
enabled = true,
leave_dirs_open = true,
},
},
git_status = {
window = {
position = "float",
mappings = {
["A"] = "git_add_all",
["gu"] = "git_unstage_file",
["gU"] = "git_undo_last_commit",
["ga"] = "git_add_file",
["gr"] = "git_revert_file",
["gc"] = "git_commit",
["gp"] = "git_push",
["gg"] = "git_commit_and_push",
["o"] = {
"show_help",
nowait = false,
config = { title = "Order by", prefix_key = "o" },
},
["oc"] = { "order_by_created", nowait = false },
["od"] = { "order_by_diagnostics", nowait = false },
["om"] = { "order_by_modified", nowait = false },
["on"] = { "order_by_name", nowait = false },
["os"] = { "order_by_size", nowait = false },
["ot"] = { "order_by_type", nowait = false },
},
},
},
},
keys = {
{