Fixes kitty edit-in-kitty with emacsclient

This commit is contained in:
willemml 2023-11-13 20:26:38 -08:00
parent 74cc06afbb
commit 40f89416ac
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,7 @@
enable = true;
extraConfig = ''
include themes/draculaplus.conf
editor "${config.programs.emacs.finalPackage.out}/bin/emacsclient" -c
'';
shellIntegration.enableZshIntegration = true;

View file

@ -77,6 +77,8 @@
};
shellAliases = rec {
s = "kitten ssh";
ke = "kitten edit-in-kitty";
cd = "z";
dotd = "cd ${config.home.sessionVariables.DOTDIR} ";
e = "emacsclient -c -nw";
@ -84,6 +86,7 @@
emw = "emacs";
ew = "emacsclient -c -n";
l = "ls -1";
lh = "ls --hyperlink";
np = "nix-shell -p";
org = "cd ${config.home.sessionVariables.ORGDIR} ";
ubc = "cd ${config.home.sessionVariables.UBCDIR} ";