diff --git a/README.md b/README.md index a963e74..0611164 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,15 @@ Or manually copy `easy-navigate.vim` to `~/.vim/plugin/` | `]Q` | Go to last error | `:clast` | `[Q` | Go to first error | `:cfirst` +**Navigate Between Location List Items** + +| Keys | Action | Equivalence +| ----: | --- | --- +| `]l` | Go to next item | `:lnext` +| `[l` | Go to previous item | `:lprevious` +| `]L` | Go to last item | `:llast` +| `[L` | Go to first item | `:lfirst` + **Navigate Between Wrapped Lines** *These don't affect the usual behavior of the motion keys* diff --git a/plugin/easy-navigate.vim b/plugin/easy-navigate.vim index bfe2520..03f0278 100644 --- a/plugin/easy-navigate.vim +++ b/plugin/easy-navigate.vim @@ -6,6 +6,12 @@ noremap ]q :cnext noremap [Q :cfirst noremap ]Q :clast +" Location List +noremap [l :lprevious +noremap ]l :lnext +noremap [L :lfirst +noremap ]L :llast + " Buffer nnoremap [b :bprevious nnoremap ]b :bnext