comparison runtime/doc/quickfix.txt @ 17433:ca8e754bdd53

Update runtime files commit https://github.com/vim/vim/commit/85850f3a5ef9f5a9d22e908ef263de8faa265a95 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 19 22:05:51 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jul 2019 22:15:08 +0200
parents d23afa4d8b63
children 95c23e180022
comparison
equal deleted inserted replaced
17432:d13620591637 17433:ca8e754bdd53
1 *quickfix.txt* For Vim version 8.1. Last change: 2019 Jun 02 1 *quickfix.txt* For Vim version 8.1. Last change: 2019 Jul 15
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
648 *CTRL-W_<Enter>* *CTRL-W_<CR>* 648 *CTRL-W_<Enter>* *CTRL-W_<CR>*
649 You can use CTRL-W <Enter> to open a new window and jump to the error there. 649 You can use CTRL-W <Enter> to open a new window and jump to the error there.
650 650
651 When the quickfix window has been filled, two autocommand events are 651 When the quickfix window has been filled, two autocommand events are
652 triggered. First the 'filetype' option is set to "qf", which triggers the 652 triggered. First the 'filetype' option is set to "qf", which triggers the
653 FileType event. Then the BufReadPost event is triggered, using "quickfix" for 653 FileType event (also see |qf.vim|). Then the BufReadPost event is triggered,
654 the buffer name. This can be used to perform some action on the listed 654 using "quickfix" for the buffer name. This can be used to perform some action
655 errors. Example: > 655 on the listed errors. Example: >
656 au BufReadPost quickfix setlocal modifiable 656 au BufReadPost quickfix setlocal modifiable
657 \ | silent exe 'g/^/s//\=line(".")." "/' 657 \ | silent exe 'g/^/s//\=line(".")." "/'
658 \ | setlocal nomodifiable 658 \ | setlocal nomodifiable
659 This prepends the line number to each line. Note the use of "\=" in the 659 This prepends the line number to each line. Note the use of "\=" in the
660 substitute string of the ":s" command, which is used to evaluate an 660 substitute string of the ":s" command, which is used to evaluate an