common/home-manager: make fish and emacs play nicer
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
28f17b91b4
commit
9c960a866a
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -82,7 +82,7 @@ in {
|
|||
end
|
||||
|
||||
function e
|
||||
vterm_printf "51;Efind-file";
|
||||
vterm_printf "51;Efind-file" $argv;
|
||||
end
|
||||
|
||||
function vterm_prompt_end;
|
||||
|
|
Loading…
Reference in New Issue