summaryrefslogtreecommitdiff
path: root/src/normal.c
AgeCommit message (Collapse)Author
2018-06-12patch 8.1.0053: first argument of 'completefunc' has inconsistent typeBram Moolenaar
Problem: The first argument given to 'completefunc' can be Number or String, depending on the value. Solution: Avoid guessing the type of an argument, use typval_T in the callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
2018-06-03patch 8.1.0027: difficult to make a plugin that feeds a line to a jobBram Moolenaar
Problem: Difficult to make a plugin that feeds a line to a job. Solution: Add the nitial code for the "prompt" buftype.
2018-05-22patch 8.1.0020: cannot tell whether a register is executing or recordingBram Moolenaar
Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes #2745) Rename the global variables for consistency. Store the register name in reg_executing.
2018-05-10patch 8.0.1809: various typosBram Moolenaar
Problem: Various typos. Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
2018-04-24patch 8.0.1758: open_line() returns TRUE/FALSE for success/failureBram Moolenaar
Problem: open_line() returns TRUE/FALSE for success/failure. Solution: Return OK or FAIL.
2018-04-24patch 8.0.1753: various warnings from a static analyserBram Moolenaar
Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
2018-03-04patch 8.0.1566: too many #ifdefsBram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04patch 8.0.1564: too many #ifdefsBram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-03-03patch 8.0.1558: no right-click menu in a terminalBram Moolenaar
Problem: No right-click menu in a terminal. Solution: Implement the right click menu for the terminal.
2018-02-18patch 8.0.1523: cannot write and read terminal screendumpsBram Moolenaar
Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
2018-02-10patch 8.0.1496: clearing a pointer takes two linesBram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-02-06patch 8.0.1475: invalid memory access in read_redo()Bram Moolenaar
Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes #2616)
2017-12-21patch 8.0.1419: cursor column is not updated after ]sBram Moolenaar
Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag.
2017-12-19patch 8.0.1411: reading invalid memory with CTRL-W :Bram Moolenaar
Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes #2469)
2017-11-25patch 8.0.1338: USE_IM_CONTROL is confusing and incompleteBram Moolenaar
Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-20patch 8.0.1323: mouse events in a terminal window may cause endless loopBram Moolenaar
Problem: Mouse events in a terminal window may cause endless loop. Solution: Adjust position computation. Don't stuff a mouse event when coming from normal_cmd().
2017-11-18patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIBram Moolenaar
Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
2017-11-18patch 8.0.1309: cannot use 'balloonexpr' in a terminalBram Moolenaar
Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
2017-10-24patch 8.0.1215: newer gcc warns for implicit fallthroughBram Moolenaar
Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-15patch 8.0.1201: "yL" is affected by 'scrolloff'Bram Moolenaar
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) Solution: Don't use 'scrolloff' when an operator is pending.
2017-09-23patch 8.0.1138: click in window toolbar starts Visual modeBram Moolenaar
Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag.
2017-09-22patch 8.0.1136: W_WIDTH() is always the sameBram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-17patch 8.0.1123: cannot define a toolbar for a windowBram Moolenaar
Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsBram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-09-16patch 8.0.1113: can go to Insert mode from Terminal-Normal modeBram Moolenaar
Problem: Can go to Insert mode from Terminal-Normal mode. Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro Matsumoto, closes #2092)
2017-09-10patch 8.0.1091: test for <cexpr> fails without +balloon_eval featureBram Moolenaar
Problem: Test for <cexpr> fails without +balloon_eval feature. Solution: Remove #ifdefs.
2017-08-26patch 8.0.0998: strange error when using K while only spaces are selectedBram Moolenaar
Problem: Strange error when using K while only spaces are selected. (Christian J. Robinson) Solution: Check for blank argument.
2017-08-19patch 8.0.0962: crash with virtualedit and joining linesBram Moolenaar
Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim #6726) Solution: When using a mark check that coladd is valid.
2017-08-16patch 8.0.0948: crash if timer closes window while dragging status lineBram Moolenaar
Problem: Crash if timer closes window while dragging status line. Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes #1979)
2017-08-16patch 8.0.0947: entering terminal using C-O C-W C-W goes to Insert modeBram Moolenaar
Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a termainal window, get in a weird Insert mode. Solution: Don't go to Insert mode in a terminal window. (closes #1977)
2017-08-06patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistentBram Moolenaar
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent. Solution: Stay in Normal mode.
2017-08-05patch 8.0.0874: can't build with terminal featureBram Moolenaar
Problem: Can't build with terminal feature. Solution: Include change to term_use_loop(). (Dominique Pelle)
2017-08-05patch 8.0.0872: no mouse scroll with a terminal windowBram Moolenaar
Problem: Using mouse scroll while a terminal window has focus and the mouse pointer is on another window does not work. Same for focus in a non-terminal window ahd the mouse pointer is over a terminal window. Solution: Send the scroll action to the right window.
2017-08-03patch 8.0.0858: can exit while a terminal is still running a jobBram Moolenaar
Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file.
2017-07-31patch 8.0.0826: cannot use text objects in Terminal modeBram Moolenaar
Problem: Cannot use text objects in Terminal mode. Solution: Check for pending operator and Visual mode first. (Yasuhiro Matsumoto, closes #1906)
2017-07-30patch 8.0.0813: cannot use a terminal window while the job is runningBram Moolenaar
Problem: Cannot use Vim commands in a terminal window while the job is running. Solution: Implement Terminal Normal mode.
2017-07-16patch 8.0.0725: a terminal window does not handle keyboard inputBram Moolenaar
Problem: A terminal window does not handle keyboard input. Solution: Add terminal_loop(). ":term bash -i" sort of works now.
2017-06-18patch 8.0.0647: syntax highlighting can make cause a freezeBram Moolenaar
Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window.
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusableBram Moolenaar
Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
2017-06-04patch 8.0.0609: some people still don't know how to quitBram Moolenaar
Problem: For some people the hint about quitting is not sufficient. Solution: Put <Enter> separately. Also use ":qa!" to get out even when there are changes.
2017-05-24patch 8.0.0602: when gF fails to edit the file the cursor still movesBram Moolenaar
Problem: When gF fails to edit the file the cursor still moves to the found line number. Solution: Check the return value of do_ecmd(). (Michael Hwang)
2017-04-20patch 8.0.0568: 1gd may hangBram Moolenaar
Problem: "1gd" may hang. Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0448: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-02-26patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessaryBram Moolenaar
Problem: CTRL-Z and mouse click use CTRL-O unnecessary. Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
2017-02-04patch 8.0.0303: bracketed paste does not work in Visual modeBram Moolenaar
Problem: Bracketed paste does not work in Visual mode. Solution: Delete the text before pasting
2017-02-02patch 8.0.0296: bracketed paste can only append, not insertBram Moolenaar
Problem: Bracketed paste can only append, not insert. Solution: When the cursor is in the first column insert the text.
2017-02-01patch 8.0.0282: need to use CTRL-O twice when in Visual-Insert modeBram Moolenaar
Problem: When doing a Visual selection and using "I" to go to insert mode, CTRL-O needs to be used twice to go to Normal mode. (Coacher) Solution: Check for the return value of edit(). (Christian Brabandt, closes #1290)
2017-01-21patch 8.0.0210: no support for bracketed pasteBram Moolenaar
Problem: Vim does not support bracketed paste, as implemented by xterm and other terminals. Solution: Add t_BE, t_BD, t_PS and t_PE.