From 810bab113b5c3f640957252532c673aefcf628fa Mon Sep 17 00:00:00 2001
From: Mateja <mail@matejamaric.com>
Date: Sat, 10 Apr 2021 18:46:33 +0200
Subject: Better tmux and irc notes.

---
 irc  | 11 ++++++++---
 tmux |  4 ++--
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/irc b/irc
index b7ea178..25efc20 100644
--- a/irc
+++ b/irc
@@ -1,18 +1,23 @@
 # irssi
 /set nick yourNick
-/connect chat.freenode.net
+/connect -tls chat.freenode.net
 /join #channelname
 
 # private msg
 /msg user text
 
 # to mention someone, just use their nick
+
+# search channels
 /msg alis LIST *searchterm*
 
 # https://lug.oregonstate.edu/blog/irc-and-ssl/
 /server add -ssl_verify chat.freenode.net 6697
 
-/connect -tls chat.freenode.net
-
 /connect -tls chat.freenode.net ACCOUNT:PASSWORD
 /msg NickServ identify PASSWORD
+
+# auto login to freenode
+/network add -sasl_username <login> -sasl_password <password> -sasl_mechanism PLAIN freenode
+/server add -auto -net freenode -ssl -ssl_verify chat.freenode.net 6697
+/save
diff --git a/tmux b/tmux
index 8ac6015..f9efd2e 100644
--- a/tmux
+++ b/tmux
@@ -18,8 +18,8 @@ Ctrl+b c Create a new window (with shell)
 
 Ctrl+b w Choose window from a list
 Ctrl+b 0 Switch to window 0 (by number )
-Ctrl+n   Switch to next window
-Ctrl+p   Switch to previous window
+Ctrl+b n Switch to next window
+Ctrl+b p Switch to previous window
 
 Ctrl+b , Rename the current window
 
-- 
cgit v1.2.3