@@ -17,8 +17,7 @@ local function get_snacks()
1717end
1818
1919local builtin_map = {
20- -- Command mode tab completion
21- [" c|<tab>" ] = map_cmd (" <C-z>" ):with_noremap ():with_desc (" edit: Command completion" ),
20+ -- Command mode tab completion ["c|<tab>"] = map_cmd("<C-z>"):with_noremap():with_desc("edit: Command completion"),
2221
2322 -- fix stupid typo
2423 [" n|q:" ] = map_cmd (" <Cmd>q<CR>" ):with_noremap ():with_silent ():with_desc (" edit: Quit" ),
@@ -212,10 +211,10 @@ local plug_map = {
212211 [" n|<A-j>" ] = map_cu (" SmartResizeDown" ):with_silent ():with_noremap ():with_desc (" window: Resize -3 down" ),
213212 [" n|<A-k>" ] = map_cu (" SmartResizeUp" ):with_silent ():with_noremap ():with_desc (" window: Resize +3 up" ),
214213 [" n|<A-l>" ] = map_cu (" SmartResizeRight" ):with_silent ():with_noremap ():with_desc (" window: Resize +3 right" ),
215- [" n|<C-h>" ] = map_cu (" SmartCursorMoveLeft " ):with_silent ():with_noremap ():with_desc (" window: Focus left" ),
216- [" n|<C-j>" ] = map_cu (" SmartCursorMoveDown " ):with_silent ():with_noremap ():with_desc (" window: Focus down" ),
217- [" n|<C-k>" ] = map_cu (" SmartCursorMoveUp " ):with_silent ():with_noremap ():with_desc (" window: Focus up" ),
218- [" n|<C-l>" ] = map_cu (" SmartCursorMoveRight " ):with_silent ():with_noremap ():with_desc (" window: Focus right" ),
214+ [" n|<C-h>" ] = map_cu (" wincmd h " ):with_silent ():with_noremap ():with_desc (" window: Focus left" ),
215+ [" n|<C-j>" ] = map_cu (" wincmd j " ):with_silent ():with_noremap ():with_desc (" window: Focus down" ),
216+ [" n|<C-k>" ] = map_cu (" wincmd k " ):with_silent ():with_noremap ():with_desc (" window: Focus up" ),
217+ [" n|<C-l>" ] = map_cu (" wincmd l " ):with_silent ():with_noremap ():with_desc (" window: Focus right" ),
219218 [" n|<leader>wh" ] = map_cu (" SmartSwapLeft" ):with_silent ():with_noremap ():with_desc (" window: Move window left" ),
220219 [" n|<leader>wj" ] = map_cu (" SmartSwapDown" ):with_silent ():with_noremap ():with_desc (" window: Move window down" ),
221220 [" n|<leader>wk" ] = map_cu (" SmartSwapUp" ):with_silent ():with_noremap ():with_desc (" window: Move window up" ),
0 commit comments