dev.fron.io rc / e58ca5f
emacs(shell): bind keys deeper Tony Olagbaiye 8 months ago
1 changed file(s) with 2 addition(s) and 2 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)
46 (evil-define-key 'normal 'global (kbd "´") #'ivy-shell-sync)
4747 (defun ivy-shell-async (&optional pfx)
4848 (interactive "p")
4949 (ivy-shell t :initial-input (if (= pfx -1) (car shell-command-history))))
5050 (global-set-key (kbd "M-&") #'ivy-shell-async)
51 (global-set-key (kbd "`") #'ivy-shell-async)
51 (evil-define-key 'normal 'global (kbd "`") #'ivy-shell-async)
5252
5353 (provide 'scraps+shell)
5454 ;;; scraps+shell.el ends here