1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

buflist: add mouse support

New options:
- buflist.look.mouse_jump_visited_buffer
- buflist.look.mouse_move_buffer
- buflist.look.mouse_wheel

New keys added by buflist plugin:
- @item(buflist):button1*      => hsignal:buflist_mouse
- @item(buflist):button2*      => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheelup   => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheeldown => hsignal:buflist_mouse
This commit is contained in:
Sébastien Helleu
2017-03-30 20:39:37 +02:00
parent 467f482ea6
commit f0c8da2f05
33 changed files with 687 additions and 16 deletions
+18
View File
@@ -74,6 +74,24 @@
** 値: 未制約文字列
** デフォルト値: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** 説明: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** 説明: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** 説明: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** 説明: pass:none[フックされたシグナルおよびバッファリストの再読込シグナルのコンマ区切りリスト]
** タイプ: 文字列
+2
View File
@@ -205,6 +205,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       buflist-bar-item.c | buflist バー要素
|       buflist-command.c | buflist コマンド
|       buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
// TRANSLATION MISSING
|       buflist-mouse.c | Buflist mouse actions.
|    charset/ | charset プラグイン
|       charset.c | charset 関数
|    exec/ | exec プラグイン