diff options
Diffstat (limited to 'ravi-init-navigation.el')
| -rw-r--r-- | ravi-init-navigation.el | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/ravi-init-navigation.el b/ravi-init-navigation.el index a77157b..f401273 100644 --- a/ravi-init-navigation.el +++ b/ravi-init-navigation.el @@ -1,9 +1,9 @@ ;;; ravi-init-navigation.el --- navigation utilities -;; Copyright (C) 2013 +;; Copyright (C) 2013 ;; Author: <ravi@nero.lan> -;; Keywords: +;; Keywords: ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -34,9 +34,47 @@ :ensure t ) +(use-package expand-region + :bind ("C-=" . er/expand-region) + :ensure t + ) + +(use-package multiple-cursors + :bind (("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)) + :init + (setq mc/list-file (ravi/emacs-file "past/mc-lists.el")) + ) + (bind-key "<M-f6>" 'ff-find-other-file) (setq compilation-scroll-output 'first-error) +;; Marking and moving lines + +(bind-key + "M-j" + (lambda () + (interactive) + (join-line -1)) + ) + +(use-package move-lines + :bind (("<C-S-down>" . move-lines-down) + ("<C-S-up>" . move-lines-up) + ) + ) + +;; grep and friends + +(use-package wgrep + :ensure t + ) + + + (provide 'ravi-init-navigation) ;;; ravi-init-navigation.el ends here |
