Archived
1
0
Fork 0

overhaul / update keybinds

This commit is contained in:
KemoNine 2022-04-23 17:36:44 -04:00
parent d01f192e3b
commit e59e69b80b
2 changed files with 21 additions and 12 deletions

View file

@ -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

View file

@ -74,6 +74,7 @@ open scratch buffer. paste below into it as the contents then do `M-x ev-b RET`
persp-mode persp-mode
diminish diminish
dash dash
transpose-frame
s s
f f
oragami oragami