Add visual regex mode
This commit is contained in:
parent
e2fad295e6
commit
6314c9941e
2 changed files with 8 additions and 2 deletions
|
|
@ -32,8 +32,12 @@
|
|||
;; Key bindings
|
||||
(define-key prog-mode-map (kbd "C-d") 'dash-at-point) ;; Jump to dash definition
|
||||
(define-key prog-mode-map (kbd "C-c c") 'comment-line)
|
||||
(define-key prog-mode-map (kbd "C-c r") 'align-regexp) ;; Because C-c a is used by ag already.
|
||||
(define-key prog-mode-map (kbd "C-c r") 'align-regexp) ;; Because C-c a is used
|
||||
;; by ag already.
|
||||
(define-key prog-mode-map (kbd "C-c i") 'indent-region)
|
||||
(define-key prog-mode-map (kbd "C-c v") 'vr/replace) ;; Visually replace all
|
||||
;; occurences of a specific
|
||||
;; regex
|
||||
|
||||
;; When possible, show code documentation
|
||||
(global-eldoc-mode 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue