summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
AgeCommit message (Collapse)Author
2021-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-10-20patch 8.2.3547: opening the quickfix window triggers BufWinEnter twicev8.2.3547Bram Moolenaar
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick Peterse) Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
2021-10-13patch 8.2.3505: Vim9: build failure without the +eval featurev8.2.3505Bram Moolenaar
Problem: Vim9: build failure without the +eval feature. Solution: Add #ifdef.
2021-10-13patch 8.2.3503: Vim9: using g:pat:cmd is confusingv8.2.3503Bram Moolenaar
Problem: Vim9: using g:pat:cmd is confusing. Solution: Do not recognize g: as the :global command. Also for s:pat:repl. (closes #8982)
2021-09-04patch 8.2.3400: ":z!" is not supportedv8.2.3400Dominique Pelle
Problem: ":z!" is not supported. Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) Use display height instead of current window height.
2021-08-21patch 8.2.3363: when :edit reuses the current buffer the alternate file is setv8.2.3363Bram Moolenaar
Problem: When :edit reuses the current buffer the alternate file is set to the same buffer. Solution: Only set the alternate file when not reusing the buffer. (closes #8783)
2021-08-05patch 8.2.3297: cannot use all commands inside a {} blockv8.2.3297Bram Moolenaar
Problem: Cannot use all commands inside a {} block after :command and :autocmd. Solution: Do consider \n to separate commands. (closes #8620)
2021-07-21patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar
Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-06-21patch 8.2.3033: no error when using alpha delimiter with :globalv8.2.3033Bram Moolenaar
Problem: No error when using alpha delimiter with :global. Solution: Check the delimiter like with :substitute. (closes #8415)
2021-06-06patch 8.2.2955: Vim9: using filter in compiled command does not workv8.2.2955Bram Moolenaar
Problem: Vim9: using filter in compiled command does not work. Solution: Generate EXEC including the command modifier.
2021-05-15patch 8.2.2856: get readonly error for device that can't be written tov8.2.2856Bram Moolenaar
Problem: Get readonly error for device that can't be written to. Solution: Check for being able to write first. (closes #8205)
2021-04-26patch 8.2.2813: cannot grep using fuzzy matchingv8.2.2813Yegappan Lakshmanan
Problem: Cannot grep using fuzzy matching. Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
2021-04-19patch 8.2.2784: Vim9: cannot use \=expr in :substitutev8.2.2784Bram Moolenaar
Problem: Vim9: cannot use \=expr in :substitute. Solution: Compile the expression into instructions and execute them when invoked.
2021-04-07patch 8.2.2732: prompt for s///c in Ex mode can be wrongv8.2.2732Bram Moolenaar
Problem: Prompt for s///c in Ex mode can be wrong. Solution: Position the cursor before showing the prompt. (closes #8073)
2021-02-06patch 8.2.2472: crash when using command line window in an autocommandv8.2.2472Bram Moolenaar
Problem: Crash when using command line window in an autocommand. (houyunsong) Solution: Save and restore au_new_curbuf.
2021-02-03patch 8.2.2464: using freed memory if window closed in autocommandv8.2.2464Bram Moolenaar
Problem: Using freed memory if window closed in autocommand. (houyunsong) Solution: Check the window still exists.
2021-01-30patch 8.2.2433: opening cmdline window gives error in BufLeave autocommandv8.2.2433Bram Moolenaar
Problem: Opening cmdline window gives error in BufLeave autocommand. Solution: Reset cmdwin_type when triggering the autocommand.
2021-01-28patch 8.2.2425: cursor on invalid line with range and :substitutev8.2.2425Bram Moolenaar
Problem: Cursor on invalid line with range and :substitute. Solution: Do not move the cursor when skipping commands. (closes #3434)
2021-01-16patch 8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'v8.2.2361Bram Moolenaar
Problem: Vim9: no highlight for "s///gc" when using 'opfunc'. Solution: Reset 'lazyredraw' temporarily. (closes #7687)
2021-01-15patch 8.2.2354: crash with a weird combination of autocommandsv8.2.2354Bram Moolenaar
Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes #7674)
2021-01-07patch 8.2.2307: a shell command in the vimrc causes terminal outputv8.2.2307Bram Moolenaar
Problem: A shell command in the vimrc causes terminal output. Solution: Do not call starttermcap() after a shell command if the termcap wasn't active before.
2021-01-04patch 8.2.2295: incsearch does not detect empty pattern properlyv8.2.2295Bram Moolenaar
Problem: Incsearch does not detect empty pattern properly. Solution: Return magic state when skipping over a pattern. (Christian Brabandt, closes #7612, closes #6420)
2020-12-27patch 8.2.2231: when "--remote file" is used "file" is not reloadedv8.2.2231Bram Moolenaar
Problem: When "--remote file" is used "file" is not reloaded. Solution: When a :drop command is used for a file that is already displayed in a window and it has not been changed, check if it needs to be reloaded. (closes #7560)
2020-12-21patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are usedv8.2.2183Bram Moolenaar
Problem: Vim9: value of 'edcompatible' and 'gdefault' are used. Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
2020-12-21patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
2020-12-18patch 8.2.2160: various typosv8.2.2160Bram Moolenaar
Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
2020-11-25patch 8.2.2052: Vim9: "edit +4 fname" gives an errorv8.2.2052Bram Moolenaar
Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino) Solution: Allow using a range in the +cmd argument. (closes #7364)
2020-11-07patch 8.2.1967: the session file does not restore the alternate filev8.2.1967Bram Moolenaar
Problem: The session file does not restore the alternate file. Solution: Add ":balt". Works like ":badd" and also sets the buffer as the alternate file. Use it in the session file. (closes #7269, closes #6714)
2020-11-04patch 8.2.1954: Vim9: not all command modifiers are testedv8.2.1954Bram Moolenaar
Problem: Vim9: not all command modifiers are tested. Solution: Add tests for "keep" modifiers. Fix that marks are lost even though ":lockmarks" is used.
2020-11-01patch 8.2.1933: cannot sort using locale orderingv8.2.1933Bram Moolenaar
Problem: Cannot sort using locale ordering. Solution: Add a flag for :sort and sort() to use the locale. (Dominique Pellé, closes #7237)
2020-10-25patch 8.2.1904: still using default option values after using ":badd +1"v8.2.1904Bram Moolenaar
Problem: Still using default option values after using ":badd +1". Solution: Find a window where options were set. Don't set the window when using ":badd".
2020-10-25patch 8.2.1902: default option values changed with :badd for existing bufferv8.2.1902Bram Moolenaar
Problem: Default option values are changed when using :badd for an existing buffer. Solution: When calling buflist_new() pass a zero line number. (closes #7195)
2020-10-24patch 8.2.1899: crash in out-of-memory situationv8.2.1899Bram Moolenaar
Problem: Crash in out-of-memory situation. Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-13patch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browsev8.2.1842Bram Moolenaar
Problem: Crash when USE_FNAME_CASE is defined and using :browse. Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan, closes #7123)
2020-10-04patch 8.2.1801: undo file not found when using ":args" or ":next"v8.2.1801Bram Moolenaar
Problem: Undo file not found when using ":args" or ":next". Solution: Handle like editing another file. (closes #7072)
2020-08-15patch 8.2.1460: error messages are spread outv8.2.1460Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more messages into errors.h.
2020-08-12patch 8.2.1436: function implementing :substitute has unexpected namev8.2.1436Bram Moolenaar
Problem: Function implementing :substitute has unexpected name. Solution: Rename from do_sub() to ex_substitute().
2020-07-28patch 8.2.1309: build failure with tiny versionv8.2.1309Bram Moolenaar
Problem: Build failure with tiny version. Solution: Add #ifdef.
2020-07-28patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exitv8.2.1308Bram Moolenaar
Problem: Vim9: accidentally using "x" causes Vim to exit. Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
2020-07-23patch 8.2.1281: the "trailing characters" error can be hard to understandv8.2.1281Bram Moolenaar
Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message.
2020-07-21patch 8.2.1262: src/ex_cmds.c file is too bigv8.2.1262Bram Moolenaar
Problem: src/ex_cmds.c file is too big. Solution: Move help related code to src/help.c. (Yegappan Lakshmanan, closes #6506)
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-06-10patch 8.2.0943: displaying ^M or ^J depends on current bufferv8.2.0943Bram Moolenaar
Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
2020-05-30patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar
Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-27patch 8.2.0834: :drop command in terminal popup causes problemsv8.2.0834Bram Moolenaar
Problem: :drop command in terminal popup causes problems. Solution: Check for using a popup window. (closes #6151)
2020-05-13patch 8.2.0747: cannot forcefully close all popupsv8.2.0747Bram Moolenaar
Problem: Cannot forcefully close all popups. Solution: Add the "force" argument to popup_clear(). Use it after running a test. Put back the check for a popup when editing a file.
2020-05-12patch 8.2.0745: crash on exit when not all popups are closedv8.2.0745Bram Moolenaar
Problem: Crash on exit when not all popups are closed. Solution: Close popups when freeing all memory. Disable checking for popup when editing a file for now.