Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ed: allow repeated search with // and ?? (#768)
* ed: allow repeated search with // and ?? * In commit 78d5429, repeat search was only implemented for "/" and "?" * Add support for empty patterns specified as "??" and "//" (these may be followed by whitespace, but single "?" and "/" may not) * test1: "/\n" --> repeat search down * test2: "/ \n" --> start new search (down) for " " * test3: "// \n" --> repeat search down * test4: "?\n" --> repeat search up * test5: "? \n"--> start new search (up) for " " * test6: "?? \n --> repeat search up * Entering //n doesn't seem to work for repeating search then issuing n command (this could be supported later) * mention search features in pod manual
- Loading branch information