Fixed open terminal

This commit is contained in:
2021-07-12 09:41:14 +02:00
parent fb21733874
commit a87505b0aa
2 changed files with 3 additions and 6 deletions

View File

@ -56,7 +56,7 @@
;; Open external terminal
;; (map! :map doom-leader-open-map :desc "Open" "t" (cmd! (call-process-shell-command "terminal&" nil 0)))
(map! :leader :desc "Open external terminal" "o t" (cmd! (call-process-shell-command "terminal&" nil 0)))
(map! :leader :desc "Open external terminal" "o t" (cmd! (call-process-shell-command "xfce4-terminal&" nil 0)))
;; Remap font scaling keybindings to make more sense
(map! :desc "Increase font size" :n "C-+" #'text-scale-increase)
@ -118,10 +118,7 @@
(after! org
(setq org-agenda-files (expand-file-name "org-agenda-files" doom-private-dir)))
(map! :map cdlatex-mode-map
:i "TAB" #'cdlatex-tab)
(map! :desc "Open external terminal" :nv "g C" #'toggle-word-case)
(map! :desc "Toggle case of word" :nv "g C" #'toggle-word-case)
(defun toggle-word-case ()
"Toggle the case of current word or text selection."