mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(niri): XF86 keysym actions
This commit is contained in:
parent
40f9eeed47
commit
73c6e134ad
11 changed files with 478 additions and 306 deletions
|
|
@ -13,9 +13,10 @@ Remote | Git Branch | Diagnostics | Command | | MID | | Line:Column | Indent | E
|
|||
-- Config
|
||||
local config = {
|
||||
options = {
|
||||
disabled_filetypes = {
|
||||
statusline = { "NvimTree", "alpha", "grug-far", "snacks_dashboard", "Avante", "AvanteInput" },
|
||||
},
|
||||
-- While setting globalstatus, always enable lualine
|
||||
-- disabled_filetypes = {
|
||||
-- statusline = { "NvimTree", "alpha", "grug-far", "snacks_dashboard", "Avante", "AvanteInput", "neo-tree" },
|
||||
-- },
|
||||
-- Disable sections and component separators
|
||||
component_separators = { left = "", right = "" },
|
||||
section_separators = { left = "", right = "" },
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue