dev.fron.io rc / 7db9bdc
emacs(shell): double bind Tony Olagbaiye 6 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4343 (interactive "p")
4444 (ivy-shell nil :initial-input (if (= pfx -1) (car shell-command-history))))
4545 (global-set-key (kbd "M-!") #'ivy-shell-sync)
46 (global-set-key (kbd "´") #'ivy-shell-sync)
4647 (evil-define-key 'normal 'global (kbd "´") #'ivy-shell-sync)
4748 (defun ivy-shell-async (&optional pfx)
4849 (interactive "p")
4950 (ivy-shell t :initial-input (if (= pfx -1) (car shell-command-history))))
5051 (global-set-key (kbd "M-&") #'ivy-shell-async)
52 (global-set-key (kbd "`") #'ivy-shell-async)
5153 (evil-define-key 'normal 'global (kbd "`") #'ivy-shell-async)
5254
5355 (provide 'scraps+shell)