Add some futher convenient key-bindings
This commit is contained in:
parent
091aee7557
commit
e49ab3f57f
@ -22,7 +22,8 @@
|
||||
highlight-parentheses
|
||||
whole-line-or-region
|
||||
duplicate-thing
|
||||
volatile-highlights)
|
||||
volatile-highlights
|
||||
expand-region)
|
||||
|
||||
)
|
||||
|
||||
@ -36,7 +37,14 @@
|
||||
|
||||
(use-package duplicate-thing
|
||||
:defer t
|
||||
:bind (("M-c" . duplicate-thing)))
|
||||
:bind (("M-C" . duplicate-thing)))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Expand region - intelligent select.
|
||||
;; --------------------------------------------------------------------------
|
||||
(use-package expand-region
|
||||
:defer t
|
||||
:bind (("C-'" . er/expand-region)))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Volatile highlights - highlight changes caused by undo, yank, etc.
|
||||
@ -210,4 +218,8 @@
|
||||
;; Occur. More convenient than "M-s o"
|
||||
(global-set-key (kbd "M-s M-o") 'occur)
|
||||
|
||||
;; Scroll up/down.
|
||||
(global-set-key (kbd "C-<") (lambda() (interactive) (scroll-down 1)))
|
||||
(global-set-key (kbd "C->") (lambda() (interactive) (scroll-up 1)))
|
||||
|
||||
)
|
||||
|
Reference in New Issue
Block a user