summaryrefslogtreecommitdiffstats
path: root/runtime/doc/cmdline.txt
AgeCommit message (Collapse)Author
2023-12-09runtime(doc): link cmdline completion to to |wildcards| and fix typos (#13636)zeertzjq
The docs for cmdline completion doesn't mention that [abc] is considered a wildcard, and |wildcards| contains more detailed information, so just link to it. Also fix some typos in other help files. Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-16patch 9.0.2108: [security]: overflow with count for :s commandv9.0.2108Christian Brabandt
Problem: [security]: overflow with count for :s command Solution: Abort the :s command if the count is too large If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Adds a test with INT_MAX as count and verify it correctly fails. It seems the return value on Windows using mingw compiler wraps around, so the initial test using :s/./b/9999999999999999999999999990 doesn't fail there, since the count is wrapping around several times and finally is no longer larger than 2147483647. So let's just use 2147483647 in the test, which hopefully will always cause a failure Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-14patch 9.0.2025: no cmdline completion for ++opt argsv9.0.2025Yee Cheng Chin
Problem: no cmdline completion for ++opt args Solution: Add cmdline completion for :e ++opt=arg and :terminal [++options] closes: #13319 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
2023-10-14runtime(doc): Improve command-line completion docs (#13331)Yee Cheng Chin
* Improve command-line completion docs Add more details about 'ignorecase' and its effect on cmdline completion. Make sure keys used in wildmenu are properly documented and linked in the keys' documentation entries, and in `:h index` for proper cross-referencing, as wildmenu popup is slightly different from insert-mode popup menu. * Fix docs typos Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-02runtime(doc): fix typos.h_east
* Fix typo in document (Related: #12516) * Fix E1363 duplication * Fix one more typo. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-29patch 9.0.1958: cannot complete option valuesv9.0.1958Yee Cheng Chin
Problem: cannot complete option values Solution: Add completion functions for several options Add cmdline tab-completion for setting string options Add tab-completion for setting string options on the cmdline using `:set=` (along with `:set+=` and `:set-=`). The existing tab completion for setting options currently only works when nothing is typed yet, and it only fills in with the existing value, e.g. when the user does `:set diffopt=<Tab>` it will be completed to `set diffopt=internal,filler,closeoff` and nothing else. This isn't too useful as a user usually wants auto-complete to suggest all the possible values, such as 'iblank', or 'algorithm:patience'. For set= and set+=, this adds a new optional callback function for each option that can be invoked when doing completion. This allows for each option to have control over how completion works. For example, in 'diffopt', it will suggest the default enumeration, but if `algorithm:` is selected, it will further suggest different algorithm types like 'meyers' and 'patience'. When using set=, the existing option value will be filled in as the first choice to preserve the existing behavior. When using set+= this won't happen as it doesn't make sense. For flag list options (e.g. 'mouse' and 'guioptions'), completion will take into account existing typed values (and in the case of set+=, the existing option value) to make sure it doesn't suggest duplicates. For set-=, there is a new `ExpandSettingSubtract` function which will handle flag list and comma-separated options smartly, by only suggesting values that currently exist in the option. Note that Vim has some existing code that adds special handling for 'filetype', 'syntax', and misc dir options like 'backupdir'. This change preserves them as they already work, instead of converting to the new callback API for each option. closes: #13182 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
2023-06-10Update runtime filesBram Moolenaar
2023-02-20Update runtime files.Bram Moolenaar
2022-11-18Update runtime filesBram Moolenaar
2022-11-11patch 9.0.0861: solution for "!!sort" in closed fold is not optimalv9.0.0861Bram Moolenaar
Problem: Solution for "!!sort" in closed fold is not optimal. Solution: Use a different range instead of the subtle difference in handling a range with an offset. (issue #11487)
2022-11-09Update runtime filesBram Moolenaar
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
2022-09-27Update runtime filesBram Moolenaar
2022-08-25patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265Bram Moolenaar
Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature.
2022-07-29Update runtime filesBram Moolenaar
2022-06-28release version 9.0v9.0.0000Bram Moolenaar
Problem: About time to release Vim 9.0. Solution: Update the version number everywhere.
2022-06-26Update runtime filesBram Moolenaar
2022-06-17Update runtime filesBram Moolenaar
2022-05-07Update runtime filesBram Moolenaar
2022-04-29patch 8.2.4846: termcodes test failsv8.2.4846zeertzjq
Problem: Termcodes test fails. Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
2022-04-18Update runtime filesBram Moolenaar
2022-04-09patch 8.2.4726: cannot use expand() to get the script namev8.2.4726LemonBoy
Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
2022-02-26Update runtime files.Bram Moolenaar
2022-02-04Update runtime files.Bram Moolenaar
2022-01-08Update runtime filesBram Moolenaar
2021-12-27Update runtime filesBram Moolenaar
2021-12-05Update runtime filesBram Moolenaar
2021-11-27Update runtime files.Bram Moolenaar
2021-10-16Update runtime filesBram Moolenaar
2021-08-14Update runtime filesBram Moolenaar
2021-05-30Update runtime filesBram Moolenaar
2021-05-16Update runtime filesBram Moolenaar
2021-04-07Update runtime filesBram Moolenaar
2021-01-31patch 8.2.2440: documentation based on patches is outdatedv8.2.2440Bram Moolenaar
Problem: Documentation based on patches is outdated. Solution: Add changes to documentation in a patch.
2021-01-26patch 8.2.2415: no way to check for the cmdwin featurev8.2.2415Bram Moolenaar
Problem: No way to check for the cmdwin feature, cmdline_hist is now always enabled. Solution: Add has('cmdwin') support. Skip arglist test on Windows temporarily.
2021-01-02Update runtime files.Bram Moolenaar
2020-09-19Update runtime files.Bram Moolenaar
2020-08-15Update runtime files.Bram Moolenaar
2020-07-26Update runtime files.Bram Moolenaar
2020-07-26patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297Bram Moolenaar
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
2020-05-01Update runtime filesBram Moolenaar
2020-03-01Update runtime filesBram Moolenaar
2020-02-26Update runtime files.Bram Moolenaar
2020-02-04patch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":."v8.2.0208Bram Moolenaar
Problem: Fnamemodify() does not apply ":~" when followed by ":.". Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro Matsumoto, closes #5577)
2019-12-26Update runtime files.Bram Moolenaar
2019-12-17patch 8.2.0017: OS/2 and MS-DOS are still mentionedv8.2.0017Bram Moolenaar
Problem: OS/2 and MS-DOS are still mentioned, even though support was removed long ago. Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
2019-12-12Vim 8.2 releasev8.2.0000v8.2.0Bram Moolenaar
2019-11-26Update runtime filesBram Moolenaar
2019-11-26patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeysv8.1.2350Bram Moolenaar
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. Solution: Convert the Escape sequence back to key as if modifyOtherKeys is not set, and use CTRL-SHIFT-V to get the Escape sequence itself. (closes #5254)
2019-09-27Update runtime files.Bram Moolenaar