Browse Source

Add func my-pushbullet-note

master
10sr 5 years ago
parent
commit
007344721f
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -1979,7 +1979,12 @@ and search from projectile root (if projectile is available)."
(defalias 'make 'compile) (defalias 'make 'compile)
(define-key ctl-x-map "c" 'compile) (define-key ctl-x-map "c" 'compile)


(defun my-pushbullet-note (text &optional title)
"Push TEXT."
(interactive "sText to Push: ")
(pb/push-item '("") text "note" (or title "Push from Emacs")))


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


Loading…
Cancel
Save