mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat: ghostty
This commit is contained in:
parent
c63e644ac9
commit
587224ef2d
4 changed files with 63 additions and 13 deletions
46
home/dot_config/ghostty/config
Normal file
46
home/dot_config/ghostty/config
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Linux: ~/.config/ghostty/config
|
||||
|
||||
# Not ready
|
||||
|
||||
### Appearance
|
||||
|
||||
font-size = 13
|
||||
# font-family = "Maple Mono NF"
|
||||
theme = light:Catppuccin Latte,dark:Catppuccin Mocha
|
||||
background-opacity = 0.8
|
||||
|
||||
cursor-style = block_hollow
|
||||
cursor-style-blink = true
|
||||
cursor-click-to-move = true
|
||||
cursor-invert-fg-bg = true
|
||||
|
||||
window-decoration = auto
|
||||
|
||||
# title = "👻"
|
||||
|
||||
|
||||
### Commands
|
||||
|
||||
command = fish
|
||||
env = EDITOR=nvim
|
||||
|
||||
### Keybindings
|
||||
|
||||
keybind = performable:ctrl+c=copy_to_clipboard
|
||||
keybind = alt+shift+h=goto_split:left
|
||||
keybind = alt+shift+j=goto_split:bottom
|
||||
keybind = alt+shift+k=goto_split:top
|
||||
keybind = alt+shift+l=goto_split:right
|
||||
keybind = alt+shift+|=new_split:right
|
||||
keybind = alt+shift+_=new_split:down
|
||||
keybind = alt+shift+enter=new_split:auto
|
||||
keybind = global:super+backquote=toggle_quick_terminal
|
||||
keybind = alt+shift+n=new_window
|
||||
|
||||
### Misc
|
||||
|
||||
app-notifications = no-clipboard-copy
|
||||
|
||||
### Reference to:
|
||||
# https://github.com/folke/dot/blob/master/config/ghostty/config
|
||||
# https://github.com/hackr-sh/ghostty-shaders
|
||||
|
|
@ -63,20 +63,22 @@ map ctrl+q>| kitten window.py +split right
|
|||
map ctrl+q>\ kitten window.py +split right
|
||||
map ctrl+q>- kitten window.py +split bottom
|
||||
map ctrl+q>h kitten window.py -jump left
|
||||
map ctrl+q>n kitten window.py -jump bottom
|
||||
map ctrl+q>e kitten window.py -jump top
|
||||
map ctrl+q>i kitten window.py -jump right
|
||||
map ctrl+q>j kitten window.py -jump bottom
|
||||
map ctrl+q>k kitten window.py -jump top
|
||||
map ctrl+q>l kitten window.py -jump right
|
||||
map alt+shift+h kitten window.py -jump left
|
||||
map alt+shift+n kitten window.py -jump bottom
|
||||
map alt+shift+e kitten window.py -jump top
|
||||
map alt+shift+i kitten window.py -jump right
|
||||
map alt+shift+j kitten window.py -jump bottom
|
||||
map alt+shift+k kitten window.py -jump top
|
||||
map alt+shift+l kitten window.py -jump right
|
||||
map ctrl+q>shift+H kitten window.py -resize left
|
||||
map ctrl+q>shift+N kitten window.py -resize bottom
|
||||
map ctrl+q>shift+E kitten window.py -resize top
|
||||
map ctrl+q>shift+I kitten window.py -resize right
|
||||
map ctrl+q>shift+J kitten window.py -resize bottom
|
||||
map ctrl+q>shift+K kitten window.py -resize top
|
||||
map ctrl+q>shift+L kitten window.py -resize right
|
||||
map cmd+enter toggle_layout stack
|
||||
map ctrl+shift+enter toggle_layout stack
|
||||
# }}}
|
||||
|
||||
map f1 launch --type tab --cwd ~/.dotfiles nvim
|
||||
|
||||
|
||||
shell fish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue