Add shortcut M-p and M-n for frame naviation
This commit is contained in:
parent
17d8a9ebfd
commit
30c3d59e4e
@ -127,12 +127,17 @@
|
|||||||
;; Activate Eglot in cross-referenced non-project files
|
;; Activate Eglot in cross-referenced non-project files
|
||||||
(setq eglot-extend-to-xref t)
|
(setq eglot-extend-to-xref t)
|
||||||
|
|
||||||
|
;; Custom Vanilla Stuff
|
||||||
;; https://stackoverflow.com/questions/6286579/emacs-shell-mode-how-to-send-region-to-shell/7053298#7053298
|
;; https://stackoverflow.com/questions/6286579/emacs-shell-mode-how-to-send-region-to-shell/7053298#7053298
|
||||||
(defun shell-region (start end)
|
(defun shell-region (start end)
|
||||||
"Execute region START to END in an inferior shell."
|
"Execute region START to END in an inferior shell."
|
||||||
(interactive "r")
|
(interactive "r")
|
||||||
(shell-command (buffer-substring-no-properties start end)))
|
(shell-command (buffer-substring-no-properties start end)))
|
||||||
|
|
||||||
|
;; Quick switching windows
|
||||||
|
(define-key global-map (kbd "M-p") 'previous-multiframe-window)
|
||||||
|
(define-key global-map (kbd "M-n") 'other-window)
|
||||||
|
|
||||||
;; Package Manager
|
;; Package Manager
|
||||||
;; bootstrap straight.el package manager
|
;; bootstrap straight.el package manager
|
||||||
(defvar bootstrap-version)
|
(defvar bootstrap-version)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user