Permalink
Browse files

NrrwRgn plugin: Init.

  • Loading branch information...
1 parent bfd37cd commit 8141d7d4af382f0a0a88db1c704078cf389a122c @kalbasit kalbasit committed Nov 9, 2011
Showing with 15 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +11 −0 README.md
  3. +1 −0 vimius/vim/tools/narrowregion
View
@@ -143,3 +143,6 @@
[submodule "vimius/vim/tools/easymotion"]
path = vimius/vim/tools/easymotion
url = git://github.com/Lokaltog/vim-easymotion.git
+[submodule "vimius/vim/tools/narrowregion"]
+ path = vimius/vim/tools/narrowregion
+ url = git://github.com/chrisbra/NrrwRgn.git
View
@@ -217,6 +217,17 @@ EasyMotion is triggered by one of the provided mappings.
check EasyMotion's [home
page](https://github.com/Lokaltog/vim-easymotion) for more information.
+## [NrrwRgn](https://github.com/chrisbra/NrrwRgn)
+
+Narrowing means focussing on a region and making the rest inaccessible.
+You simply select the region, call :NarrowRegion and the selected part
+will open in a new scratch buffer. The rest of the file will be
+protected, so you won't accidentally modify that buffer. In the new
+buffer, you can do a global replace, search or anything else to modify
+that part. When you are finished, simply write that buffer (e.g. by
+|:w|) and your modifications will be put in the original buffer making
+it accessible again.
+
## Git Support ([Fugitive](http://github.com/tpope/vim-fugitive))
Fugitive adds pervasive git support to git directories in vim. For more
Submodule narrowregion added at a08472

0 comments on commit 8141d7d

Please sign in to comment.