IRSSI tips and tricks

Date:2014-10-28

Auto-close your queries after some time

#/set autoclose_query <time in secs>
/set autoclose_query 84600 #for a day
/save

Don’t display the IRSSI password on the status bar

For these shoulder-surfing colleagues... :)

/set chanmode_expando_strip on
/save

Automatically save channel passwords on change

Use the awesome script by Gavin https://people.mozilla.com/~gavin/irssi/scripts/rememberpass.pl

Download, check it’s contents. Put it in $HOME/.irssi/scripts/autorun

Go in IRSSI, type:

/script load rememberpass

Search IRSSI buffer (the window backlog)

Use http://scripts.irssi.org/scripts/history_search.pl

Download, check it’s contents. Put it in $HOME/.irssi/scripts/autorun

Go in IRSSI, type:

/script load history_search

Use alt+0-99 for IRSSI buffer (window) switch

It’s a little verbose but that’s the way to do it.

keyboard = (
  { key = "win0-win0"; id = "change_window"; data = "00"; },
  { key = "win0-win1"; id = "change_window"; data = "01"; },
  { key = "win0-win2"; id = "change_window"; data = "02"; },
  { key = "win0-win3"; id = "change_window"; data = "03"; },
  { key = "win0-win4"; id = "change_window"; data = "04"; },
  { key = "win0-win5"; id = "change_window"; data = "05"; },
  { key = "win0-win6"; id = "change_window"; data = "06"; },
  { key = "win0-win7"; id = "change_window"; data = "07"; },
  { key = "win0-win8"; id = "change_window"; data = "08"; },
  { key = "win0-win9"; id = "change_window"; data = "09"; },
  { key = "win1-win0"; id = "change_window"; data = "10"; },
  { key = "win1-win1"; id = "change_window"; data = "11"; },
  { key = "win1-win2"; id = "change_window"; data = "12"; },
  { key = "win1-win3"; id = "change_window"; data = "13"; },
  { key = "win1-win4"; id = "change_window"; data = "14"; },
  { key = "win1-win5"; id = "change_window"; data = "15"; },
  { key = "win1-win6"; id = "change_window"; data = "16"; },
  { key = "win1-win7"; id = "change_window"; data = "17"; },
  { key = "win1-win8"; id = "change_window"; data = "18"; },
  { key = "win1-win9"; id = "change_window"; data = "19"; },
  { key = "win2-win0"; id = "change_window"; data = "20"; },
  { key = "win2-win1"; id = "change_window"; data = "21"; },
  { key = "win2-win2"; id = "change_window"; data = "22"; },
  { key = "win2-win3"; id = "change_window"; data = "23"; },
  { key = "win2-win4"; id = "change_window"; data = "24"; },
  { key = "win2-win5"; id = "change_window"; data = "25"; },
  { key = "win2-win6"; id = "change_window"; data = "26"; },
  { key = "win2-win7"; id = "change_window"; data = "27"; },
  { key = "win2-win8"; id = "change_window"; data = "28"; },
  { key = "win2-win9"; id = "change_window"; data = "29"; },
  { key = "win3-win0"; id = "change_window"; data = "30"; },
  { key = "win3-win1"; id = "change_window"; data = "31"; },
  { key = "win3-win2"; id = "change_window"; data = "32"; },
  { key = "win3-win3"; id = "change_window"; data = "33"; },
  { key = "win3-win4"; id = "change_window"; data = "34"; },
  { key = "win3-win5"; id = "change_window"; data = "35"; },
  { key = "win3-win6"; id = "change_window"; data = "36"; },
  { key = "win3-win7"; id = "change_window"; data = "37"; },
  { key = "win3-win8"; id = "change_window"; data = "38"; },
  { key = "win3-win9"; id = "change_window"; data = "39"; },
  { key = "win4-win0"; id = "change_window"; data = "40"; },
  { key = "win4-win1"; id = "change_window"; data = "41"; },
  { key = "win4-win2"; id = "change_window"; data = "42"; },
  { key = "win4-win3"; id = "change_window"; data = "43"; },
  { key = "win4-win4"; id = "change_window"; data = "44"; },
  { key = "win4-win5"; id = "change_window"; data = "45"; },
  { key = "win4-win6"; id = "change_window"; data = "46"; },
  { key = "win4-win7"; id = "change_window"; data = "47"; },
  { key = "win4-win8"; id = "change_window"; data = "48"; },
  { key = "win4-win9"; id = "change_window"; data = "49"; },
  { key = "win5-win0"; id = "change_window"; data = "50"; },
  { key = "win5-win1"; id = "change_window"; data = "51"; },
  { key = "win5-win2"; id = "change_window"; data = "52"; },
  { key = "win5-win3"; id = "change_window"; data = "53"; },
  { key = "win5-win4"; id = "change_window"; data = "54"; },
  { key = "win5-win5"; id = "change_window"; data = "55"; },
  { key = "win5-win6"; id = "change_window"; data = "56"; },
  { key = "win5-win7"; id = "change_window"; data = "57"; },
  { key = "win5-win8"; id = "change_window"; data = "58"; },
  { key = "win5-win9"; id = "change_window"; data = "59"; },
  { key = "win6-win0"; id = "change_window"; data = "60"; },
  { key = "win6-win1"; id = "change_window"; data = "61"; },
  { key = "win6-win2"; id = "change_window"; data = "62"; },
  { key = "win6-win3"; id = "change_window"; data = "63"; },
  { key = "win6-win4"; id = "change_window"; data = "64"; },
  { key = "win6-win5"; id = "change_window"; data = "65"; },
  { key = "win6-win6"; id = "change_window"; data = "66"; },
  { key = "win6-win7"; id = "change_window"; data = "67"; },
  { key = "win6-win8"; id = "change_window"; data = "68"; },
  { key = "win6-win9"; id = "change_window"; data = "69"; },
  { key = "win7-win0"; id = "change_window"; data = "70"; },
  { key = "win7-win1"; id = "change_window"; data = "71"; },
  { key = "win7-win2"; id = "change_window"; data = "72"; },
  { key = "win7-win3"; id = "change_window"; data = "73"; },
  { key = "win7-win4"; id = "change_window"; data = "74"; },
  { key = "win7-win5"; id = "change_window"; data = "75"; },
  { key = "win7-win6"; id = "change_window"; data = "76"; },
  { key = "win7-win7"; id = "change_window"; data = "77"; },
  { key = "win7-win8"; id = "change_window"; data = "78"; },
  { key = "win7-win9"; id = "change_window"; data = "79"; },
  { key = "win8-win0"; id = "change_window"; data = "80"; },
  { key = "win8-win1"; id = "change_window"; data = "81"; },
  { key = "win8-win2"; id = "change_window"; data = "82"; },
  { key = "win8-win3"; id = "change_window"; data = "83"; },
  { key = "win8-win4"; id = "change_window"; data = "84"; },
  { key = "win8-win5"; id = "change_window"; data = "85"; },
  { key = "win8-win6"; id = "change_window"; data = "86"; },
  { key = "win8-win7"; id = "change_window"; data = "87"; },
  { key = "win8-win8"; id = "change_window"; data = "88"; },
  { key = "win8-win9"; id = "change_window"; data = "89"; },
  { key = "win9-win0"; id = "change_window"; data = "90"; },
  { key = "win9-win1"; id = "change_window"; data = "91"; },
  { key = "win9-win2"; id = "change_window"; data = "92"; },
  { key = "win9-win3"; id = "change_window"; data = "93"; },
  { key = "win9-win4"; id = "change_window"; data = "94"; },
  { key = "win9-win5"; id = "change_window"; data = "95"; },
  { key = "win9-win6"; id = "change_window"; data = "96"; },
  { key = "win9-win7"; id = "change_window"; data = "97"; },
  { key = "win9-win8"; id = "change_window"; data = "98"; },
  { key = "win9-win9"; id = "change_window"; data = "99"; },
  { key = "meta-1"; id = "key"; data = "win1"; },
  { key = "meta-2"; id = "key"; data = "win2"; },
  { key = "meta-3"; id = "key"; data = "win3"; },
  { key = "meta-4"; id = "key"; data = "win4"; },
  { key = "meta-5"; id = "key"; data = "win5"; },
  { key = "meta-6"; id = "key"; data = "win6"; },
  { key = "meta-7"; id = "key"; data = "win7"; },
  { key = "meta-8"; id = "key"; data = "win8"; },
  { key = "meta-9"; id = "key"; data = "win9"; },
  { key = "meta-0"; id = "key"; data = "win0"; },
);