Skip to content

Commit c5cf314

Browse files
committed
updated wezterm config
1 parent 7b8030a commit c5cf314

File tree

2 files changed

+50
-6
lines changed

2 files changed

+50
-6
lines changed

dotfiles/config/wezterm/wezterm.lua

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local action = wezterm.action
88
-- For example, changing the color scheme:
99
config.color_scheme = 'Catppuccin Frappe'
1010
config.font = wezterm.font 'JetBrainsMono Nerd Font Mono'
11-
config.font_size = 18
11+
config.font_size = 16
1212

1313
config.hide_tab_bar_if_only_one_tab = true
1414

@@ -28,7 +28,7 @@ config.keys = {
2828
},
2929
{
3030
key = 'w',
31-
mods = 'CTRL',
31+
mods = 'CMD',
3232
action = action.CloseCurrentPane { confirm = false }
3333
},
3434
-- swtiching
@@ -144,9 +144,53 @@ config.keys = {
144144
mods = 'SHIFT',
145145
action = action.ScrollToBottom
146146
},
147-
-- links
148-
149-
147+
-- fonts
148+
{
149+
key = '=',
150+
mods = 'CMD|SHIFT',
151+
action = action.IncreaseFontSize
152+
},
153+
{
154+
key = '-',
155+
mods = 'CMD|SHIFT',
156+
action = action.DecreaseFontSize
157+
},
158+
{
159+
key = '0',
160+
mods = 'CMD|SHIFT',
161+
action = action.ResetFontSize
162+
},
163+
-- line editing/movement
164+
{
165+
key = 'Backspace',
166+
mods = 'ALT',
167+
action = action.SendKey { key = 'w', mods = 'CTRL' }
168+
},
169+
{
170+
key = 'LeftArrow',
171+
mods = 'ALT',
172+
action = action.SendKey { key = 'B', mods = 'CTRL' }
173+
},
174+
{
175+
key = 'RightArrow',
176+
mods = 'ALT',
177+
action = action.SendKey { key = 'F', mods = 'CTRL' }
178+
},
179+
{
180+
key = 'LeftArrow',
181+
mods = 'CMD',
182+
action = action.SendKey { key = 'A', mods = 'CTRL' }
183+
},
184+
{
185+
key = 'RightArrow',
186+
mods = 'CMD',
187+
action = action.SendKey { key = 'E', mods = 'CTRL' }
188+
},
189+
-- {
190+
-- key = 'z',
191+
-- mods = 'CMD',
192+
-- action = action.SendKey { key = 'x+u', mods = 'CTRL' }
193+
-- },
150194

151195
}
152196

vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
//
104104
"workbench.editor.closeOnFileDelete": true,
105105
"workbench.editor.revealIfOpen": true,
106-
"workbench.iconTheme": "catppuccin-frappe",
106+
"workbench.iconTheme": "catppuccin-latte",
107107
"workbench.list.openMode": "singleClick",
108108
"workbench.preferredDarkColorTheme": "Catppuccin Frappé",
109109
"workbench.preferredLightColorTheme": "Catppuccin Latte",

0 commit comments

Comments
 (0)