aboutsummaryrefslogtreecommitdiff
path: root/bard-elisp/bard-terminal.el
diff options
context:
space:
mode:
authorbard <[email protected]>2024-03-07 07:15:11 -0500
committerbard <[email protected]>2024-03-07 07:15:11 -0500
commit958d6b2d0e0621c0b6fad550d1fbc7cfa454cfbb (patch)
treebb75e1755c82a111018cf72373b66251220093d6 /bard-elisp/bard-terminal.el
parent1edfe7eca24f830551ce5d68816669cbdc0ae2ba (diff)
more accessible keybinds
Diffstat (limited to 'bard-elisp/bard-terminal.el')
-rw-r--r--bard-elisp/bard-terminal.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/bard-elisp/bard-terminal.el b/bard-elisp/bard-terminal.el
index 22eef66..2aa77bb 100644
--- a/bard-elisp/bard-terminal.el
+++ b/bard-elisp/bard-terminal.el
@@ -4,7 +4,7 @@
(let ((default-directory default-directory))
(term "/bin/bash")))
-(global-set-key (kbd "C-c t") 'bard/open-terminal-in-current-directory)
+(define-key global-map (kbd "C-t") #'bard/open-terminal-in-current-directory)
(defun bard/open-terminal-emulator ()
"Open a terminal in the current working directory."
@@ -12,7 +12,6 @@
(let ((default-directory default-directory))
(start-process "st terminal" nil "st")))
-(with-eval-after-load "dired-mode"
- (define-key dired-mode-map (kbd "C-c C-t") 'bard/open-terminal-emulator))
+(define-key global-map (kbd "C-c t") 'bard/open-terminal-emulator)
(provide 'bard-terminal.el)