From 33b0852c84452afbaf0f41c2abc954008be7ef77 Mon Sep 17 00:00:00 2001 From: Drew Neil Date: Sat, 3 Jun 2017 12:45:52 +0100 Subject: Add :ALEFirst and :ALELast commands (#616) * Add :ALEFirst and :ALELast commands * Add documentation for ALEFirst and ALELast commands * Add tests for ale#loclist_jumping#JumpToIndex() * Fix the loclist jumping tests --- doc/ale.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/ale.txt b/doc/ale.txt index 45fe4902..9949d150 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -857,6 +857,8 @@ ALEPrevious *ALEPrevious* ALEPreviousWrap *ALEPreviousWrap* ALENext *ALENext* ALENextWrap *ALENextWrap* +ALEFirst *ALEFirst* +ALELast *ALELast* *ale-navigation-commands* Move between warnings or errors in a buffer. ALE will only navigate between @@ -867,11 +869,16 @@ ALENextWrap *ALENextWrap* `ALEPreviousWrap` and `ALENextWrap` will wrap around the file to find the last or first warning or error in the file, respectively. + `ALEFirst` goes the the first error or warning in the buffer, while `ALELast` + goes to the last one. + The following || mappings are defined for the commands: > (ale_previous) - ALEPrevious (ale_previous_wrap) - ALEPreviousWrap (ale_next) - ALENext (ale_next_wrap) - ALENextWrap + (ale_first) - ALEFirst + (ale_last) - ALELast < For example, these commands could be bound to the keys Ctrl + j and Ctrl + k: > -- cgit v1.2.3