fix(smart-splits): fix inconsistencies in smart-splits plugin
This commit is contained in:
@@ -16,7 +16,7 @@ SMART_SPLITS.apply_to_config(CONFIG, {
|
|||||||
},
|
},
|
||||||
-- modifier keys to combine with direction_keys
|
-- modifier keys to combine with direction_keys
|
||||||
modifiers = {
|
modifiers = {
|
||||||
move = "CTRL|SHIFT", -- modifier to use for pane movement
|
move = "CTRL", -- modifier to use for pane movement
|
||||||
resize = "ALT", -- modifier to use for pane resize
|
resize = "ALT", -- modifier to use for pane resize
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
+18
-1
@@ -38,10 +38,27 @@ require("encryption")
|
|||||||
-- Load Menus
|
-- Load Menus
|
||||||
CONFIG.launch_menu = require("menus")
|
CONFIG.launch_menu = require("menus")
|
||||||
|
|
||||||
|
-- Load Smart-Splits plugin
|
||||||
|
SMART_SPLITS = WEZTERM.plugin.require("https://github.com/mrjones2014/smart-splits.nvim")
|
||||||
|
|
||||||
|
-- Apply Smart-Splits configuration
|
||||||
|
SMART_SPLITS.apply_to_config(CONFIG, {
|
||||||
|
-- directional keys to use in order of: left, down, up, right
|
||||||
|
direction_keys = {
|
||||||
|
move = { "h", "j", "k", "l" }, -- Move with CTRL+H, CTRL+J, CTRL+K, CTRL+L
|
||||||
|
resize = { "h", "j", "k", "l" }, -- Resize with ALT+h, ALT+j, ALT+k, ALT+l
|
||||||
|
},
|
||||||
|
-- modifier keys to combine with direction_keys
|
||||||
|
modifiers = {
|
||||||
|
move = "CTRL", -- modifier to use for pane movement
|
||||||
|
resize = "ALT", -- modifier to use for pane resize
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
--------- Update Plugins ----------
|
--------- Update Plugins ----------
|
||||||
---Running this may cause slowdowns
|
---Running this may cause slowdowns
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
-- WEZTERM.plugin.update_all() ----
|
--WEZTERM.plugin.update_all() ----
|
||||||
-- print(WEZTERM.plugin.list())
|
-- print(WEZTERM.plugin.list())
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user