Add visual regex mode

This commit is contained in:
Maciej 2018-09-10 21:46:24 +03:00
parent e2fad295e6
commit 6314c9941e
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
2 changed files with 8 additions and 2 deletions

View file

@ -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)