Fix catppuccin-mocha's foreground, C-i -> <leader>i
dblume

dblume commited on 2025-01-09 09:16:07
Showing 2 changed files, with 7 additions and 0 deletions.


catppuccin-mocha's foreground was too blue. Make it more white.
Have ghostty do the same thing as alacritty. In order for both
these features to work:

* Tab/Shift-Tab: Navigate buffers
* C-i/o: Jump

Since C-i is Tab, map C-i to vim's <leader>i. (My <leader> is '\')
... ...
@@ -7,5 +7,6 @@ dynamic_padding = true
7 7
 [keyboard]
8 8
 bindings = [
9 9
 # For vim <leader>i as a proxy for when in tmux where <C-i> is Tab
10
+# Same mapping is in .config/ghostty/config
10 11
 { key = "I", mods = "Control",        chars = "\\i" }
11 12
 ]
... ...
@@ -4,6 +4,7 @@ theme = "catppuccin-mocha"
4 4
 
5 5
 # for catppuccin-mocha (palette 6 for nvim rokulog syntax)
6 6
 palette = 6=#74d0c0
7
+foreground = dde4ea
7 8
 background = 1a1c1e
8 9
 
9 10
 # This foreground override is esp for SpaceGray Eighties
... ...
@@ -22,5 +23,10 @@ window-width = 120
22 23
 cursor-style-blink = false
23 24
 shell-integration-features = no-cursor
24 25
 
26
+# vim maps tab/Shift-tab to :bn/bp
27
+# To keep vim C-i/o jumps working, map C-i to <leader>i
28
+# Same mapping is in .config/alacritty/alacritty.toml
29
+keybind = control+i=text:\\i
30
+ 
25 31
 # consider
26 32
 #copy-on-select = clipboard
27 33