Add browse-kill-ring package
This commit is contained in:
parent
d54d3956fd
commit
654e4eb463
3 changed files with 7 additions and 1 deletions
|
@ -299,6 +299,9 @@ The body of the advice is in BODY."
|
||||||
;; clean up obsolete buffers automatically
|
;; clean up obsolete buffers automatically
|
||||||
(require 'midnight)
|
(require 'midnight)
|
||||||
|
|
||||||
|
;; smarter kill-ring navigation
|
||||||
|
(global-set-key (kbd "s-y") 'browse-kill-ring)
|
||||||
|
|
||||||
;; automatically indenting yanked text if in programming-modes
|
;; automatically indenting yanked text if in programming-modes
|
||||||
(defvar yank-indent-modes
|
(defvar yank-indent-modes
|
||||||
'(LaTeX-mode TeX-mode)
|
'(LaTeX-mode TeX-mode)
|
||||||
|
|
|
@ -42,7 +42,9 @@
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
(defvar prelude-packages
|
(defvar prelude-packages
|
||||||
'(ace-jump-mode ack-and-a-half anzu dash diminish elisp-slime-nav
|
'(ace-jump-mode ack-and-a-half anzu
|
||||||
|
browse-kill-ring
|
||||||
|
dash diminish elisp-slime-nav
|
||||||
epl expand-region flycheck gist
|
epl expand-region flycheck gist
|
||||||
gitconfig-mode gitignore-mode grizzl
|
gitconfig-mode gitignore-mode grizzl
|
||||||
guru-mode projectile
|
guru-mode projectile
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
|
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
|
||||||
(key-chord-define-global "uu" 'undo-tree-visualize)
|
(key-chord-define-global "uu" 'undo-tree-visualize)
|
||||||
(key-chord-define-global "xx" 'execute-extended-command)
|
(key-chord-define-global "xx" 'execute-extended-command)
|
||||||
|
(key-chord-define-global "yy" 'browse-kill-ring)
|
||||||
|
|
||||||
(key-chord-mode +1)
|
(key-chord-mode +1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue