taskWeeChat - Tasks: task #9089, Switch to window by typing window...

 
 

task #9089: Switch to window by typing window name

Submitter:  Ilmari Vacklin <wolverian>
Submitted:  Mon 02 Feb 2009 11:08:00 PM UTC
   
 
Category:  commands Should Start On:  Mon 02 Feb 2009 12:00:00 AM UTC
Should be Finished on:  Mon 02 Feb 2009 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  None IRC nick:  wolverian
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 08 Feb 2009 06:53:27 PM UTC, comment #4: 

Done (changes made in API). New script go.py is now available.

Sebastien Helleu <flashcode>
Group administrator
Tue 03 Feb 2009 01:11:22 PM UTC, comment #3: 

Less typing, that's ok for me, it's good reason.
I'll tell you soon if it's possible with current API, or needs some changes.

Just for your information, today "/buffer name" works with partial name (even if it could not be completed in that case).

Sebastien Helleu <flashcode>
Group administrator
Tue 03 Feb 2009 01:08:14 PM UTC, comment #2: 

Yes, I'd rather get a hotkey. It's simply less typing.

Additionally, the Irssi plugin matches windows also based on whether the user's input is a substring in the channel name, so that you can type a substring from the middle of a name, and it will work. Admittedly this is orthogonal to the hotkey issue, though the fact that buffer names in Weechat include the leading server name makes using /buffer without this feature harder.

Also, possible completions could be shown on the statusbar (a la some modes of Vim's normal mode autocompletion).

Ilmari Vacklin <wolverian>
Tue 03 Feb 2009 12:56:58 PM UTC, comment #1: 

You can switch to other buffer wich /buffer <name> (tab completion works for buffer name). Is that ok, or would you like special input with a key, like you asked ?

Sebastien Helleu <flashcode>
Group administrator
Mon 02 Feb 2009 11:08:00 PM UTC, original submission:  

This would work like the ^R searching mode: after pressing the hotkey combination, you could type a part of a channel/window name, and Weechat would suggest which one you mean, and pressing enter would switch to that window.

For reference, the following script implements the above for Irssi: http://www.genericorp.net/~count/irssi/go/go2.pl

If this can be implemented via the (dev) script API, I could try that.

Ilmari Vacklin <wolverian>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by wolverian (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-06 flashcode Open/ClosedOpen Closed
    2009-02-08 flashcode StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code