comparison runtime/doc/quickfix.txt @ 15512:f0f06837a699

Update runtime files. commit https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 16:07:22 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 16:15:08 +0100
parents 90c8ff9c19ee
children 096b8ccd855e
comparison
equal deleted inserted replaced
15511:f41122780189 15512:f0f06837a699
1 *quickfix.txt* For Vim version 8.1. Last change: 2019 Jan 09 1 *quickfix.txt* For Vim version 8.1. Last change: 2019 Jan 13
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
109 109
110 *:lne* *:lnext* 110 *:lne* *:lnext*
111 :[count]lne[xt][!] Same as ":cnext", except the location list for the 111 :[count]lne[xt][!] Same as ":cnext", except the location list for the
112 current window is used instead of the quickfix list. 112 current window is used instead of the quickfix list.
113 113
114 :[count]cN[ext][!] *:cp* *:cprevious* *:cN* *:cNext* 114 :[count]cN[ext][!] *:cp* *:cprevious* *:cprev* *:cN* *:cNext*
115 :[count]cp[revious][!] Display the [count] previous error in the list that 115 :[count]cp[revious][!] Display the [count] previous error in the list that
116 includes a file name. If there are no file names at 116 includes a file name. If there are no file names at
117 all, go to the [count] previous error. See |:cc| for 117 all, go to the [count] previous error. See |:cc| for
118 [!] and 'switchbuf'. 118 [!] and 'switchbuf'.
119 119
120 120
121 :[count]lN[ext][!] *:lp* *:lprevious* *:lN* *:lNext* 121 :[count]lN[ext][!] *:lp* *:lprevious* *:lprev* *:lN* *:lNext*
122 :[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location 122 :[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location
123 list for the current window is used instead of the 123 list for the current window is used instead of the
124 quickfix list. 124 quickfix list.
125 125
126 *:cnf* *:cnfile* 126 *:cnf* *:cnfile*
365 call setloclist(3, [], 'a', {'title' : 'Cmd output'}) 365 call setloclist(3, [], 'a', {'title' : 'Cmd output'})
366 echo getloclist(3, {'title' : 1}) 366 echo getloclist(3, {'title' : 1})
367 < 367 <
368 *quickfix-index* 368 *quickfix-index*
369 When you jump to a quickfix/location list entry using any of the quickfix 369 When you jump to a quickfix/location list entry using any of the quickfix
370 commands (e.g. |cc|, |cnext|, |cprev|, etc.), that entry becomes the currently 370 commands (e.g. |:cc|, |:cnext|, |:cprev|, etc.), that entry becomes the
371 selected entry. The index of the currently selected entry in a 371 currently selected entry. The index of the currently selected entry in a
372 quickfix/location list can be obtained using the getqflist()/getloclist() 372 quickfix/location list can be obtained using the getqflist()/getloclist()
373 functions. Examples: > 373 functions. Examples: >
374 echo getqflist({'idx' : 0}).idx 374 echo getqflist({'idx' : 0}).idx
375 echo getqflist({'id' : qfid, 'idx' : 0}).idx 375 echo getqflist({'id' : qfid, 'idx' : 0}).idx
376 echo getloclist(2, {'idx' : 0}).idx 376 echo getloclist(2, {'idx' : 0}).idx