diff --git a/weechat/alias.conf b/weechat/alias.conf index 4a12799..fa1f577 100644 --- a/weechat/alias.conf +++ b/weechat/alias.conf @@ -1,6 +1,13 @@ # # weechat -- alias.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [cmd] AAWAY = "allserv /away" diff --git a/weechat/aspell.conf b/weechat/aspell.conf index c3d12dc..27b16b8 100644 --- a/weechat/aspell.conf +++ b/weechat/aspell.conf @@ -1,10 +1,19 @@ # # weechat -- aspell.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [color] misspelled = lightred -suggestions = default +suggestion = default +suggestion_delimiter_dict = cyan +suggestion_delimiter_word = cyan [check] commands = "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic" @@ -17,4 +26,8 @@ word_min_length = 2 [dict] +[look] +suggestion_delimiter_dict = " / " +suggestion_delimiter_word = "," + [option] diff --git a/weechat/buflist.conf b/weechat/buflist.conf new file mode 100644 index 0000000..d285f89 --- /dev/null +++ b/weechat/buflist.conf @@ -0,0 +1,39 @@ +# +# weechat -- buflist.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +add_newline = on +auto_scroll = 50 +display_conditions = "${buffer.hidden}==0" +enabled = on +mouse_jump_visited_buffer = off +mouse_move_buffer = on +mouse_wheel = on +nick_prefix = off +nick_prefix_empty = on +signals_refresh = "" +sort = "number,-active" + +[format] +buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}" +buffer_current = "${color:,blue}${format_buffer}" +hotlist = " ${color:green}(${hotlist}${color:green})" +hotlist_highlight = "${color:magenta}" +hotlist_low = "${color:white}" +hotlist_message = "${color:brown}" +hotlist_none = "${color:default}" +hotlist_private = "${color:green}" +hotlist_separator = "${color:default}," +indent = " " +lag = " ${color:green}[${color:brown}${lag}${color:green}]" +name = "${name}" +nick_prefix = "${color_nick_prefix}${nick_prefix}" +number = "${color:green}${number}${if:${number_displayed}?.: }" diff --git a/weechat/charset.conf b/weechat/charset.conf index 99a90d5..00d304c 100644 --- a/weechat/charset.conf +++ b/weechat/charset.conf @@ -1,6 +1,13 @@ # # weechat -- charset.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [default] decode = "iso-8859-1" diff --git a/weechat/exec.conf b/weechat/exec.conf index 39f1929..519ccc1 100644 --- a/weechat/exec.conf +++ b/weechat/exec.conf @@ -1,6 +1,13 @@ # # weechat -- exec.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [command] default_options = "" diff --git a/weechat/fifo.conf b/weechat/fifo.conf new file mode 100644 index 0000000..904985d --- /dev/null +++ b/weechat/fifo.conf @@ -0,0 +1,14 @@ +# +# weechat -- fifo.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[file] +enabled = on +path = "%h/weechat_fifo" diff --git a/weechat/fset.conf b/weechat/fset.conf new file mode 100644 index 0000000..668266c --- /dev/null +++ b/weechat/fset.conf @@ -0,0 +1,95 @@ +# +# weechat -- fset.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +auto_unmark = off +condition_catch_set = "${count} >= 1" +export_help_default = on +format_number = 1 +marked_string = "*" +scroll_horizontal = 10 +show_plugins_desc = off +sort = "~name" +unmarked_string = " " +use_color_value = off +use_keys = on +use_mute = off + +[format] +export_help = "# ${description2}" +export_option = "/set ${name} ${quoted_value}" +export_option_null = "/unset ${name}" +option1 = "" +option2 = "${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}" + +[color] +default_value = default +default_value_selected = white +description = default +description_selected = white +file = default +file_changed = brown +file_changed_selected = yellow +file_selected = white +help_default_value = white +help_description = default +help_name = white +help_quotes = darkgray +help_values = default +index = cyan +index_selected = lightcyan +line_marked_bg1 = default +line_marked_bg2 = default +line_selected_bg1 = blue +line_selected_bg2 = red +marked = brown +marked_selected = yellow +max = default +max_selected = white +min = default +min_selected = white +name = default +name_changed = brown +name_changed_selected = yellow +name_selected = white +option = default +option_changed = brown +option_changed_selected = yellow +option_selected = white +parent_name = default +parent_name_selected = white +parent_value = cyan +parent_value_selected = lightcyan +quotes = darkgray +quotes_changed = default +quotes_changed_selected = white +quotes_selected = default +section = default +section_changed = brown +section_changed_selected = yellow +section_selected = white +string_values = default +string_values_selected = white +title_count_options = cyan +title_current_option = lightcyan +title_filter = yellow +title_marked_options = lightgreen +title_sort = white +type = green +type_selected = lightgreen +unmarked = default +unmarked_selected = white +value = cyan +value_changed = brown +value_changed_selected = yellow +value_selected = lightcyan +value_undef = magenta +value_undef_selected = lightmagenta diff --git a/weechat/irc.conf b/weechat/irc.conf index 45e6846..0439dcb 100644 --- a/weechat/irc.conf +++ b/weechat/irc.conf @@ -1,6 +1,13 @@ # # weechat -- irc.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] buffer_open_before_autojoin = on @@ -27,7 +34,6 @@ highlight_channel = "$nick" highlight_pv = "$nick" highlight_server = "$nick" highlight_tags_restrict = "irc_privmsg,irc_notice" -item_away_message = on item_channel_modes_hide_args = "k" item_display_server = buffer_plugin item_nick_modes = on @@ -36,9 +42,6 @@ join_auto_add_chantype = off msgbuffer_fallback = current new_channel_position = none new_pv_position = none -nick_color_force = "" -nick_color_hash = sum -nick_color_stop_chars = "_|[" nick_completion_smart = speakers nick_mode = prefix nick_mode_empty = off @@ -65,7 +68,6 @@ topic_strip_colors = off [color] input_nick = lightcyan -item_away = yellow item_channel_modes = default item_lag_counting = default item_lag_finished = yellow @@ -94,6 +96,7 @@ lag_reconnect = 0 lag_refresh_interval = 1 notify_check_ison = 1 notify_check_whois = 5 +sasl_fail_unavailable = on send_unknown_commands = off whois_double_nick = on @@ -119,11 +122,11 @@ capabilities = "" command = "" command_delay = 0 connection_timeout = 60 -default_msg_kick = "" -default_msg_part = "WeeChat %v" -default_msg_quit = "WeeChat %v" ipv6 = off local_hostname = "" +msg_kick = "" +msg_part = "WeeChat ${info:version}" +msg_quit = "WeeChat ${info:version}" nicks = "eryn,eryn1,eryn2,eryn3,eryn4" nicks_alternate = on notify = "" @@ -142,6 +145,7 @@ ssl_dhkey_size = 2048 ssl_fingerprint = "" ssl_priorities = "NORMAL" ssl_verify = on +usermode = "" username = "eryn" [server] @@ -170,6 +174,7 @@ freenode.nicks_alternate freenode.username = "erynofwales" freenode.realname = "Eryn Wells" freenode.local_hostname +freenode.usermode freenode.command freenode.command_delay freenode.autojoin @@ -180,7 +185,7 @@ freenode.anti_flood_prio_high freenode.anti_flood_prio_low freenode.away_check freenode.away_check_max_nicks -freenode.default_msg_kick -freenode.default_msg_part -freenode.default_msg_quit +freenode.msg_kick +freenode.msg_part +freenode.msg_quit freenode.notify diff --git a/weechat/logger.conf b/weechat/logger.conf index 89fed53..09b543e 100644 --- a/weechat/logger.conf +++ b/weechat/logger.conf @@ -1,6 +1,13 @@ # # weechat -- logger.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] backlog = 20 diff --git a/weechat/plugins.conf b/weechat/plugins.conf index 6d0e678..30aeb54 100644 --- a/weechat/plugins.conf +++ b/weechat/plugins.conf @@ -1,6 +1,13 @@ # # weechat -- plugins.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [var] fifo.fifo = "on" diff --git a/weechat/relay.conf b/weechat/relay.conf index 2795023..565dd14 100644 --- a/weechat/relay.conf +++ b/weechat/relay.conf @@ -1,6 +1,13 @@ # # weechat -- relay.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] auto_open_buffer = on @@ -18,6 +25,7 @@ text_bg = default text_selected = white [network] +allow_empty_password = off allowed_ips = "" bind_address = "" clients_purge_delay = 0 diff --git a/weechat/script.conf b/weechat/script.conf index ccba937..fe1cc1b 100644 --- a/weechat/script.conf +++ b/weechat/script.conf @@ -1,6 +1,13 @@ # # weechat -- script.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] columns = "%s %n %V %v %u | %d | %t" @@ -47,4 +54,3 @@ download_timeout = 30 hold = "" path = "%h/script" url = "http://www.weechat.org/files/plugins.xml.gz" -url_force_https = on diff --git a/weechat/sec.conf b/weechat/sec.conf index 3672aa7..8c60d03 100644 --- a/weechat/sec.conf +++ b/weechat/sec.conf @@ -1,6 +1,13 @@ # # weechat -- sec.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [crypt] cipher = aes256 diff --git a/weechat/trigger.conf b/weechat/trigger.conf index 6de8bf5..8f6789b 100644 --- a/weechat/trigger.conf +++ b/weechat/trigger.conf @@ -1,6 +1,13 @@ # # weechat -- trigger.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] enabled = on @@ -9,6 +16,7 @@ monitor_strip_colors = off [color] flag_command = lightgreen flag_conditions = yellow +flag_post_action = lightblue flag_regex = lightcyan flag_return_code = lightmagenta regex = white @@ -22,6 +30,7 @@ beep.command = "/print -beep" beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})" beep.enabled = on beep.hook = print +beep.post_action = none beep.regex = "" beep.return_code = ok cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth" @@ -29,6 +38,7 @@ cmd_pass.command = "" cmd_pass.conditions = "" cmd_pass.enabled = on cmd_pass.hook = modifier +cmd_pass.post_action = none cmd_pass.regex = "==^((/(msg|m|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}" cmd_pass.return_code = ok msg_auth.arguments = "5000|irc_message_auth" @@ -36,6 +46,7 @@ msg_auth.command = "" msg_auth.conditions = "" msg_auth.enabled = on msg_auth.hook = modifier +msg_auth.post_action = none msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}" msg_auth.return_code = ok server_pass.arguments = "5000|input_text_display;5000|history_add" @@ -43,5 +54,6 @@ server_pass.command = "" server_pass.conditions = "" server_pass.enabled = on server_pass.hook = modifier +server_pass.post_action = none server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}" server_pass.return_code = ok diff --git a/weechat/weechat.conf b/weechat/weechat.conf index 60e108a..bf2b28b 100644 --- a/weechat/weechat.conf +++ b/weechat/weechat.conf @@ -1,6 +1,13 @@ # # weechat -- weechat.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [debug] @@ -13,6 +20,7 @@ sys_rlimit = "" [look] align_end_of_lines = message +align_multiline_words = on bar_more_down = "++" bar_more_left = "<<" bar_more_right = ">>" @@ -67,6 +75,7 @@ input_cursor_scroll = 20 input_share = none input_share_overwrite = off input_undo_max = 32 +item_away_message = on item_buffer_filter = "*" item_buffer_zoom = "!" item_mouse_status = "M" @@ -78,6 +87,9 @@ key_bind_safe = on key_grab_delay = 800 mouse = off mouse_timer_delay = 100 +nick_color_force = "" +nick_color_hash = djb2 +nick_color_stop_chars = "_|[" nick_prefix = "" nick_suffix = "" paste_auto_add_newline = on @@ -107,6 +119,7 @@ read_marker = line read_marker_always_show = off read_marker_string = "- " save_config_on_exit = on +save_config_with_fsync = off save_layout_on_exit = none scroll_amount = 3 scroll_bottom_after_switch = off @@ -170,6 +183,7 @@ emphasized = yellow emphasized_bg = magenta input_actions = lightgreen input_text_not_found = red +item_away = yellow nicklist_away = cyan nicklist_group = green separator = blue @@ -195,6 +209,7 @@ base_word_until_cursor = on command_inline = on default_template = "%(nicks)|%(irc_channels)" nick_add_space = on +nick_case_sensitive = off nick_completer = ":" nick_first_only = off nick_ignore_chars = "[]`_-^" @@ -227,6 +242,34 @@ path = "%h/plugins" save_config_on_unload = on [bar] +buflist.color_bg = default +buflist.color_delim = default +buflist.color_fg = default +buflist.conditions = "" +buflist.filling_left_right = vertical +buflist.filling_top_bottom = columns_vertical +buflist.hidden = on +buflist.items = "buflist" +buflist.position = left +buflist.priority = 0 +buflist.separator = on +buflist.size = 0 +buflist.size_max = 0 +buflist.type = root +fset.color_bg = default +fset.color_delim = cyan +fset.color_fg = default +fset.conditions = "${buffer.full_name} == fset.fset" +fset.filling_left_right = vertical +fset.filling_top_bottom = horizontal +fset.hidden = off +fset.items = "fset" +fset.position = top +fset.priority = 0 +fset.separator = on +fset.size = 3 +fset.size_max = 3 +fset.type = window input.color_bg = default input.color_delim = cyan input.color_fg = default @@ -289,6 +332,7 @@ title.type = window [notify] [filter] +irc_smart = on;*#megabitsapp*;irc_smart_filter;* [key] ctrl-? = "/input delete_previous_char" @@ -318,6 +362,8 @@ ctrl-U = "/input delete_beginning_of_line" ctrl-W = "/input delete_previous_word" ctrl-X = "/input switch_active_buffer" ctrl-Y = "/input clipboard_paste" +meta-meta-OP = "/bar scroll buflist * b" +meta-meta-OQ = "/bar scroll buflist * e" meta-meta2-1~ = "/window scroll_top" meta-meta2-23~ = "/bar scroll nicklist * b" meta-meta2-24~ = "/bar scroll nicklist * e" @@ -350,6 +396,8 @@ meta-OC = "/input move_next_word" meta-OD = "/input move_previous_word" meta-OF = "/input move_end_of_line" meta-OH = "/input move_beginning_of_line" +meta-OP = "/bar scroll buflist * -100%" +meta-OQ = "/bar scroll buflist * +100%" meta-Oa = "/input history_global_previous" meta-Ob = "/input history_global_next" meta-Oc = "/input move_next_word" @@ -391,7 +439,7 @@ meta2-Z = "/input complete_previous" meta2-[E = "/buffer -1" meta-_ = "/input redo" meta-a = "/input jump_smart" -meta-b = "/input move_previous_word" +meta-b = "/bar toggle buflist" meta-d = "/input delete_next_word" meta-f = "/input move_next_word" meta-h = "/input hotlist_clear" @@ -548,16 +596,32 @@ meta2-D = "/cursor move left" @chat:q = "hsignal:chat_quote_prefix_message;/cursor stop" [key_mouse] +@bar(buflist):ctrl-wheeldown = "hsignal:buflist_mouse" +@bar(buflist):ctrl-wheelup = "hsignal:buflist_mouse" @bar(input):button2 = "/input grab_mouse_area" @bar(nicklist):button1-gesture-down = "/bar scroll nicklist ${_window_number} +100%" @bar(nicklist):button1-gesture-down-long = "/bar scroll nicklist ${_window_number} e" @bar(nicklist):button1-gesture-up = "/bar scroll nicklist ${_window_number} -100%" @bar(nicklist):button1-gesture-up-long = "/bar scroll nicklist ${_window_number} b" +@chat(fset.fset):button1 = "/window ${_window_number};/fset -go ${_chat_line_y}" +@chat(fset.fset):button2* = "hsignal:fset_mouse" +@chat(fset.fset):wheeldown = "/fset -down 5" +@chat(fset.fset):wheelup = "/fset -up 5" +@chat(script.scripts):button1 = "/window ${_window_number};/script go ${_chat_line_y}" +@chat(script.scripts):button2 = "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}" +@chat(script.scripts):wheeldown = "/script down 5" +@chat(script.scripts):wheelup = "/script up 5" @item(buffer_nicklist):button1 = "/window ${_window_number};/query ${nick}" @item(buffer_nicklist):button1-gesture-left = "/window ${_window_number};/kick ${nick}" @item(buffer_nicklist):button1-gesture-left-long = "/window ${_window_number};/kickban ${nick}" @item(buffer_nicklist):button2 = "/window ${_window_number};/whois ${nick}" @item(buffer_nicklist):button2-gesture-left = "/window ${_window_number};/ban ${nick}" +@item(buflist):button1* = "hsignal:buflist_mouse" +@item(buflist):button2* = "hsignal:buflist_mouse" +@item(buflist2):button1* = "hsignal:buflist_mouse" +@item(buflist2):button2* = "hsignal:buflist_mouse" +@item(buflist3):button1* = "hsignal:buflist_mouse" +@item(buflist3):button2* = "hsignal:buflist_mouse" @bar:wheeldown = "/bar scroll ${_bar_name} ${_window_number} +20%" @bar:wheelup = "/bar scroll ${_bar_name} ${_window_number} -20%" @chat:button1 = "/window ${_window_number}" diff --git a/weechat/xfer.conf b/weechat/xfer.conf index 39ac5bd..c7ef602 100644 --- a/weechat/xfer.conf +++ b/weechat/xfer.conf @@ -1,6 +1,13 @@ # # weechat -- xfer.conf # +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# [look] auto_open_buffer = on