Commit Graph
195 Commits
Author SHA1 Message Date
Mia Vucinic 621969faec implement a new way for registering extensions 2025-08-01 16:16:26 +03:00
Xinhe Wang 2f7f0dcacb Fix(VIM-3044): correct the behavior of I in (linewise) Visual mode
For visual selections spanning multiple lines, keep caret position
if it's on the first line. Otherwise move the caret to the start of
the first selected line.
2025-07-07 10:55:30 +03:00
Xinhe Wang c393c902b2 Fix(VIM-2375): do not save file with ZQ
ZQ is defined to `Quit without checking for changes (same as ":q!").`
2025-07-04 14:26:56 +03:00
Xinhe Wang 2377408028 Fix(VIM-2142): support gU and gu in VISUAL mode
Note that this implementation assumes that the 'gU' / 'gu' command in
visual mode is equivalent to 'U' / 'u'. While 'v_gU' and 'v_gu' are not
explicitly documented in Vim help, we treat these commands as identical
based on observed behavior, without examining Vim's source code.
2025-07-02 18:56:29 +03:00
Matt Ellis 1e3738314a Add support for := to print line number
Fixes VIM-3921
2025-06-06 15:15:13 +03:00
M. V 3c2e2bfb68 VIM-3771 Add a smile command with python ascii art 2025-05-07 18:54:12 +02:00
M. V 3f75b6db6d VIM-3771 Add a smile command with java ascii art 2025-05-07 18:54:12 +02:00
M. V 5fd318bf88 VIM-3771 Add a smile command with kotlin and default ascii art 2025-05-07 18:54:12 +02:00
Alex Plate 1891216182 Fix(VIM-3878): Support ROT13 command g? 2025-04-16 19:44:38 +03:00
Matt Ellis ca4de6f317 Add missing shortcuts for WORD left/right in Select 2025-02-25 15:38:49 +02:00
Matt Ellis 5740372df9 Add err_teapot function 2025-02-20 19:21:31 +02:00
Matt Ellis 06791b9378 Add float2nr function 2025-02-20 19:21:31 +02:00
Matt Ellis 91e927c913 Add fmod function 2025-02-20 19:21:31 +02:00
Matt Ellis 9a5c558060 Add float classification functions 2025-02-20 19:21:31 +02:00
Matt Ellis d1127a5238 Add power functions 2025-02-20 19:21:31 +02:00
Matt Ellis 613a8b5792 Add exponential functions 2025-02-20 19:21:31 +02:00
Matt Ellis 6f63371e9b Add rounding functions 2025-02-20 19:21:31 +02:00
Matt Ellis 3b96e2eacd Add trigonometric and hyperbolic builtin functions 2025-02-20 19:21:31 +02:00
Matt Ellis c631d0738e Group function handlers like in Vim help
See `:help function-list`
2025-02-20 19:21:31 +02:00
Matt Ellis 23329cc522 Add bitwise functions 2025-02-20 19:21:31 +02:00
Sebastian Doerner cb218697fa [VIM-3731] Add support for "jump to previous/next lowercase mark".
Fixes VIM-3731
2025-01-21 22:48:12 +02:00
Matt Ellis 1d5fc01d65 Fix Del and BS not working in Select mode
Fixes VIM-3618
2025-01-13 18:10:01 +01:00
Matt Ellis 63b3af3f65 Implement v_CTRL-O
From Select mode, enters Visual for a single command
2025-01-10 11:29:44 +03:00
Matt Ellis e3a07b6c89 Add support for CTRL-J
Supported in Normal, Visual, Select and Operator-pending. Also adds support for CTRL-M in Select mode.

Fixes VIM-3740
2025-01-10 10:00:28 +03:00
Julien Phalip 2e550a0960 Add support for escape() vim function 2024-12-06 17:09:59 +02:00
Filipp Vakhitov 66aec26091 Move ColLineFunctionHandler.kt to vim-engine 2024-11-22 17:15:07 +02:00
Filipp Vakhitov 1d59c49b95 Move more logic to vim-engine 2024-11-22 17:15:07 +02:00
Julien Phalip 52737c60cf Add JSON entry for getcmdtype function 2024-11-22 16:49:04 +02:00
Matt Ellis 5f263e7014 Fix output of maps with same keys in multiple modes
E.g. `map foo bar` and `vmap foo baz` would only output one map for `foo` when calling `:map`. Now it will output all maps that match the ex command's modes. This change also improves the marker characters in the first column of map output.
2024-11-13 17:57:31 +02:00
Matt Ellis 18d6f79796 Add missing C-PageUp/Down shortcuts to switch tab
Fixes VIM-2044
2024-11-13 17:52:28 +02:00
Matt Ellis a745da9761 Add Shift+Enter mapping to scroll page forward
Fixes VIM-2752
2024-11-13 17:52:28 +02:00
Matt Ellis 00fd4cd491 Handle op-pending for space and backspace 2024-08-30 16:36:24 +03:00
Matt Ellis d185672e2f Deprecate OperatorArguments.isOperatorPending
Register specific handlers for Operator-pending mode instead of relying on a runtime flag for behaviour. Also refactors and renames some arrow motion handlers.
2024-08-30 16:36:24 +03:00
Filipp Vakhitov 5b17d7740e Update generated files after merging PRs 2024-08-25 21:51:14 +03:00
Filipp Vakhitov b005328b4a Exclude generated files from .gitignore
I've also added sorting to be more confident that the generated file will be persistent across different machines
2024-08-23 14:18:03 +03:00
Filipp Vakhitov 93c83f773a Add generated JSON files to gitignore 2023-11-10 16:01:22 +02:00
Matt Ellis 12824c22c4 Add :setglobal command 2023-07-31 11:28:32 +03:00
filipp 10bcd20cd8 Retire obsolete commands
With all the gratefulness for 20 years of service. Thank you, pioneers of our plugin's legacy.
2023-06-20 15:59:09 +03:00
filipp 1b1680f7b0 Fix typo 2023-06-20 15:59:09 +03:00
filipp 6cc52570ac Add missing ExCommand annotations 2023-06-20 15:59:09 +03:00
filipp cc2de42415 Moving from gorgeous YAML to good old JSON 2023-06-06 10:42:42 +03:00
filipp f456e0a8dd Fix tests 2023-06-06 10:42:42 +03:00
filipp 4d907213c3 Split ex-commands in YAML 2023-06-06 10:42:42 +03:00
filipp ee704f53c7 Support lazy ex command classloading 2023-06-06 10:42:42 +03:00
filipp 7491d19309 Add yaml files 2023-06-06 10:42:42 +03:00