mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-04-16 12:19:09 +00:00
wezterm: update plugin and keys config
This commit is contained in:
parent
7f81615b0a
commit
78efab2b19
@ -90,8 +90,8 @@ function module.apply_to_config(config)
|
||||
-- More pane-related niceties.
|
||||
{ key = "f", mods = "LEADER", action = act.TogglePaneZoomState },
|
||||
{ key = "f", mods = keymod, action = act.TogglePaneZoomState },
|
||||
{ key = "n", mods = "LEADER", action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }) },
|
||||
{ key = "n", mods = keymod, action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }) },
|
||||
{ key = "n", mods = "LEADER", action = act.SplitPane({ direction = "Right", size = { Percent = 37 } }) },
|
||||
{ key = "n", mods = keymod, action = act.SplitPane({ direction = "Right", size = { Percent = 37 } }) },
|
||||
{ key = "n", mods = alt_keymod, action = act.SplitVertical({ domain = "CurrentPaneDomain" }) },
|
||||
{ key = "d", mods = keymod, action = act.CloseCurrentPane({ confirm = false }) },
|
||||
|
||||
|
@ -1,21 +1,37 @@
|
||||
local config = require("wezterm").config_builder()
|
||||
config:set_strict_mode(true)
|
||||
|
||||
|
||||
require("config/events").apply_to_config(config)
|
||||
require("config/base").apply_to_config(config)
|
||||
require("config/keys").apply_to_config(config)
|
||||
require("config/appearance").apply_to_config(config)
|
||||
require("config/mux_server").apply_to_config(config)
|
||||
|
||||
local smart_splits = require("wezterm").plugin.require("https://github.com/mrjones2014/smart-splits.nvim")
|
||||
smart_splits.apply_to_config(config, {
|
||||
direction_keys = { 'h', 'j', 'k', 'l' },
|
||||
modifiers = {
|
||||
move = 'CTRL',
|
||||
resize = 'META',
|
||||
},
|
||||
log_level = 'info',
|
||||
})
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
wezterm.plugin
|
||||
.require("https://github.com/mikkasendke/sessionizer.wezterm")
|
||||
.apply_to_config(config)
|
||||
|
||||
wezterm.plugin
|
||||
.require("https://github.com/mrjones2014/smart-splits.nvim")
|
||||
.apply_to_config(config, {
|
||||
direction_keys = { 'h', 'j', 'k', 'l' },
|
||||
modifiers = {
|
||||
move = 'CTRL',
|
||||
resize = 'META',
|
||||
},
|
||||
log_level = 'info',
|
||||
})
|
||||
|
||||
wezterm.plugin
|
||||
.require("https://github.com/yriveiro/wezterm-status")
|
||||
.apply_to_config(config, {
|
||||
cells = {
|
||||
battery = { enabled = true },
|
||||
date = { format = "%F %M:%h" },
|
||||
mode = { enabled = true },
|
||||
},
|
||||
})
|
||||
|
||||
return config
|
||||
|
Loading…
Reference in New Issue
Block a user