Update ghostty and reverse search config
This commit is contained in:
parent
4d53bc14f5
commit
a3e48a82ae
@ -76,10 +76,9 @@ in
|
|||||||
{
|
{
|
||||||
"ghostty/config" = {
|
"ghostty/config" = {
|
||||||
text = ''
|
text = ''
|
||||||
font-size = 10
|
${builtins.readFile ./shared/ghostty.config}
|
||||||
theme = catppuccin-mocha
|
|
||||||
window-height = 9999
|
font-size = 11
|
||||||
window-width = 9999
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -91,7 +90,7 @@ in
|
|||||||
file = "share/bat/syntaxes/ghostty.sublime-syntax";
|
file = "share/bat/syntaxes/ghostty.sublime-syntax";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.vim.plugins = lib.mkMerge [ pkgs.ghostty.vim ];
|
programs.vim.plugins = [ pkgs.ghostty.vim ];
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -192,7 +191,7 @@ in
|
|||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
keyScheme = "vim";
|
keyScheme = "vim";
|
||||||
# TODO: Test
|
# TODO: Test
|
||||||
fuzzySearchFactor = 2;
|
fuzzySearchFactor = 1;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
colors = {
|
colors = {
|
||||||
|
|||||||
@ -42,38 +42,9 @@ in
|
|||||||
home.file = {
|
home.file = {
|
||||||
"${homedir}/Library/Application Support/com.mitchellh.ghostty/config" = {
|
"${homedir}/Library/Application Support/com.mitchellh.ghostty/config" = {
|
||||||
text = ''
|
text = ''
|
||||||
theme = "catppuccin-mocha"
|
${builtins.readFile ./shared/ghostty.config}
|
||||||
|
|
||||||
font-size = 14
|
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" = {
|
"${homedir}/.hammerspoon/init.lua" = {
|
||||||
@ -191,7 +162,7 @@ in
|
|||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
keyScheme = "vim";
|
keyScheme = "vim";
|
||||||
# TODO: Test
|
# TODO: Test
|
||||||
fuzzySearchFactor = 2;
|
fuzzySearchFactor = 1;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
colors = {
|
colors = {
|
||||||
|
|||||||
31
home-manager/shared/ghostty.config
Normal file
31
home-manager/shared/ghostty.config
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user