Skip to content

Commit 0b027a8

Browse files
committed
feat(zsh): update snacks mappings
1 parent 59ba9ce commit 0b027a8

1 file changed

Lines changed: 39 additions & 1 deletion

File tree

  • home/dot_config/exact_nvim/exact_lua/exact_specs

home/dot_config/exact_nvim/exact_lua/exact_specs/snacks.lua

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,53 @@ Plugin.opts = {
6262
hidden = true,
6363
},
6464
explorer = {
65-
focus = 'list',
6665
ignored = true,
6766
hidden = true,
6867
git_untracked = true,
68+
follow_file = false,
6969
win = {
7070
list = {
7171
keys = {
72+
-- Navigation
73+
['h'] = 'explorer_close',
74+
['l'] = 'confirm',
75+
['<CR>'] = 'confirm',
76+
['<BS>'] = 'explorer_up',
77+
78+
-- Selection
79+
['<Space>'] = 'select_and_next',
80+
81+
-- File Operations
82+
['c'] = 'explorer_add',
83+
['r'] = 'explorer_rename',
84+
['y'] = { 'explorer_yank', mode = { 'n', 'x' } },
85+
['d'] = 'explorer_move',
86+
['D'] = 'explorer_del',
87+
['p'] = 'explorer_paste',
88+
['o'] = 'explorer_open',
89+
90+
-- Disabled defaults
91+
['a'] = false,
92+
['m'] = false,
93+
['u'] = false,
94+
['P'] = false,
95+
['H'] = false,
96+
['I'] = false,
97+
['Z'] = false,
98+
['.'] = false,
99+
['<C-c>'] = false,
100+
['<C-t>'] = false,
101+
['<leader>/'] = false,
72102
['/'] = false,
73103
['?'] = false,
104+
[']g'] = false,
105+
['[g'] = false,
106+
[']d'] = false,
107+
['[d'] = false,
108+
[']w'] = false,
109+
['[w'] = false,
110+
[']e'] = false,
111+
['[e'] = false,
74112
},
75113
},
76114
},

0 commit comments

Comments
 (0)