···11-# This is the configuration file for Ghostty.
22-#
33-# This template file has been automatically created at the following
44-# path since Ghostty couldn't find any existing config files on your system:
55-#
66-# /home/sspaeti/.config/ghostty/config
77-#
88-# The template does not set any default options, since Ghostty ships
99-# with sensible defaults for all options. Users should only need to set
1010-# options that they want to change from the default.
1111-#
1212-# Run `ghostty +show-config --default --docs` to view a list of
1313-# all available config options and their default values.
1414-#
1515-# Additionally, each config option is also explained in detail
1616-# on Ghostty's website, at https://ghostty.org/docs/config.
1717-1818-# Config syntax crash course
1919-# ==========================
2020-# # The config file consists of simple key-value pairs,
2121-# # separated by equals signs.
2222-font-family = Iosevka
2323-# window-padding-x = 2
2424-#
2525-# # Spacing around the equals sign does not matter.
2626-# # All of these are identical:
2727-# key=value
2828-# key= value
2929-# key =value
3030-# key = value
3131-#
3232-# # Any line beginning with a # is a comment. It's not possible to put
3333-# # a comment after a config option, since it would be interpreted as a
3434-# # part of the value. For example, this will have a value of "#123abc":
3535-# background = #123abc
3636-#
3737-# # Empty values are used to reset config keys to default.
3838-# key =
3939-#
4040-# # Some config options have unique syntaxes for their value,
4141-# # which is explained in the docs for that config option.
4242-# # Just for example:
4343-# resize-overlay-duration = 4s 200ms
4444-confirm-close-surface=false
···11-(defcfg
22- process-unmapped-keys yes
33-)
44-55-(defsrc
66- esc 1 2 3 4 5 6 7 8 9 0 - = bspc
77- tab q w e r t y u i o p [ ] \
88- caps a s d f g h j k l ; ' ret
99- lsft z x c v b n m , . / rsft
1010- lctl lmet lalt spc ralt rmet menu rctl
1111-)
1212-1313-;; Define Caps Lock as a tap-hold: tap for Caps Lock, hold for layer
1414-(defalias
1515- caps-key (tap-hold 200 200 caps (layer-while-held caps-layer))
1616-)
1717-1818-;; Default base layer (German layout)
1919-(deflayer base
2020- esc 1 2 3 4 5 6 7 8 9 0 - = bspc
2121- tab q w e r t y u i o p [ ] \
2222- @caps-key a s d f g h j k l ; ' ret
2323- lsft z x c v b n m , . / rsft
2424- lctl lmet lalt spc ralt rmet menu rctl
2525-)
2626-2727-;; Caps layer works on both
2828-(deflayer caps-layer
2929- _ f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 _
3030- _ _ _ _ _ _ _ _ _ _ _ _ _ _
3131- _ _ _ _ _ _ left down up rght _ _ _
3232- _ _ _ _ _ _ _ _ _ _ _ _
3333- _ _ _ _ _ _ _ _
3434-)
3535-3636-
-41
_arch-linux/kanata/lenovo.kbd
···11-(defcfg
22- process-unmapped-keys yes
33-)
44-55-(defsrc
66- esc 1 2 3 4 5 6 7 8 9 0 - = bspc
77- tab q w e r t y u i o p [ ] \
88- caps a s d f g h j k l ; ' ret
99- lsft z x c v b n m , . / rsft
1010- lctl lmet lalt spc ralt rmet menu rctl
1111-)
1212-1313-;; Define Caps Lock as a tap-hold: tap for Caps Lock, hold for layer
1414-(defalias
1515- caps-key (tap-hold 200 200 caps (layer-while-held caps-layer))
1616-)
1717-1818-;; Default base layer (German layout)
1919-(deflayer base
2020- esc 1 2 3 4 5 6 7 8 9 0 - = bspc
2121- tab q w e r t z u i o p [ ] \
2222- @caps-key a s d f g h j k l ; ' ret
2323- lsft y x c v b n m , . / rsft
2424- lctl lalt lmet spc ralt rmet menu rctl
2525-)
2626-2727-;; Override layer for Kinesis keyboard (US layout)
2828-;; This will only affect the Kinesis keyboard
2929-(deflayermap (kinesis-advantage2-keyboard)
3030- y z
3131- z y
3232-)
3333-3434-;; Caps layer with F1-F12 function keys on number row
3535-(deflayer caps-layer
3636- _ f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 _
3737- _ _ _ _ _ _ _ _ _ _ _ _ _ _
3838- _ _ _ _ _ _ left down up rght _ _ _
3939- _ _ _ _ _ _ _ _ _ _ _ _
4040- _ _ _ _ _ _ _ _
4141-)