Handy emacs command which will limit your operations (and visibility) to a selected region. Good for regional search/replace and the like.
- Mark your region
- C-x n n / narrow-to-region
- Do what you are going to do
- C-x n w / widen
Handy emacs command which will limit your operations (and visibility) to a selected region. Good for regional search/replace and the like.