Add ESC+Up/Down as keys for move-line-up/down
This commit is contained in:
parent
a8a6f87044
commit
7b70991618
2
init.el
2
init.el
@ -114,6 +114,8 @@
|
|||||||
(local-set-key (kbd "C-c o") 'ff-find-other-file)))
|
(local-set-key (kbd "C-c o") 'ff-find-other-file)))
|
||||||
(global-set-key (kbd "M-<up>") 'move-line-up)
|
(global-set-key (kbd "M-<up>") 'move-line-up)
|
||||||
(global-set-key (kbd "M-<down>") 'move-line-down)
|
(global-set-key (kbd "M-<down>") 'move-line-down)
|
||||||
|
(global-set-key (kbd "ESC <up>") 'move-line-up)
|
||||||
|
(global-set-key (kbd "ESC <down>") 'move-line-down)
|
||||||
|
|
||||||
(global-whitespace-mode 1)
|
(global-whitespace-mode 1)
|
||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user