1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

fset: add key ctrl-L and input "<<" and ">>" on fset buffer

This commit is contained in:
Sébastien Helleu
2017-06-10 13:58:32 +02:00
parent c1801663f3
commit 7df7e9faf1
2 changed files with 35 additions and 23 deletions
+4 -1
View File
@@ -805,7 +805,9 @@ fset_buffer_input_cb (const void *pointer, void *data,
struct t_gui_buffer *buffer,
const char *input_data)
{
char *actions[][2] = { { "<", "left" },
char *actions[][2] = { { "<<", "go 0" },
{ ">>", "go end" },
{ "<", "left" },
{ ">", "right" },
{ "t", "toggle" },
{ "-", "add -1" },
@@ -948,6 +950,7 @@ fset_buffer_set_keys ()
{ "meta2-a", "mark -1" },
{ "meta2-b", "mark 1" },
{ "meta-v", "toggle_bar" },
{ "ctrl-L", "refresh" },
{ NULL, NULL } };
char str_key[64], str_command[64];
int i;