common/home-manager: make fish and emacs play nicer

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Cadey Ratio 2023-02-04 13:12:58 -05:00
parent 28f17b91b4
commit 9c960a866a
3 changed files with 2 additions and 5 deletions

View File

@ -545,11 +545,8 @@ in {
});
bindStar = {
"C-s c" = "xe/tabnew-shell";
"C-a c" = "xe/tabnew-shell";
"C-s h" = "split-window-vertically";
"C-a h" = "split-window-vertically";
"C-s v" = "split-window-horizontally";
"C-a v" = "split-window-horizontally";
};
};

View File

@ -24,9 +24,9 @@ cell (regexp . minor-mode)."
(defun xe/tabnew-shell ()
"Opens a shell in a new tab (tmux Control-b c)."
(interactive)
(tab-bar-new-tab 1)
(vterm)
(evil-set-initial-state 'vterm-mode 'emacs)
(rename-uniquely))
(provide 'xe-tools)

View File

@ -82,7 +82,7 @@ in {
end
function e
vterm_printf "51;Efind-file";
vterm_printf "51;Efind-file" $argv;
end
function vterm_prompt_end;