mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add multiple cursors to emacs
This commit is contained in:
parent
11bf6288c4
commit
699709c1d6
2 changed files with 18 additions and 0 deletions
|
|
@ -10285,6 +10285,10 @@ I also define some keybinds to some combinations directly. Those are used mostly
|
|||
"<Copy>" 'kill-ring-save
|
||||
"<undo>" 'evil-undo
|
||||
"<redo>" 'evil-redo
|
||||
"C-S-c C-S-c" 'mc/edit-lines
|
||||
"C->" 'mc/mark-next-like-this
|
||||
"C-<" 'mc/mark-previous-like-this
|
||||
"C-c C-<" 'mc/mark-all-like-this
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -13196,3 +13200,11 @@ This sets up the =dashboard=, which is really quite useless. But, it looks cool
|
|||
(add-to-list 'vterm-eval-cmds '("find-file-other-window"
|
||||
me/vterm--find-file-other-window-wrapper))
|
||||
#+end_src
|
||||
|
||||
*** multiple cursors
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(use-package multiple-cursors)
|
||||
|
||||
#+end_src
|
||||
|
|
|
|||
|
|
@ -416,6 +416,10 @@ create a new one."
|
|||
"<Copy>" 'kill-ring-save
|
||||
"<undo>" 'evil-undo
|
||||
"<redo>" 'evil-redo
|
||||
"C-S-c C-S-c" 'mc/edit-lines
|
||||
"C->" 'mc/mark-next-like-this
|
||||
"C-<" 'mc/mark-previous-like-this
|
||||
"C-c C-<" 'mc/mark-all-like-this
|
||||
)
|
||||
|
||||
;; set Nextcloud directory for journals etc.
|
||||
|
|
@ -2116,3 +2120,5 @@ Prints a reasuring message to proove good faith."
|
|||
;; Proove me wrong but i think it's safe.
|
||||
(add-to-list 'vterm-eval-cmds '("find-file-other-window"
|
||||
me/vterm--find-file-other-window-wrapper))
|
||||
|
||||
(use-package multiple-cursors)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue