mirror of
https://github.com/softinio/nix-config.git
synced 2025-09-03 16:16:42 -07:00
Improvements to kitty conf to support hyperlinks
This commit is contained in:
parent
6bc7ff5190
commit
d92d7b10f3
5 changed files with 44 additions and 20 deletions
32
programs/kitty/default.nix
Normal file
32
programs/kitty/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
actionsConfig = builtins.readFile ./open-actions.conf;
|
||||
in
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
"kitty_mod+enter" = "new_window_with_cwd";
|
||||
"f1" = "create_marker";
|
||||
"f2" = "remove_marker";
|
||||
"ctrl+p" = "scroll_to_mark prev";
|
||||
"ctrl+n" = "scroll_to_mark next";
|
||||
};
|
||||
themeFile = "Tango_Dark";
|
||||
font = {
|
||||
name = "SF Mono";
|
||||
size = 13;
|
||||
};
|
||||
settings = {
|
||||
copy_on_select = true;
|
||||
enabled_layouts = "*";
|
||||
kitty_mod = "cmd+option";
|
||||
macos_quit_when_last_window_closed = true;
|
||||
scrollback_lines = 100000;
|
||||
};
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
};
|
||||
|
||||
home.file.".config/kitty/open-actions.conf".text = actionsConfig;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue