summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-08 15:23:32 +0300
committerThanos Apollo <[email protected]>2023-09-08 15:23:32 +0300
commitd9d8aad29a212f75a10459e425562254ecc0d7d7 (patch)
treea631838c3dab642dd4cc3b32efb0863c24c6aabc /.emacs.d
parenta840f65685a29f60220c7fe7787dbac7e59b5703 (diff)
stumpwm: update keybindings
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/modules/thanos-shells.el (renamed from .emacs.d/modules/thanos-eshell.el)25
1 files changed, 9 insertions, 16 deletions
diff --git a/.emacs.d/modules/thanos-eshell.el b/.emacs.d/modules/thanos-shells.el
index 8d5e164..36552d4 100644
--- a/.emacs.d/modules/thanos-eshell.el
+++ b/.emacs.d/modules/thanos-shells.el
@@ -1,4 +1,4 @@
-;;; thanos-eshell.el --- eshell configuration -*- lexical-binding: t; -*-
+;;; thanos-shell.el --- shells configuration -*- lexical-binding: t; -*-
;; Copyright (C) 2023 Thanos Apollo
@@ -32,6 +32,9 @@
(setenv "EDITOR" "emacsclient -n")
(setenv "DEBEMAIL" "[email protected]")
(setenv "DEBNAME" "Thanos Apollo")
+(setenv "SBCL_HOME" "/usr/local/lib/sbcl")
+(setenv "XDG_SESSION_TYPE" "x11")
+
;; configuration with eat
(require 'eshell)
(require 'eat)
@@ -116,6 +119,7 @@
(defvar eshell-path-env (getenv "~/.local/bin"))
(require 'eshell-git-prompt)
+
;; customize multiline theme
(defun eshell-git-prompt-multiline ()
"Eshell Git prompt inspired by spaceship-prompt."
@@ -150,21 +154,10 @@
(setq eshell-highlight-prompt t)
-
-(define-prefix-command 'thanos/eshell-map)
-(global-set-key (kbd "C-c e") 'thanos/eshell-map)
-
-(define-key thanos/eshell-map (kbd "o") 'multi-eshell)
-(define-key thanos/eshell-map (kbd "n") 'multi-eshell-switch)
-
-(defvar thanos/vterm-map (make-sparse-keymap))
-(define-prefix-command 'thanos/vterm-map)
-(define-key global-map (kbd "C-c v") 'thanos/vterm-map)
-(define-key thanos/vterm-map (kbd "n") 'multi-vterm-next)
-(define-key thanos/vterm-map (kbd "p") 'multi-vterm-prev)
-(define-key thanos/vterm-map (kbd "d") 'multi-vterm-dedicated-open)
-(define-key thanos/vterm-map (kbd "o") 'multi-vterm)
+;; Keybindings
+(define-key global-map (kbd "C-c e") 'eshell)
+(define-key global-map (kbd "C-c v") 'vterm)
-(provide 'thanos-eshell)
+(provide 'thanos-shells)
;;; thanos-eshell.el ends here