1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +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 @@
** Werte: beliebige Zeichenkette
** Standardwert: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** Beschreibung: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** Beschreibung: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** Beschreibung: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** Beschreibung: pass:none[comma-separated list of signals that are hooked and trigger the refresh of buffers list]
** Typ: Zeichenkette
+18
View File
@@ -74,6 +74,24 @@
** values: any string
** default value: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** description: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
** type: boolean
** values: on, off
** default value: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** description: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
** type: boolean
** values: on, off
** default value: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** description: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
** type: boolean
** values: on, off
** default value: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** description: pass:none[comma-separated list of signals that are hooked and trigger the refresh of buffers list]
** type: string
+1
View File
@@ -199,6 +199,7 @@ WeeChat "core" is located in following directories:
|       buflist-bar-item.c | Buflist bar items.
|       buflist-command.c | Buflist commands.
|       buflist-config.c | Buflist config options (file buflist.conf).
|       buflist-mouse.c | Buflist mouse actions.
|    charset/ | Charset plugin.
|       charset.c | Charset functions.
|    exec/ | Exec plugin.
+18
View File
@@ -74,6 +74,24 @@
** valeurs: toute chaîne
** valeur par défaut: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** description: pass:none[si activé, les clics avec les boutons gauche/droit sur la ligne avec le tampon courant sautent au tampon visité avant/après]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** description: pass:none[si activé, les gestes de souris (glisser/déposer) déplacent les tampons dans la liste]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** description: pass:none[si activé, les actions de roulette de souris haut/bas sautent au tampon précédent/suivant dans la liste]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** description: pass:none[liste de signaux séparés par des virgules qui sont accrochés et déclenchent l'affichage de la liste des tampons]
** type: chaîne
+1
View File
@@ -201,6 +201,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|       buflist-bar-item.c | Objets de barre Buflist.
|       buflist-command.c | Commandes pour Buflist.
|       buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|       buflist-mouse.c | Actions souris pour Buflist.
|    charset/ | Extension Charset.
|       charset.c | Fonctions pour Charset.
|    exec/ | Extension Exec.
+18
View File
@@ -74,6 +74,24 @@
** valori: qualsiasi stringa
** valore predefinito: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** descrizione: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** descrizione: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
** tipo: bool
** valori: on, off
** valore predefinito: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** descrizione: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
** tipo: bool
** valori: on, off
** valore predefinito: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** descrizione: pass:none[comma-separated list of signals that are hooked and trigger the refresh of buffers list]
** tipo: stringa
+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 プラグイン
+18
View File
@@ -74,6 +74,24 @@
** wartości: dowolny ciąg
** domyślna wartość: `+"${buffer.hidden}==0"+`
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
** opis: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
** opis: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
** opis: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
** opis: pass:none[comma-separated list of signals that are hooked and trigger the refresh of buffers list]
** typ: ciąg