scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Go.py: Jump to window if available

Open raku-cat opened this issue 10 years ago • 1 comments

It would make things work a little less messier if there was an option to make it so instead of switching the active window to the specified buffer, to instead see if said buffer is already open in a window, and if so switch to that window, and then if not act as normal(change active window's buffer).

raku-cat avatar Jun 15 '15 08:06 raku-cat

Singlaut made a version of the script that allows for just doing /go and then the result of the search will switch to the buffers's window or switch to the buffer in the active window, it doesn't work with "/go buffname" and you can't turn it off, so I don't know if it's necessarily ready to be a pull request, but it's a start and it works for my needs. Here's the link http://gist.github.com/tomoe-mami/f60faee9464818b5af3b

raku-cat avatar Jun 16 '15 05:06 raku-cat