vim-togglelist icon indicating copy to clipboard operation
vim-togglelist copied to clipboard

option to focus on loc list / qf list when toggled

Open benjumanji opened this issue 11 years ago • 4 comments

Would it be possible to add an option so that l (c resp.) would not only toggle the list but switch focus to it on opening? I would love to patch this but my vimL is well, not good enough to understand window management commands.

benjumanji avatar Apr 18 '14 17:04 benjumanji

hey ben, i actually don't use this anymore so I apologize in advance. I am sure this is possible but I don't have any time to do this. we can leave this open and see if anyone jumps in and adds it. i also haven't done any viml in a long time.

On Fri, Apr 18, 2014 at 10:58 AM, Benjamin Edwards <[email protected]

wrote:

Would it be possible to add an option so that l (c resp.) would not only toggle the list but switch focus to it on opening? I would love to patch this but my vimL is well, not good enough to understand window management commands.

— Reply to this email directly or view it on GitHubhttps://github.com/milkypostman/vim-togglelist/issues/6 .

milkypostman avatar Apr 18 '14 18:04 milkypostman

Thanks letting me know! I will go and harrass some vim experts and see if I can't rustle up a patch.

benjumanji avatar Apr 18 '14 18:04 benjumanji

Gained some wisdom via reddit. Unless you hate it, please merge #7.

benjumanji avatar Apr 19 '14 09:04 benjumanji

In case anyone ends up here looking for a solution, this blog post was written this year which helps with the toggling capability and solves this particular issue of jumping the cursor to the quickfix window also!

https://rafaelleru.github.io/blog/quickfix-autocomands/

acesaro avatar Sep 20 '21 15:09 acesaro