diff --git a/applicationConfiguration/.emacs/init.el b/applicationConfiguration/.emacs/init.el index 758411d..a902fe3 100644 --- a/applicationConfiguration/.emacs/init.el +++ b/applicationConfiguration/.emacs/init.el @@ -131,7 +131,7 @@ '(org-modules '(org-bbdb org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m)) '(package-selected-packages - '(flymake-python-pyflakes pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode))) + '(multiple-cursors flymake-python-pyflakes pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode))) ;; run emacs as server (connect to it with `emacsclient`) @@ -159,6 +159,13 @@ (require 'py-autopep8) (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save) +;; Multiple Cursors +(require 'multiple-cursors) +(global-set-key (kbd "C-S-c C-S-c") 'mc/edit-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) + ;; shell confs (exec-path-from-shell-copy-env "PATH") ; copy PATH from shell