about summary refs log tree commit diff
path: root/dotfiles/.emacs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-17 18:44:03 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-17 18:44:03 +0100
commit0e707c4c4ae488531ac7d39997b909d9d34d8488 (patch)
treefca1915f0b3c95e6ed08ff52cf84c12bfb39a5e8 /dotfiles/.emacs
parentDofiles: Emacs: Add leader keybinds (diff)
downloadnixos-config-0e707c4c4ae488531ac7d39997b909d9d34d8488.tar.gz
nixos-config-0e707c4c4ae488531ac7d39997b909d9d34d8488.tar.bz2
nixos-config-0e707c4c4ae488531ac7d39997b909d9d34d8488.zip
Dofiles: Emacs: Add shell-pop
Diffstat (limited to 'dotfiles/.emacs')
-rw-r--r--dotfiles/.emacs10
1 files changed, 9 insertions, 1 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 4f786e5..3681dc3 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -58,7 +58,7 @@
   (my/leader-keys
     "SPC" '(execute-extended-command :wk "execute command");; an alternative to 'M-x'
     "x" (general-simulate-key "C-x" :state 'emacs :which-key "execute keybind");; an alternative to 'C-x'
-    ))
+  ))
 
 (use-package doom-themes
   :ensure t )
@@ -263,6 +263,14 @@
   (:map evil-normal-state-map
   ("C-S-t" . centaur-tabs-mode)))
 
+(use-package shell-pop
+  :ensure t
+  :init
+  (setq shell-pop-shell-type '("terminal" "*terminal*" (lambda nil (term shell-pop-term-shell))))
+  (setq shell-pop-term-shell "zsh")
+  (my/leader-keys
+    "t" '(shell-pop :wk "toggle terminal")))
+
 (eval-after-load 'dired
   '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file)
 )