Browse Source

Move

master
10sr 5 years ago
parent
commit
348dc0c4b3
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el View File

@@ -827,6 +827,7 @@ found, otherwise returns nil."
;; recently ;; recently


(when (safe-require-or-eval 'recently) (when (safe-require-or-eval 'recently)
(define-key ctl-x-map (kbd "C-r") 'recently-show)
(set-variable 'recently-max 1000) (set-variable 'recently-max 1000)
(recently-mode 1)) (recently-mode 1))


@@ -1819,6 +1820,9 @@ ARG is num to show, or defaults to 7."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; misc funcs ;; misc funcs


(define-key ctl-x-map "T" 'git-worktree)
(define-key ctl-x-map "W" 'git-walktree)

(when (fboundp 'browse-url-default-macosx-browser) (when (fboundp 'browse-url-default-macosx-browser)
(defalias 'browse-osx 'browse-url-default-macosx-browser)) (defalias 'browse-osx 'browse-url-default-macosx-browser))


@@ -2013,10 +2017,6 @@ and search from projectile root (if projectile is available)."
(interactive "sText to Push: ") (interactive "sText to Push: ")
(pb/push-item '("") text "note" (or title ""))) (pb/push-item '("") text "note" (or title "")))


;; TODO: Move
(define-key ctl-x-map (kbd "C-r") 'recently-show)
(define-key ctl-x-map "T" 'git-worktree)
(define-key ctl-x-map "W" 'git-walktree)








Loading…
Cancel
Save