]> git.rmz.io Git - dotfiles.git/commitdiff
weechat: update conf
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Fri, 12 Jan 2018 10:14:18 +0000 (10:14 +0000)
committerSamir Benmendil <samir.benmendil@ultrahaptics.com>
Fri, 12 Jan 2018 10:14:18 +0000 (10:14 +0000)
weechat/buflist.conf
weechat/fset.conf [new file with mode: 0644]
weechat/plugins.conf
weechat/python/wee-slack
weechat/weechat.conf

index 35768a5b3a565168fed48ae5dc43c7f172c101b1..10f5bc1375835f3e539eee3a5e6ba263dad6caab 100644 (file)
@@ -10,6 +10,7 @@
 #
 
 [look]
+add_newline = on
 auto_scroll = 50
 display_conditions = "${buffer.hidden}==0"
 enabled = on
diff --git a/weechat/fset.conf b/weechat/fset.conf
new file mode 100644 (file)
index 0000000..668266c
--- /dev/null
@@ -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
index c760f4664a9cf1669cfb8b32f4265eb2182f3850..b2390d61ae5f61badd470cd5e86bc00da2a206ab 100644 (file)
@@ -77,10 +77,15 @@ python.slack.colorize_messages = "0"
 python.slack.colorize_private_chats = "0"
 python.slack.debug_level = "3"
 python.slack.debug_mode = "false"
-python.slack.distracting_channels = ""
+python.slack.distracting_channels = "lunch"
+python.slack.group_name_prefix = "&"
+python.slack.map_underline_to = "_"
 python.slack.migrated = "true"
 python.slack.never_away = "false"
 python.slack.record_events = "false"
+python.slack.render_bold_as = "bold"
+python.slack.render_italic_as = "italic"
+python.slack.send_typing_notice = "false"
 python.slack.server_aliases = ""
 python.slack.short_buffer_names = "false"
 python.slack.show_reaction_nicks = "0"
@@ -153,6 +158,28 @@ python.screen_away.interval = "How often in seconds to check screen status"
 python.screen_away.message = "Away message"
 python.screen_away.set_away = "Set user as away."
 python.screen_away.time_format = "time format append to away message"
+python.slack.background_load_all_history = "Load history for each channel in the background as soon as it opens, rather than waiting for the user to look at it."
+python.slack.channel_name_typing_indicator = "Change the prefix of a channel from # to > when someone is typing in it. Note that this will (temporarily) affect the sort order if you sort buffers by name rather than by number."
+python.slack.colorize_private_chats = "Whether to use nick-colors in DM windows."
+python.slack.debug_level = "Show only this level of debug info (or higher) when debug_mode is on. Lower levels -> more messages."
+python.slack.debug_mode = "Open a dedicated buffer for debug messages and start logging to it. How verbose the logging is depends on log_level."
+python.slack.distracting_channels = "List of channels to hide."
+python.slack.group_name_prefix = "The prefix of buffer names for groups (private channels)."
+python.slack.map_underline_to = "When sending underlined text to slack, use this formatting character for it. The default ("_") sends it as italics. Use "*" to send bold instead."
+python.slack.never_away = "Poke Slack every five minutes so that it never marks you "away"."
+python.slack.record_events = "Log all traffic from Slack to disk as JSON."
+python.slack.render_bold_as = "When receiving bold text from Slack, render it as this in weechat."
+python.slack.render_italic_as = "When receiving bold text from Slack, render it as this in weechat. If your terminal lacks italic support, consider using "underline" instead."
+python.slack.send_typing_notice = "Alert Slack users when you are typing a message in the input bar (Requires reload)"
+python.slack.server_aliases = "A comma separated list of `subdomain:alias` pairs. The alias will be used instead of the actual name of the slack (in buffer names, logging, etc). E.g `work:no_fun_allowed` would make your work slack show up as `no_fun_allowed` rather than `work.slack.com`."
+python.slack.short_buffer_names = "Use `foo.#channel` rather than `foo.slack.com.#channel` as the internal name for Slack buffers. Overrides server_aliases."
+python.slack.show_reaction_nicks = "Display the name of the reacting user(s) alongside each reactji."
+python.slack.slack_api_token = "List of Slack API tokens, one per Slack instance you want to connect to. See the README for details on how to get these."
+python.slack.slack_timeout = "How long (ms) to wait when communicating with Slack."
+python.slack.switch_buffer_on_join = "When /joining a channel, automatically switch to it as well."
+python.slack.thread_suffix_color = "Color to use for the [thread: XXX] suffix on messages that have threads attached to them."
+python.slack.unfurl_ignore_alt_text = "When displaying ("unfurling") links to channels/users/etc, ignore the "alt text" present in the message and instead use the canonical name of the thing being linked to."
+python.slack.unhide_buffers_with_activity = "When activity occurs on a buffer, unhide it even if it was previously hidden (whether by the user or by the distracting_channels setting)."
 ruby.colorizer.buffer_regex = "Only colorize text in buffers with names that match this regex. Leaving this empty matches all buffer names."
 ruby.colorizer.rule.0 = "A colorizing rule of the form: <regular_expression>/<weechat_color_name> Empty rules are ignored."
 ruby.colorizer.rule.1 = "A colorizing rule of the form: <regular_expression>/<weechat_color_name> Empty rules are ignored."
index 81d1270e3a8d50e680dfd8bfb7c23890b846c05f..fe7832f2453469fe4978b095561d6b7fce07cab8 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 81d1270e3a8d50e680dfd8bfb7c23890b846c05f
+Subproject commit fe7832f2453469fe4978b095561d6b7fce07cab8
index 1fd4bbdbc3a5f88971af4a6910af7f9cc9b39b31..463fcd2bd72b6e63e51de7a4ac51ac8748b2e16c 100644 (file)
@@ -119,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
@@ -269,6 +270,20 @@ buflist.separator = on
 buflist.size = 0
 buflist.size_max = 0
 buflist.type = window
+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
@@ -669,6 +684,8 @@ meta2-D = "/cursor move left"
 @chat:q = "hsignal:chat_quote_prefix_message;/cursor stop"
 
 [key_mouse]
+@bar(buffers):ctrl-wheeldown = "hsignal:buffers_mouse"
+@bar(buffers):ctrl-wheelup = "hsignal:buffers_mouse"
 @bar(buflist):ctrl-wheeldown = "hsignal:buflist_mouse"
 @bar(buflist):ctrl-wheelup = "hsignal:buflist_mouse"
 @bar(input):button2 = "/input grab_mouse_area"
@@ -676,6 +693,10 @@ meta2-D = "/cursor move left"
 @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(perl.iset):button1 = "hsignal:iset_mouse"
 @chat(perl.iset):button2* = "hsignal:iset_mouse"
 @chat(perl.iset):wheeldown = "/repeat 5 /iset **down"
@@ -689,8 +710,14 @@ meta2-D = "/cursor move left"
 @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(buffers):button1* = "hsignal:buffers_mouse"
+@item(buffers):button2* = "hsignal:buffers_mouse"
 @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}"