-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_wezterm.lua
57 lines (55 loc) · 1.41 KB
/
dot_wezterm.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
local wezterm = require("wezterm")
local act = wezterm.action
local config = wezterm.config_builder()
config.default_prog = { "/Users/lefteris/.nix-profile/bin/tmux" }
config.keys = {
{ key = "f", mods = "LEADER", action = wezterm.action({ Search = { CaseInSensitiveString = "" } }) },
-- Add these to your existing keys
{
key = "UpArrow",
mods = "SHIFT",
action = act.ScrollByPage(-1), -- Scroll up one page
},
{
key = "DownArrow",
mods = "SHIFT",
action = act.ScrollByPage(1), -- Scroll down one page
},
-- Search key
{
key = "f",
mods = "CMD",
action = act.Search({ CaseInSensitiveString = "" }),
},
-- Vertical split
{
key = "]",
mods = "CMD",
action = act.SplitVertical({ domain = "CurrentPaneDomain" }),
},
-- Disable CMD+W default
{
key = "w",
mods = "CMD",
action = "DisableDefaultAssignment",
},
-- Horizontal split
{
key = ":",
mods = "CMD",
action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
}
-- Rest of your configuration remains the same
config.font = wezterm.font("JetBrains Mono")
config.hide_mouse_cursor_when_typing = false
config.font_size = 12
config.enable_tab_bar = false
config.audible_bell = "Disabled"
config.scrollback_lines = 10000
config.window_decorations = "RESIZE"
config.window_background_opacity = 1
config.macos_window_background_blur = 8
config.color_scheme = "Catppuccin Mocha"
-- config.disable_default_key_bindings = true
return config