diff options
-rw-r--r-- | init.el | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -3310,16 +3310,19 @@ (global-set-key (kbd "s-w") #'jao-transient-utils) ;;; Global key bindings -(global-set-key (kbd "<f2>") #'magit-status) -(global-set-key (kbd "C-x p") 'jao-prev-window) -(global-set-key (kbd "C-x o") 'other-window) -(global-set-key "\C-cj" #'join-line) -(global-set-key "\C-cn" #'next-error) -(global-set-key "\C-cq" #'auto-fill-mode) -(global-set-key "\C-xr\M-w" #'kill-rectangle-save) -(global-set-key "\C-c\C-z" #'comment-or-uncomment-region) -(global-set-key "\C-z" #'comment-or-uncomment-region) -;; (global-set-key (kbd "C-c W") #'jao-open-in-x-frame) +(defun jao-global-keybindings () + (interactive) + (global-set-key (kbd "<f2>") #'magit-status) + (global-set-key (kbd "C-x p") 'jao-prev-window) + (global-set-key (kbd "C-x o") 'other-window) + (global-set-key "\C-cj" #'join-line) + (global-set-key "\C-cn" #'next-error) + (global-set-key "\C-cq" #'auto-fill-mode) + (global-set-key "\C-xr\M-w" #'kill-rectangle-save) + (global-set-key "\C-c\C-z" #'comment-or-uncomment-region) + (global-set-key "\C-z" #'comment-or-uncomment-region)) + +(jao-global-keybindings) ;;; Last minute (post.el) (jao-load-site-el "post") |