Skip to content

Commit

Permalink
wezterm
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuga-Tsukui committed Mar 28, 2024
1 parent 16cdaf4 commit 939872f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .chezmoidata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
packages:
darwin:
taps:
- 'homebrew/cask-versions'
- 'homebrew/cask-fonts'
brews:
- 'gh'
Expand All @@ -11,7 +12,7 @@ packages:
- 'zsh-autosuggestions'
- 'zsh-completions'
casks:
- 'alacritty'
- 'wezterm-nightly'
- 'font-cousine-nerd-font'
- 'font-fira-code-nerd-font'

40 changes: 40 additions & 0 deletions dot_wezterm.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
local wezterm = require("wezterm")

local config = wezterm.config_builder()

config.font = wezterm.font("FiraCode Nerd Font")
config.font_size = 16.0
config.window_background_opacity = 0.6

-- config.default_prog = {"/bin/zsh", "-l", "-c", "`tmux attach -t 0 || tmux`"}

local act = wezterm.action
config.keys = {
{
key = "LeftArrow",
mods = "CMD",
action = act.SendKey {
key = "b",
mods = "META",
},
},
{
key = "RightArrow",
mods = "CMD",
action = act.SendKey {
key = "f",
mods = "META",
},
},
{
key = 'Backspace',
mods = 'CTRL',
action = act.SendKey {
key = 'w',
mods = 'CTRL',
}

},
}

return config

0 comments on commit 939872f

Please sign in to comment.