Skip to content

Commit

Permalink
adds some hotkeys to wezterm
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Feb 27, 2024
1 parent 0eb1cd5 commit e1ea4f5
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions dot_config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,32 @@ local wezterm = require("wezterm")
local colors = wezterm.color.load_scheme(wezterm.home_dir .. "/.theme/nightfox.nvim/extra/nordfox/wezterm.toml")

return {
window_decorations = "RESIZE",
font = wezterm.font("JetBrains Mono"),
initial_cols = 160,
initial_rows = 45,
colors = colors,
use_fancy_tab_bar = false,
hide_tab_bar_if_only_one_tab = true,
window_decorations = "RESIZE",
font = wezterm.font("JetBrains Mono"),
initial_cols = 160,
initial_rows = 45,
colors = colors,
use_fancy_tab_bar = false,
hide_tab_bar_if_only_one_tab = true,

keys = {
{
key = '"',
mods = "SUPER|SHIFT",
action = wezterm.action.SplitPane({
direction = "Down",
size = { Percent = 30 },
}),
},
{
key = "x",
mods = "SUPER",
action = wezterm.action.PaneSelect({}),
},
{
key = "d",
mods = "SUPER",
action = wezterm.action.CloseCurrentPane({ confirm = false }),
},
},
}

0 comments on commit e1ea4f5

Please sign in to comment.