aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-15 18:03:22 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-15 18:03:22 +0100
commite08110886d443b62ed40e01f3237880aa848f648 (patch)
tree091e6d74f4ce1980e29b483fff0d2011f3e01631
parent4f82186f72f6e29ca658f8ea6161d9acd15f8620 (diff)
update to irssi, newsboat, tmux (no mouse), arkenfox and vim
-rw-r--r--irssi_config346
-rw-r--r--newsboat/config4
-rw-r--r--tmux.conf5
-rw-r--r--user-overrides.js19
m---------vim/plugged/ale0
-rw-r--r--vim/vimrc1
6 files changed, 371 insertions, 4 deletions
diff --git a/irssi_config b/irssi_config
new file mode 100644
index 0000000..049c9c4
--- /dev/null
+++ b/irssi_config
@@ -0,0 +1,346 @@
+servers = (
+ { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
+ {
+ address = "ssl.efnet.org";
+ chatnet = "EFNet";
+ port = "9999";
+ use_tls = "yes";
+ },
+ {
+ address = "irc.esper.net";
+ chatnet = "EsperNet";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ },
+ {
+ address = "chat.freenode.net";
+ chatnet = "Freenode";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ },
+ {
+ address = "irc.gamesurge.net";
+ chatnet = "GameSurge";
+ port = "6667";
+ },
+ {
+ address = "eu.irc6.net";
+ chatnet = "IRCnet";
+ port = "6667";
+ use_tls = "yes";
+ },
+ { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
+ {
+ address = "irc.ircsource.net";
+ chatnet = "IRCSource";
+ port = "6667";
+ },
+ { address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
+ {
+ address = "irc.oftc.net";
+ chatnet = "OFTC";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ },
+ {
+ address = "irc.quakenet.org";
+ chatnet = "QuakeNet";
+ port = "6667";
+ },
+ {
+ address = "irc.rizon.net";
+ chatnet = "Rizon";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ },
+ { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
+ {
+ address = "irc.undernet.org";
+ chatnet = "Undernet";
+ port = "6667";
+ },
+ {
+ address = "16693433.xyz";
+ chatnet = "liberachat";
+ port = "5989";
+ password = REFER TO PASSWORD MANAGER FOR THIS
+ use_tls = "yes";
+ tls_verify = "no";
+ autoconnect = "yes";
+ }
+);
+
+chatnets = {
+ DALnet = {
+ type = "IRC";
+ max_kicks = "4";
+ max_msgs = "20";
+ max_whois = "30";
+ };
+ EFNet = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "4";
+ max_whois = "1";
+ };
+ EsperNet = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "4";
+ max_whois = "1";
+ };
+ Freenode = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "4";
+ max_whois = "1";
+ };
+ GameSurge = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ IRCnet = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ IRCSource = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "4";
+ max_whois = "1";
+ };
+ NetFuze = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
+ QuakeNet = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ Rizon = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ SILC = { type = "SILC"; };
+ Undernet = {
+ type = "IRC";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
+ liberachat = { type = "IRC"; };
+};
+
+channels = (
+ { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
+ { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
+ { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
+ { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
+ { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
+ { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
+ { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
+ { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
+ { name = "silc"; chatnet = "SILC"; autojoin = "No"; }
+);
+
+aliases = {
+ ATAG = "WINDOW SERVER";
+ ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{visible_name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
+ B = "BAN";
+ BACK = "AWAY";
+ BANS = "BAN";
+ BYE = "QUIT";
+ C = "CLEAR";
+ CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
+ CHAT = "DCC CHAT";
+ DATE = "TIME";
+ DEHIGHLIGHT = "DEHILIGHT";
+ DESCRIBE = "ACTION";
+ DHL = "DEHILIGHT";
+ EXEMPTLIST = "MODE $C +e";
+ EXIT = "QUIT";
+ GOTO = "SCROLLBACK GOTO";
+ HIGHLIGHT = "HILIGHT";
+ HL = "HILIGHT";
+ HOST = "USERHOST";
+ INVITELIST = "MODE $C +I";
+ J = "JOIN";
+ K = "KICK";
+ KB = "KICKBAN";
+ KN = "KNOCKOUT";
+ LAST = "LASTLOG";
+ LEAVE = "PART";
+ M = "MSG";
+ MUB = "UNBAN *";
+ N = "NAMES";
+ NMSG = "^MSG";
+ P = "PART";
+ Q = "QUERY";
+ RESET = "SET -default";
+ RUN = "SCRIPT LOAD";
+ SAY = "MSG *";
+ SB = "SCROLLBACK";
+ SBAR = "STATUSBAR";
+ SIGNOFF = "QUIT";
+ SV = "MSG * Irssi $J ($V) - https://irssi.org";
+ T = "TOPIC";
+ UB = "UNBAN";
+ UMODE = "MODE $N";
+ UNSET = "SET -clear";
+ W = "WHO";
+ WC = "WINDOW CLOSE";
+ WG = "WINDOW GOTO";
+ WJOIN = "JOIN -window";
+ WI = "WHOIS";
+ WII = "WHOIS $0 $0";
+ WL = "WINDOW LIST";
+ WN = "WINDOW NEW HIDDEN";
+ WQUERY = "QUERY -window";
+ WW = "WHOWAS";
+};
+
+statusbar = {
+
+ items = {
+
+ barstart = "{sbstart}";
+ barend = "{sbend}";
+
+ topicbarstart = "{topicsbstart}";
+ topicbarend = "{topicsbend}";
+
+ time = "{sb $Z}";
+ user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
+
+ window = "{sb $winref:$tag/$itemname{sbmode $M}}";
+ window_empty = "{sb $winref{sbservertag $tag}}";
+
+ prompt = "{prompt $[.15]itemname}";
+ prompt_empty = "{prompt $winname}";
+
+ topic = " $topic";
+ topic_empty = " Irssi v$J - https://irssi.org";
+
+ lag = "{sb Lag: $0-}";
+ act = "{sb Act: $0-}";
+ more = "-- more --";
+ };
+
+ default = {
+
+ window = {
+
+ disabled = "no";
+ type = "window";
+ placement = "bottom";
+ position = "1";
+ visible = "active";
+
+ items = {
+ barstart = { priority = "100"; };
+ time = { };
+ user = { };
+ window = { };
+ window_empty = { };
+ lag = { priority = "-1"; };
+ act = { priority = "10"; };
+ more = { priority = "-1"; alignment = "right"; };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+
+ window_inact = {
+
+ type = "window";
+ placement = "bottom";
+ position = "1";
+ visible = "inactive";
+
+ items = {
+ barstart = { priority = "100"; };
+ window = { };
+ window_empty = { };
+ more = { priority = "-1"; alignment = "right"; };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+
+ prompt = {
+
+ type = "root";
+ placement = "bottom";
+ position = "100";
+ visible = "always";
+
+ items = {
+ prompt = { priority = "-1"; };
+ prompt_empty = { priority = "-1"; };
+ input = { priority = "10"; };
+ };
+ };
+
+ topic = {
+
+ type = "root";
+ placement = "top";
+ position = "1";
+ visible = "always";
+
+ items = {
+ topicbarstart = { priority = "100"; };
+ topic = { };
+ topic_empty = { };
+ topicbarend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ awl_0 = {
+ items = {
+ barstart = { priority = "100"; };
+ awl_0 = { };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ };
+};
+ignores = (
+ {
+ level = "JOINS PARTS QUITS NICKS";
+ channels = (
+ "#openbsd",
+ "##openbsd",
+ "#python",
+ "#taskwarrior",
+ "#django",
+ "#vim",
+ "#debian",
+ "#plaintextaccounting",
+ "#irssi",
+ "#qutebrowser",
+ "#vim",
+ "##cycling",
+ "#fsf",
+ "#perl",
+ "#freenode"
+ );
+ }
+);
+settings = {
+ core = { real_name = "Lemon"; user_name = "lemon"; nick = "yulqen"; };
+ "fe-text" = { actlist_sort = "refnum"; };
+};
+logs = { };
diff --git a/newsboat/config b/newsboat/config
index 5c4888a..4126070 100644
--- a/newsboat/config
+++ b/newsboat/config
@@ -61,8 +61,8 @@ macro y set browser "get-newsboat-comment.sh %u" ; open-in-browser ; set browser
# color info default black
# color article default default
-#confirm-mark-all-feeds-read no
-#confirm-mark-feed-read no
+confirm-mark-all-feeds-read no
+confirm-mark-feed-read no
show-read-articles no
diff --git a/tmux.conf b/tmux.conf
index c46cc46..058799e 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -91,7 +91,10 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# also copy to system clipboard
-#bind -t vi-copy y copy-pipe "xclip -sel clip -i"
+bind -T vi-copy y copy-pipe "xclip -sel clip -i"
+
+# enable copy and paste with the mouse!
+set -g mouse off
# geohot colors
set -g status-position bottom
diff --git a/user-overrides.js b/user-overrides.js
new file mode 100644
index 0000000..9a6d3cc
--- /dev/null
+++ b/user-overrides.js
@@ -0,0 +1,19 @@
+/* from https://www.paulsprogrammingnotes.com/2021/12/arkenfox.html */
+/* re-enable location bar using search ***/
+user_pref("keyword.enabled", true);
+
+/* 0804: disable live search suggestions
+ * [NOTE] Both must be true for the location bar to work
+ * [SETUP-CHROME] Override these if you trust and use a privacy respecting search engine
+ * [SETTING] Search>Provide search suggestions | Show search suggestions in address bar results ***/
+user_pref("browser.search.suggest.enabled", true);
+user_pref("browser.urlbar.suggest.searches", true);
+
+/* override recipe: enable session restore ***/
+user_pref("browser.startup.page", 3); // 0102
+user_pref("browser.privatebrowsing.autostart", false); // 0110 required if you had it set as true
+user_pref("places.history.enabled", true); // 0862 required if you had it set as false
+user_pref("browser.sessionstore.privacy_level", 0); // 1003 optional [to restore cookies/formdata]
+user_pref("network.cookie.lifetimePolicy", 0); // 2801 optional [so cookies persist]
+user_pref("privacy.clearOnShutdown.history", false); // 2811
+user_pref("privacy.cpd.history", false); // 2812 to match when you use Ctrl-Shift-Del
diff --git a/vim/plugged/ale b/vim/plugged/ale
-Subproject f085227504076dff5224cbf10cb1bf83286188a
+Subproject 951a668b1490f0b3dcdcec6b4ebf3f626c0f416
diff --git a/vim/vimrc b/vim/vimrc
index 39d539d..b34edc9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -223,7 +223,6 @@ let g:jedi#rename_command = "<leader>r"
" test
nmap <silent> t<C-n> :TestNearest<CR>
-nmap <silent> t<C-f> :TestFile<CR>
nmap <silent> t<C-s> :TestSuite<CR>
"nmap <silent> t<C-l> :TestLast<CR>
nmap <silent> <S-F10> :TestLast<CR>