summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDrew Neil <andrew.jr.neil@gmail.com>2017-06-03 12:45:52 +0100
committerw0rp <w0rp@users.noreply.github.com>2017-06-03 12:45:52 +0100
commit33b0852c84452afbaf0f41c2abc954008be7ef77 (patch)
tree89b405d4ec3237d6ee89a856493b137f777fa4ad /doc
parentfcb57187126b0f0b8b176073a81911fd8ca3331a (diff)
downloadale-33b0852c84452afbaf0f41c2abc954008be7ef77.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt7
1 files changed, 7 insertions, 0 deletions
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 |<Plug>| mappings are defined for the commands: >
<Plug>(ale_previous) - ALEPrevious
<Plug>(ale_previous_wrap) - ALEPreviousWrap
<Plug>(ale_next) - ALENext
<Plug>(ale_next_wrap) - ALENextWrap
+ <Plug>(ale_first) - ALEFirst
+ <Plug>(ale_last) - ALELast
<
For example, these commands could be bound to the keys Ctrl + j
and Ctrl + k: >