summaryrefslogtreecommitdiff
path: root/src/normal.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0998: strange error when using K while only spaces are selectedv8.0.0998Bram Moolenaar2017-08-261-0/+5
| | | | | | Problem: Strange error when using K while only spaces are selected. (Christian J. Robinson) Solution: Check for blank argument.
* patch 8.0.0962: crash with virtualedit and joining linesv8.0.0962Bram Moolenaar2017-08-191-0/+6
| | | | | | Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim #6726) Solution: When using a mark check that coladd is valid.
* patch 8.0.0948: crash if timer closes window while dragging status linev8.0.0948Bram Moolenaar2017-08-161-2/+5
| | | | | | Problem: Crash if timer closes window while dragging status line. Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes #1979)
* patch 8.0.0947: entering terminal using C-O C-W C-W goes to Insert modev8.0.0947Bram Moolenaar2017-08-161-0/+6
| | | | | | 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)
* patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistentv8.0.0877Bram Moolenaar2017-08-061-3/+3
| | | | | Problem: Using CTRL-\ CTRL-N in terminal is inconsistent. Solution: Stay in Normal mode.
* patch 8.0.0874: can't build with terminal featurev8.0.0874Bram Moolenaar2017-08-051-1/+1
| | | | | Problem: Can't build with terminal feature. Solution: Include change to term_use_loop(). (Dominique Pelle)
* patch 8.0.0872: no mouse scroll with a terminal windowv8.0.0872Bram Moolenaar2017-08-051-0/+5
| | | | | | | | 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.
* patch 8.0.0858: can exit while a terminal is still running a jobv8.0.0858Bram Moolenaar2017-08-031-2/+2
| | | | | Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file.
* patch 8.0.0826: cannot use text objects in Terminal modev8.0.0826Bram Moolenaar2017-07-311-8/+8
| | | | | | Problem: Cannot use text objects in Terminal mode. Solution: Check for pending operator and Visual mode first. (Yasuhiro Matsumoto, closes #1906)
* patch 8.0.0813: cannot use a terminal window while the job is runningv8.0.0813Bram Moolenaar2017-07-301-0/+8
| | | | | | Problem: Cannot use Vim commands in a terminal window while the job is running. Solution: Implement Terminal Normal mode.
* patch 8.0.0725: a terminal window does not handle keyboard inputv8.0.0725Bram Moolenaar2017-07-161-1/+4
| | | | | Problem: A terminal window does not handle keyboard input. Solution: Add terminal_loop(). ":term bash -i" sort of works now.
* patch 8.0.0647: syntax highlighting can make cause a freezev8.0.0647Bram Moolenaar2017-06-181-0/+8
| | | | | Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window.
* patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar2017-06-171-2/+2
| | | | | | | | 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.
* patch 8.0.0609: some people still don't know how to quitv8.0.0609Bram Moolenaar2017-06-041-1/+1
| | | | | | 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.
* patch 8.0.0602: when gF fails to edit the file the cursor still movesv8.0.0602Bram Moolenaar2017-05-241-3/+3
| | | | | | 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)
* patch 8.0.0568: 1gd may hangv8.0.0568Bram Moolenaar2017-04-201-0/+6
| | | | | Problem: "1gd" may hang. Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
* patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar2017-03-161-1/+1
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
* patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar2017-03-121-7/+7
| | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
* patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-37/+34
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessaryv8.0.0379Bram Moolenaar2017-02-261-2/+2
| | | | | Problem: CTRL-Z and mouse click use CTRL-O unnecessary. Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
* patch 8.0.0303: bracketed paste does not work in Visual modev8.0.0303Bram Moolenaar2017-02-041-2/+31
| | | | | Problem: Bracketed paste does not work in Visual mode. Solution: Delete the text before pasting
* patch 8.0.0296: bracketed paste can only append, not insertv8.0.0296Bram Moolenaar2017-02-021-1/+6
| | | | | Problem: Bracketed paste can only append, not insert. Solution: When the cursor is in the first column insert the text.
* patch 8.0.0282: need to use CTRL-O twice when in Visual-Insert modev8.0.0282Bram Moolenaar2017-02-011-0/+2
| | | | | | | 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)
* patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar2017-01-211-1/+10
| | | | | | 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.
* patch 8.0.0208: internally used commands end up in historyv8.0.0208Bram Moolenaar2017-01-201-2/+2
| | | | | | | Problem: Internally used commands for CTRL-Z and mouse click end up in history. (Matthew Malcomson) Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead buffer. (James McCoy, closes #1395)
* patch 8.0.0179: cannot have a local value for 'formatprg'v8.0.0179Bram Moolenaar2017-01-141-4/+6
| | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes #1380)
* patch 8.0.0066v8.0.0066Bram Moolenaar2016-11-051-0/+5
| | | | | | | Problem: when calling an operator function when 'linebreak' is set, it is internally reset before calling the operator function. Solution: Restore 'linebreak' before calling op_function(). (Christian Brabandt)
* patch 8.0.0060v8.0.0060Bram Moolenaar2016-11-041-2/+6
| | | | | | Problem: When using an Ex command for 'keywordprg' it is escaped as with a shell command. (Romain Lafourcade) Solution: Escape for an Ex command. (closes #1175)
* patch 8.0.0023v8.0.0023Bram Moolenaar2016-10-081-7/+75
| | | | | Problem: "gd" and "gD" may find a match in a comment or string. Solution: Ignore matches in comments and strings. (Anton Lindqvist)
* patch 7.4.2365v7.4.2365Bram Moolenaar2016-09-121-2/+1
| | | | | Problem: Needless line break. Confusing directory name. Solution: Remove line break. Prepend "../" to "tools".
* patch 7.4.2347v7.4.2347Bram Moolenaar2016-09-081-3/+2
| | | | | | | Problem: Crash when closing a buffer while Visual mode is active. (Dominique Pelle) Solution: Adjust the position before computing the number of lines. When closing the current buffer stop Visual mode.
* patch 7.4.2326v7.4.2326Bram Moolenaar2016-09-041-0/+3
| | | | | | Problem: Illegal memory access when Visual selection starts in invalid position. (Dominique Pelle) Solution: Correct position when needed.
* patch 7.4.2320v7.4.2320Bram Moolenaar2016-09-031-1/+5
| | | | | | | Problem: Redraw problem when using 'incsearch'. Solution: Save the current view when deleting characters. (Christian Brabandt) Fix that the '" mark is set in the wrong position. Don't change the search start when using BS.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-1/+1
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1981v7.4.1981Bram Moolenaar2016-07-021-2/+2
| | | | | Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code.
* patch 7.4.1940v7.4.1940Bram Moolenaar2016-06-151-2/+5
| | | | | Problem: "gd" hangs in some situations. (Eric Biggers) Solution: Remove the SEARCH_START flag when looping. Add a test.
* patch 7.4.1833v7.4.1833Bram Moolenaar2016-05-241-2/+15
| | | | | Problem: Cannot use an Ex command for 'keywordprg'. Solution: Accept an Ex command. (Nelo-Thara Wallus)
* patch 7.4.1748v7.4.1748Bram Moolenaar2016-04-161-1/+2
| | | | | | Problem: "gD" does not find match in first column of first line. (Gary Johnson) Solution: Accept match at the cursor.
* patch 7.4.1615v7.4.1615Bram Moolenaar2016-03-191-0/+4
| | | | | Problem: Build fails with tiny features. Solution: Adjust #ifdefs.
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-14/+4
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1513v7.4.1513Bram Moolenaar2016-03-081-5/+12
| | | | | Problem: "J" fails if there are not enough lines. (Christian Neukirchen) Solution: Reduce the count, only fail on the last line.
* patch 7.4.1433v7.4.1433Bram Moolenaar2016-02-271-18/+0
| | | | | | Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code.
* patch 7.4.1222v7.4.1222Bram Moolenaar2016-01-311-5/+1
| | | | | Problem: ":normal" command and others missing in tiny build. Solution: Graduate FEAT_EX_EXTRA.
* patch 7.4.1211v7.4.1211Bram Moolenaar2016-01-301-313/+187
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-123/+123
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.1150v7.4.1150Bram Moolenaar2016-01-211-1/+1
| | | | | | | Problem: 'langmap' applies to the first character typed in Select mode. (David Watson) Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) Add the 'x' flag to feedkeys().
* patch 7.4.1089v7.4.1089Bram Moolenaar2016-01-121-0/+1
| | | | | Problem: Repeating CTRL-A doesn't work. Solution: Call prep_redo_cmd(). (Hirohito Higashi)
* patch 7.4.1087v7.4.1087Bram Moolenaar2016-01-101-59/+28
| | | | | | Problem: CTRL-A and CTRL-X do not work properly with blockwise visual selection if there is a mix of Tab and spaces. Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi)
* patch 7.4.1084v7.4.1084Bram Moolenaar2016-01-101-1/+1
| | | | | | Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong numbers. Solution: Append right size to the redo buffer. (Ozaki Kiichi)