blob: e480b9d2a9f582f355815bc27ba7103da2e08c41 (
plain) (
blame)
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
|
# Run `ghostty +show-config --default --docs` to view a list of
# all available config options and their default values.
#
# Each config option is also explained in detail on Ghostty's website,
# at https://ghostty.org/docs/config.
theme = nord
command = zsh
shell-integration = zsh
font-family = "Hack"
font-size = 14
font-thicken = true
font-feature = -calt, -liga, -dlig
macos-titlebar-style = tabs
mouse-hide-while-typing = true
window-save-state = always
copy-on-select = true
link-previews = osc8
notify-on-command-finish = unfocused
################
# KEY BINDINGS
################
# All keybindings use 'ctrl-a' as a 'prefix key'. This is similar
# to tmux and ensures that the keybindings here don't conflict
# with neovim.
# New splits
keybind = ctrl+a>v=new_split:right
keybind = ctrl+a>s=new_split:down
# Navigate splits
keybind = ctrl+a>h=goto_split:left
keybind = ctrl+a>l=goto_split:right
keybind = ctrl+a>k=goto_split:up
keybind = ctrl+a>j=goto_split:down
# Resize splits
keybind = ctrl+a>shift+h=resize_split:left,10
keybind = ctrl+a>shift+l=resize_split:right,10
keybind = ctrl+a>shift+k=resize_split:up,10
keybind = ctrl+a>shift+j=resize_split:down,10
# Close split / zoom
keybind = ctrl+a>q=close_surface
keybind = ctrl+a>z=toggle_split_zoom
# Tabs
keybind = ctrl+a>c=new_tab
keybind = ctrl+a>n=next_tab
keybind = ctrl+a>p=previous_tab
keybind = ctrl+a>w=close_tab
|