Re: Proposal: New command/feature for quickfix

2006-06-29 Thread Jochen Baier
On Wed, Jun 28, 2006 at 03:26:04PM -0700, Yegappan Lakshmanan wrote:
 Hi,
 
 On 6/28/06, Nikolai Weibull [EMAIL PROTECTED] wrote:
 On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote:
  On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote:
   Dnia ?roda, 28 czerwca 2006 22:07, Jochen Baier napisa?:
i think a command like cbefore or croot could be
usefull. using this command after a quickfix trip (vimgrep,
  
   Doesn't c-o fulfill your request?
  
   m.
 
  no
 
 Good answer ;-).  Short and to the point.
 
 However, further explanation may be necessary.
 
 C-o just gets you back to the previous position in the jump list (or
 [count]), but this would be a complete reset to the point where you
 were before beginning to use the change list commands.
 
 
 You can try using the attached qf.vim plugin. Save the file to the
 $HOME/.vim/plugin or $HOME/vimfiles/plugin directory.

hi,

i used the qf.vim script to make a crestore.vim script.

see: http://www.vim.org/scripts/script.php?script_id=1592

seems to be usefull

regards jochen

 



Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Mikolaj Machowski
Dnia środa, 28 czerwca 2006 22:07, Jochen Baier napisał:
 i think a command like cbefore or croot could be
 usefull. using this command after a quickfix trip (vimgrep,

Doesn't c-o fulfill your request?

m.



Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Nikolai Weibull

On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote:

On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote:
 Dnia ?roda, 28 czerwca 2006 22:07, Jochen Baier napisa?:
  i think a command like cbefore or croot could be
  usefull. using this command after a quickfix trip (vimgrep,

 Doesn't c-o fulfill your request?

 m.

no


Good answer ;-).  Short and to the point.

However, further explanation may be necessary.

C-o just gets you back to the previous position in the jump list (or
[count]), but this would be a complete reset to the point where you
were before beginning to use the change list commands.

 nikolai (who seriously wants to gouge out his eyes - eye infections suck!)


Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Yegappan Lakshmanan

Hi,

On 6/28/06, Nikolai Weibull [EMAIL PROTECTED] wrote:

On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote:
 On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote:
  Dnia ?roda, 28 czerwca 2006 22:07, Jochen Baier napisa?:
   i think a command like cbefore or croot could be
   usefull. using this command after a quickfix trip (vimgrep,
 
  Doesn't c-o fulfill your request?
 
  m.

 no

Good answer ;-).  Short and to the point.

However, further explanation may be necessary.

C-o just gets you back to the previous position in the jump list (or
[count]), but this would be a complete reset to the point where you
were before beginning to use the change list commands.



You can try using the attached qf.vim plugin. Save the file to the
$HOME/.vim/plugin or $HOME/vimfiles/plugin directory.

This plugin saves the current location in the file before executing
a quickfix command like grep, vimgrep, make, etc. The locations
are maintained in a stack.

You can display the stack using the :QfShow command. You can pop
an entry from the stack and jump to that file location using the :QfPop
command. This command also accepts a count and allows you to pop
multiple entries.

- Yegappan


qf.vim
Description: application/octetstream