mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
cycle kill ring backwards or forwards
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
(newline)
|
||||
(yank))
|
||||
|
||||
;; Yank Pop Forwards
|
||||
(defun yank-pop-forwards (arg)
|
||||
(interactive "p")
|
||||
(yank-pop (- arg)))
|
||||
|
||||
;; Window Switching
|
||||
(defun other-window-reverse ()
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
(global-set-key (kbd "C-x C-o") 'other-window) ;; other-window
|
||||
(global-set-key (kbd "C-x C-i") 'other-window-reverse) ;; other-window -1
|
||||
|
||||
;; Kill-Ring related.
|
||||
(global-set-key (kbd "M-Y") 'yank-pop-forwards)
|
||||
|
||||
;; ElScreen related shortcuts
|
||||
(global-set-key (kbd "s-}") 'elscreen-next)
|
||||
(global-set-key (kbd "s-{") 'elscreen-previous)
|
||||
|
||||
Reference in New Issue
Block a user