|
|
|
|
@ -253,6 +253,22 @@ |
|
|
|
|
(define-key helm-map (kbd "C-h") nil) |
|
|
|
|
(define-key helm-find-files-map (kbd "C-h") nil) |
|
|
|
|
#+END_SRC |
|
|
|
|
** multiple-cursors |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(require 'multiple-cursors) |
|
|
|
|
(define-key mc/keymap (kbd "<return>") nil) |
|
|
|
|
|
|
|
|
|
(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) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "H-.") 'mc/mark-next-like-this) |
|
|
|
|
(global-set-key (kbd "H-,") 'mc/mark-previous-like-this) |
|
|
|
|
(global-set-key (kbd "<H-f13>") 'mc/mark-pop) |
|
|
|
|
(global-set-key (kbd "<H-f14>") 'mc/mark-pop) |
|
|
|
|
(global-set-key (kbd "H-#") 'mc/insert-numbers) |
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
* Leftovers |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(setq search-whitespace-regexp "[ \t\r\n]+") |
|
|
|
|
@ -343,20 +359,6 @@ |
|
|
|
|
(concat emacs-dir basename) |
|
|
|
|
(concat "~/.emacs-" basename))))) |
|
|
|
|
|
|
|
|
|
;; * Multiple cursors galore |
|
|
|
|
(require 'multiple-cursors) |
|
|
|
|
(define-key mc/keymap (kbd "<return>") nil) |
|
|
|
|
|
|
|
|
|
(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) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "H-.") 'mc/mark-next-like-this) |
|
|
|
|
(global-set-key (kbd "H-,") 'mc/mark-previous-like-this) |
|
|
|
|
(global-set-key (kbd "<H-f13>") 'mc/mark-pop) |
|
|
|
|
(global-set-key (kbd "<H-f14>") 'mc/mark-pop) |
|
|
|
|
(global-set-key (kbd "H-#") 'mc/insert-numbers) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "<f13>") 'set-mark-command) |
|
|
|
|
(global-set-key (kbd "<f14>") 'set-mark-command) |
|
|
|
|
|
|
|
|
|
|