Update ghostty and reverse search config

This commit is contained in:
Arnie 2025-01-20 22:52:38 +01:00
parent 4d53bc14f5
commit a3e48a82ae
3 changed files with 39 additions and 38 deletions

View File

@ -76,10 +76,9 @@ in
{
"ghostty/config" = {
text = ''
font-size = 10
theme = catppuccin-mocha
window-height = 9999
window-width = 9999
${builtins.readFile ./shared/ghostty.config}
font-size = 11
'';
};
}
@ -91,7 +90,7 @@ in
file = "share/bat/syntaxes/ghostty.sublime-syntax";
};
programs.vim.plugins = lib.mkMerge [ pkgs.ghostty.vim ];
programs.vim.plugins = [ pkgs.ghostty.vim ];
programs.direnv = {
enable = true;
@ -192,7 +191,7 @@ in
enableZshIntegration = true;
keyScheme = "vim";
# TODO: Test
fuzzySearchFactor = 2;
fuzzySearchFactor = 1;
settings = {
colors = {

View File

@ -42,38 +42,9 @@ in
home.file = {
"${homedir}/Library/Application Support/com.mitchellh.ghostty/config" = {
text = ''
theme = "catppuccin-mocha"
${builtins.readFile ./shared/ghostty.config}
font-size = 14
window-width = 9999
window-height = 9999
# unbind resize split
keybind = super+ctrl+down=unbind
keybind = super+ctrl+left=unbind
keybind = super+ctrl+up=unbind
keybind = super+ctrl+right=unbind
# unbind clear_window
keybind = super+k=unbind
# unbind goto split
keybind = super+alt+right=unbind
keybind = super+alt+down=unbind
keybind = super+alt+left=unbind
keybind = super+alt+up=unbind
keybind = super+k=new_split:down
keybind = super+l=new_split:right
keybind = super+ctrl+j=goto_split:top
keybind = super+ctrl+k=goto_split:bottom
keybind = super+ctrl+h=goto_split:left
keybind = super+ctrl+l=goto_split:right
keybind = super+shift+j=resize_split:up,10
keybind = super+shift+k=resize_split:down,10
keybind = super+shift+h=resize_split:left,10
keybind = super+shift+l=resize_split:right,10
'';
};
"${homedir}/.hammerspoon/init.lua" = {
@ -191,7 +162,7 @@ in
enableZshIntegration = true;
keyScheme = "vim";
# TODO: Test
fuzzySearchFactor = 2;
fuzzySearchFactor = 1;
settings = {
colors = {

View File

@ -0,0 +1,31 @@
theme = "catppuccin-mocha"
window-width = 9999
window-height = 9999
# unbind resize split
keybind = super+ctrl+down=unbind
keybind = super+ctrl+left=unbind
keybind = super+ctrl+up=unbind
keybind = super+ctrl+right=unbind
# unbind clear_window
keybind = super+k=unbind
# unbind goto split
keybind = super+alt+right=unbind
keybind = super+alt+down=unbind
keybind = super+alt+left=unbind
keybind = super+alt+up=unbind
keybind = super+k=new_split:down
keybind = super+l=new_split:right
keybind = super+alt+j=goto_split:top
keybind = super+alt+k=goto_split:bottom
keybind = super+alt+h=goto_split:left
keybind = super+alt+l=goto_split:right
keybind = super+shift+j=resize_split:up,10
keybind = super+shift+k=resize_split:down,10
keybind = super+shift+h=resize_split:left,10
keybind = super+shift+l=resize_split:right,10