Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-26 | core: Implement commands for operating on a single input line | Trygve Aaberge | |
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498 | |||
2023-03-25 | core: Increase default value for paste_max_lines to 100 | Trygve Aaberge | |
Now that pasting text doesn't cause it to be sent immediately, but rather inserted in the input line, the paste confirmation isn't really necessary anymore for small pastes. If you paste by mistake you can just press ctrl-_ to undo it. Large pastes may cause weechat to hang for a while, so keep the paste confirmation for those. If you don't use bracketed paste you would still want to keep it at 1, because it's not detected as a paste otherwise, but as far as I know basically all terminal emulators support bracketed paste, so I think it's fine to disable the confirmation by default. | |||
2023-03-25 | core: Remove option weechat.look.paste_auto_add_newline | Trygve Aaberge | |
This option existed so that you could edit the last line of a multiline paste before it was sent. Now that pasting multiple lines don't cause the lines to be sent immediately anymore, this option isn't useful anymore since you can always edit pasted text before it's sent. | |||
2023-03-25 | core: fix memory leak in function config_file_read_internal | Sébastien Helleu | |
This was caused by commit 66571a0b634ef28307f6d6ceef1ba29c091ca524. | |||
2023-03-24 | core: add option `legacy` in command `/key` | Sébastien Helleu | |
2023-03-19 | core: add option `rename` in command `/bar` | Sébastien Helleu | |
2023-03-19 | core: display an error with `/bar add` when the bar already exists | Sébastien Helleu | |
2023-03-19 | core: add value "name" in completion of `/bar set <name>` | Sébastien Helleu | |
2023-03-19 | core: do not call check callback when setting default value of option | Sébastien Helleu | |
2023-03-19 | core: run config hooks only when value or default value is actually changed ↵ | Sébastien Helleu | |
in set/reset/unset functions | |||
2023-03-19 | core: optimize commands `/reset` and `/unset` with a mask | Sébastien Helleu | |
2023-03-19 | core: add command `/reset` to reset options to their default values | Sébastien Helleu | |
2023-03-19 | core: don't translate the key context (default/search/cursor/mouse) | Sébastien Helleu | |
2023-03-17 | core: also display mouse codes with `/debug key` | Sébastien Helleu | |
2023-03-17 | core: add note about "shift-" modifier in /help key | Sébastien Helleu | |
The modifier "shift-" can only be used with the key names, not with simple chars. | |||
2023-03-17 | core: add modifiers, key names and combos in /help key | Sébastien Helleu | |
2023-03-17 | core: check new keys manually added with /set | Sébastien Helleu | |
2023-03-16 | core: remove mention to list of keys being displayed without arguments in ↵ | Sébastien Helleu | |
/help key Now when fset plugin is loaded, the keys are displayed in fset buffer. In core commands like /set or /key, the fset plugin is not mentioned as WeeChat can run without it. | |||
2023-03-16 | core: display a specific error when trying to bind a key without area in ↵ | Sébastien Helleu | |
mouse context | |||
2023-03-16 | core: display a warning if the config version read is newer than supported ↵ | Sébastien Helleu | |
version | |||
2023-03-16 | core: move keyboard debug mode from `/key debug` to `/debug key` | Sébastien Helleu | |
2023-03-16 | core: add function config_file_option_set_default | Sébastien Helleu | |
2023-03-16 | fset: hook command /key | Sébastien Helleu | |
When command /key is called without arguments, and if fset plugin is loaded, fset displays all key options (filter: `weechat.key*`). | |||
2023-03-16 | core: create config options for all keys that can be managed with `/set` and ↵ | Sébastien Helleu | |
`/fset` commands | |||
2023-03-16 | core: add key alt-K (alt+shift+k) to grab raw key and its command | Sébastien Helleu | |
2023-03-16 | core: use new key name in command `/key` and configuration file | Sébastien Helleu | |
Legacy keys are automatically converted to new names when loading configuration file `weechat.conf`. Examples: "ctrl-I" => "tab" "meta2-1;3A" => "meta-up" "meta2-Z" => "shift-tab" "meta-wmeta-meta2-A" => "meta-w,meta-up" "ctrl-Cb" => "ctrl-c,b" | |||
2023-03-16 | core: fix display of key with command `/key bindctxt <context> <key>` | Sébastien Helleu | |
2023-03-16 | core: add configuration version, add API function config_set_version | Sébastien Helleu | |
2023-03-16 | core: simplify function config_file_read_internal | Sébastien Helleu | |
2023-03-16 | core: display new key name using aliases in output of `/key` command | Sébastien Helleu | |
2023-03-16 | core: add function to expand raw key code to name with alias, use it in /key ↵ | Sébastien Helleu | |
debug | |||
2023-03-16 | core: add keyboard debug mode with command `/key debug` | Sébastien Helleu | |
2023-03-12 | core: revert case sensitive Curl constants and options (issue #1872) | Sébastien Helleu | |
This is a partial revert of fca78ca823e147665687d6cb0a6fe9a4694ba61b. | |||
2023-03-12 | core: check that parameters are not NULL in URL functions | Sébastien Helleu | |
2023-03-10 | core: simplify /help eval, move examples with the other examples (issue #1888) | Sébastien Helleu | |
2023-03-10 | core: rename variable open_paren to pos_open_paren | Sébastien Helleu | |
2023-03-10 | core: allow /eval to get hashtable properties | Andrew Potter | |
2023-01-30 | core: update description of function hook_command_display_error_unknown | Sébastien Helleu | |
2023-01-30 | core: inform that commands are case sensitive when another command with ↵ | Sébastien Helleu | |
different case is found (issue #1877) | |||
2023-01-30 | core: improve prioritization of commands starting with same chars in similar ↵ | Sébastien Helleu | |
commands | |||
2023-01-30 | core: display similar command names when a command is unknown (closes #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_get_common_bytes_count (issue #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_levenshtein (issue #1877) | Sébastien Helleu | |
2023-01-29 | core: properly skip command char when it is a wide char in exec of ↵ | Sébastien Helleu | |
hook_command_run | |||
2023-01-29 | core: force ctrl keys to lower case when they are added (closes #1875) | Sébastien Helleu | |
2023-01-29 | api: readjust string size in function string_dyn_free when string is not ↵ | Sébastien Helleu | |
freed (issue #1875) This frees some allocated memory if size_alloc was greater than size in the dynamic string. | |||
2023-01-28 | core, plugins: replace calls to strcmp by string_strcmp when difference ↵ | Sébastien Helleu | |
matters (issue #1872) | |||
2023-01-28 | core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872) | Sébastien Helleu | |
2023-01-28 | core, plugins: check that string parameters are not NULL in search functions ↵ | Sébastien Helleu | |
(issue #1872) | |||
2023-01-28 | core, plugins: make input actions in buffers case sensitive (issue #1872) | Sébastien Helleu | |