config: add ghostty
parent
35c547d93f
commit
4d7961e798
|
@ -31,6 +31,7 @@ go build ./cmd/dot
|
||||||
- [neovim](https://github.com/neovim/neovim)
|
- [neovim](https://github.com/neovim/neovim)
|
||||||
- [kitty](https://github.com/kovidgoyal/kitty)
|
- [kitty](https://github.com/kovidgoyal/kitty)
|
||||||
- [wezterm](https://github.com/wez/wezterm)
|
- [wezterm](https://github.com/wez/wezterm)
|
||||||
|
- [ghostty](https://github.com/ghostty-org/ghostty)
|
||||||
- [fd](https://github.com/sharkdp/fd)
|
- [fd](https://github.com/sharkdp/fd)
|
||||||
- [bat](https://github.com/sharkdp/bat)
|
- [bat](https://github.com/sharkdp/bat)
|
||||||
- [delta](https://github.com/dandavison/delta)
|
- [delta](https://github.com/dandavison/delta)
|
||||||
|
|
|
@ -58,6 +58,10 @@ url = "https://github.com/DinkDonk/kitty-icon/blob/main/kitty-light.icns?raw=tru
|
||||||
internal = "data/wezterm"
|
internal = "data/wezterm"
|
||||||
external = "~/.config/wezterm"
|
external = "~/.config/wezterm"
|
||||||
|
|
||||||
|
[[apps.ghostty.paths]]
|
||||||
|
internal = "data/ghostty"
|
||||||
|
external = "~/.config/ghostty"
|
||||||
|
|
||||||
[[apps.fd.paths]]
|
[[apps.fd.paths]]
|
||||||
internal = "data/fd/.ignore"
|
internal = "data/fd/.ignore"
|
||||||
external = "~/.ignore"
|
external = "~/.ignore"
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
font-family = Iosevka Pacman
|
||||||
|
font-size = 18
|
||||||
|
adjust-cell-height = 20%
|
||||||
|
|
||||||
|
theme = catppuccin-mocha
|
||||||
|
|
||||||
|
cursor-style-blink = false
|
||||||
|
|
||||||
|
background-opacity = 0.95
|
||||||
|
background-blur-radius = 20
|
||||||
|
|
||||||
|
window-padding-x = 16
|
||||||
|
window-padding-y = 16
|
||||||
|
|
||||||
|
clipboard-trim-trailing-spaces = true
|
||||||
|
|
||||||
|
quit-after-last-window-closed = true
|
||||||
|
|
||||||
|
macos-option-as-alt = true
|
||||||
|
|
||||||
|
# Inspire from Zellij
|
||||||
|
keybind = alt+n=new_split:right
|
||||||
|
keybind = alt+m=new_split:down
|
||||||
|
keybind = alt+p=goto_split:next
|
||||||
|
keybind = alt+[=previous_tab
|
||||||
|
keybind = alt+]=next_tab
|
|
@ -38,7 +38,7 @@ tab_powerline_style round
|
||||||
|
|
||||||
# https://sw.kovidgoyal.net/kitty/conf/#color-scheme
|
# https://sw.kovidgoyal.net/kitty/conf/#color-scheme
|
||||||
background_opacity 0.95
|
background_opacity 0.95
|
||||||
background_blur 32
|
background_blur 20
|
||||||
|
|
||||||
# https://sw.kovidgoyal.net/kitty/conf/#advanced
|
# https://sw.kovidgoyal.net/kitty/conf/#advanced
|
||||||
allow_remote_control yes
|
allow_remote_control yes
|
||||||
|
@ -53,10 +53,8 @@ macos_quit_when_last_window_closed yes
|
||||||
action_alias launch_tab launch --cwd=oldest --type=tab --location=neighbor
|
action_alias launch_tab launch --cwd=oldest --type=tab --location=neighbor
|
||||||
map kitty_mod+t launch_tab
|
map kitty_mod+t launch_tab
|
||||||
map super+t launch_tab
|
map super+t launch_tab
|
||||||
map kitty_mod+e open_url_with_hints
|
|
||||||
map super+e open_url_with_hints
|
|
||||||
|
|
||||||
# Sync with Zellij
|
# Inspire from Zellij
|
||||||
map alt+n launch --cwd=oldest --location=vsplit
|
map alt+n launch --cwd=oldest --location=vsplit
|
||||||
map alt+m launch --cwd=oldest --location=hsplit
|
map alt+m launch --cwd=oldest --location=hsplit
|
||||||
map alt+p next_window
|
map alt+p next_window
|
||||||
|
|
|
@ -51,7 +51,7 @@ return {
|
||||||
tab_max_width = 24,
|
tab_max_width = 24,
|
||||||
|
|
||||||
window_background_opacity = 0.95,
|
window_background_opacity = 0.95,
|
||||||
macos_window_background_blur = 32,
|
macos_window_background_blur = 20,
|
||||||
|
|
||||||
native_macos_fullscreen_mode = true,
|
native_macos_fullscreen_mode = true,
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ return {
|
||||||
mods = "CTRL|SHIFT",
|
mods = "CTRL|SHIFT",
|
||||||
action = act.ActivateTabRelative(1),
|
action = act.ActivateTabRelative(1),
|
||||||
},
|
},
|
||||||
-- Sync with Zellij
|
-- Inspire from Zellij
|
||||||
{
|
{
|
||||||
key = "n",
|
key = "n",
|
||||||
mods = "ALT",
|
mods = "ALT",
|
||||||
|
|
Loading…
Reference in New Issue