overhaul / update keybinds
This commit is contained in:
parent
d01f192e3b
commit
e59e69b80b
|
@ -179,16 +179,16 @@
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Setup global keys
|
; Setup global keys
|
||||||
|
(require 'transpose-frame)
|
||||||
(cua-mode 1)
|
(cua-mode 1)
|
||||||
(windmove-default-keybindings 'meta)
|
(windmove-default-keybindings 'meta)
|
||||||
(global-set-key (kbd "C-g") 'goto-line)
|
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
(global-set-key (kbd "C-c m") 'menu-bar-open)
|
(global-set-key (kbd "M-m") 'menu-bar-open)
|
||||||
(global-set-key (kbd "C-c .") 'rotate-frame-clockwise)
|
|
||||||
(global-set-key (kbd "C-c ,") 'rotate-frame-anticlockwise)
|
|
||||||
(global-set-key (kbd "C-c u") 'toggle-truncate-lines)
|
|
||||||
(global-set-key (kbd "<M-f4>") 'delete-frame)
|
(global-set-key (kbd "<M-f4>") 'delete-frame)
|
||||||
(global-set-key (kbd "C-x C-z") nil)
|
(global-set-key (kbd "C-x C-z") nil)
|
||||||
|
|
||||||
|
(global-set-key (kbd "C-g") 'goto-line)
|
||||||
|
(global-set-key (kbd "C-c u") 'toggle-truncate-lines)
|
||||||
(global-set-key (kbd "C-o") 'find-file)
|
(global-set-key (kbd "C-o") 'find-file)
|
||||||
(global-set-key (kbd "C-k") 'dired)
|
(global-set-key (kbd "C-k") 'dired)
|
||||||
(global-set-key (kbd "C-c w")
|
(global-set-key (kbd "C-c w")
|
||||||
|
@ -199,8 +199,16 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(global-set-key (kbd "M-k") 'delete-window)
|
||||||
|
(global-set-key (kbd "M-\"") 'split-window-below)
|
||||||
|
(global-set-key (kbd "M-#") 'split-window-right)
|
||||||
|
(global-set-key (kbd "M-.") 'rotate-frame-clockwise)
|
||||||
|
(global-set-key (kbd "M-,") 'rotate-frame-anticlockwise)
|
||||||
|
|
||||||
|
|
||||||
;; Lookup the current symbol at point. C-c C-d is a common keybinding
|
;; Lookup the current symbol at point. C-c C-d is a common keybinding
|
||||||
;; for this in lisp modes.
|
;; for this in lisp modes.
|
||||||
|
(global-set-key (kbd "M-h") 'describe-bindings)
|
||||||
(global-set-key (kbd "C-c C-d") #'helpful-at-point)
|
(global-set-key (kbd "C-c C-d") #'helpful-at-point)
|
||||||
|
|
||||||
; more vscode/gui styled find/replace
|
; more vscode/gui styled find/replace
|
||||||
|
|
15
emacs.md
15
emacs.md
|
@ -73,14 +73,15 @@ open scratch buffer. paste below into it as the contents then do `M-x ev-b RET`
|
||||||
modus-themes
|
modus-themes
|
||||||
persp-mode
|
persp-mode
|
||||||
diminish
|
diminish
|
||||||
dash
|
dash
|
||||||
s
|
transpose-frame
|
||||||
f
|
s
|
||||||
oragami
|
f
|
||||||
|
oragami
|
||||||
ido-completing-read+
|
ido-completing-read+
|
||||||
dired-single
|
dired-single
|
||||||
all-the-icons-dired
|
all-the-icons-dired
|
||||||
dired-rainbow
|
dired-rainbow
|
||||||
helpful)
|
helpful)
|
||||||
"Default packages")
|
"Default packages")
|
||||||
|
|
||||||
|
|
Reference in a new issue