diff --git a/README.md b/README.md index 8ec686a..e4e8eed 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Head of File Name](vim/head-of-file-name.md) - [Help For Non-Normal Mode Features](vim/help-for-non-normal-mode-features.md) - [Horizontal to Vertical and Back Again](vim/horizontal-to-vertical-and-back-again.md) +- [Incremental Searching](vim/incremental-searching.md) - [Interactive Buffer List](vim/interactive-buffer-list.md) - [Joining Lines Together](vim/joining-lines-together.md) - [List All Buffers](vim/list-all-buffers.md) diff --git a/vim/incremental-searching.md b/vim/incremental-searching.md new file mode 100644 index 0000000..20b404e --- /dev/null +++ b/vim/incremental-searching.md @@ -0,0 +1,12 @@ +# Incremental Searching + +You can do a text-based search on the contents of your current buffer by +hitting `/` and then beginning to type a pattern (including regex). The +`incsearch` feature makes searching for text even easier. As you type your +pattern, the first valid match will be located and highlighted. As you +continue to type the pattern, it will continue to update the highlighted +match. Incremental searching makes it easy to see when you've made +a typo in your pattern. By default `incsearch` is turned off in Vim. You +can enable it with `set incsearch`. + +See `h incsearch` for more details.