Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; if the files are not already in the load path
- (add-to-list 'load-path "folder-to/visual-regexp/")
- (add-to-list 'load-path "folder-to/visual-regexp-steroids/")
- (require 'visual-regexp-steroids)
- (define-key global-map (kbd "C-c r") 'vr/replace)
- (define-key global-map (kbd "C-c q") 'vr/query-replace)
- ;; if you use multiple-cursors, this is for you:
- (define-key global-map (kbd "C-c m") 'vr/mc-mark)
- ;; to use visual-regexp-steroids's isearch instead of the built-in regexp isearch, also include the following lines:
- (define-key esc-map (kbd "C-r") 'vr/isearch-backward) ;; C-M-r
- (define-key esc-map (kbd "C-s") 'vr/isearch-forward) ;; C-M-s
Advertisement
Add Comment
Please, Sign In to add comment