branch: master commit d279b6a336e5e1379f91515c2b918561efcf7633 Author: Leo Perrin <leoper...@picarresursix.fr> Commit: Alexey Veretennikov <alexey.veretenni...@gmail.com>
Added internal link to the "quick navigation" in the README file. --- README.md | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 939d7a0..a047bc1 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -Functionnalities -================ +Functionalities +=============== Provides is a minor mode for Emacs acting like occur but without creating a new window. It just hides all the text except lines -containing matches for a given regex. The following functions are +containing matches for a given regexp. The following functions are provided: - + `loccur` Prompts for a regex and hides all the lines not containing - matches. If the given regex is empty, defaults to the current + + `loccur` Prompts for a regexp and hides all the lines not containing + matches. If the given regexp is empty, defaults to the current selection and, if the selection is also empty, defaults to the word at point. + `loccur-previous-match` Repeats the last `loccur` search. @@ -19,13 +19,15 @@ After `loccur` is ran, hit `RET` to move to the line where the cursor is and display everything again. The good thing about this mode is that you can navigate through the -buffer easily. In particular, if you bind `(loccur "" +buffer easily. In particular, hopefully useful functions using +`loccur` are suggested in Section +[Quick Navigation](#quick-navigation). Example ======= -If you run `loccur` on regex `[0-9]+` (finding any decimal number) on +If you run `loccur` on regexp `[0-9]+` (finding any decimal number) on the following buffer,