parent
4eaa32fd56
commit
6ab0b13c29
2 changed files with 14 additions and 0 deletions
10
custom/setup-cursors.el
Normal file
10
custom/setup-cursors.el
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(require 'multiple-cursors)
|
||||
|
||||
(global-set-key (kbd "C-x r a") 'mc/edit-lines)
|
||||
(global-set-key (kbd "C-x r e") 'mc/edit-ends-of-lines)
|
||||
|
||||
(global-set-key (kbd "C->") 'mc/mark-next-like-this)
|
||||
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
|
||||
(global-set-key (kbd "C-c C->") 'mc/mark-all-like-this)
|
||||
|
||||
(provide 'setup-cursors)
|
||||
4
init.el
4
init.el
|
|
@ -43,6 +43,7 @@
|
|||
helm-swoop
|
||||
helm-company
|
||||
dashboard
|
||||
multiple-cursors
|
||||
))
|
||||
|
||||
;; function to install new packages
|
||||
|
|
@ -91,6 +92,9 @@
|
|||
;; setup gdb
|
||||
(require 'setup-gdb)
|
||||
|
||||
;; setup multiple cursors
|
||||
(require 'setup-cursors)
|
||||
|
||||
;; start emacs server
|
||||
(server-start)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue