On Monday, January 20, 2014 1:37:10 AM UTC+1, Gary Johnson wrote:
> One problem I've found with using the quickfix window is that when
>
> it is open, the quickfix list traversal commands :cn, :cp, etc., no
>
> longer display "(n of m)" in the command line.
>
>
>
> To work around that problem, I set a 'statusline' in my
>
> ~/.vim/after/ftplugin/qf.vim which is the same as the value set in
>
> $VIMRUNTIME/ftplugin/qf.vim but with the addition of " (%l\ of\ %L)"
>
> at the start of this line.
>
>
>
> setlocal stl=%t\ (%l\ of\ %L)%{exists('w:quickfix_title')?\ '\
> '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P
>
>
>
> If others agree that this is generally useful and doesn't take too
>
> much room on the status line (I typically run Vim in a 208-column
>
> window), I propose that this change be made to the standard qf.vim.
>
>
>
> Regards,
>
> Gary
I really like that addition, it's very useful!
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.