aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
Commit message (Collapse)AuthorAge
* vim-patch:7.4.1731 Mark as NAMichael Ennen2016-12-12
| | | | Leave a note in vim_diff.txt about it.
* os/shell: do_os_system(): Always show last chunk.Justin M. Keyes2016-12-10
| | | | | | | | | | | | | | | | | | | | | This ameliorates use-cases like: :!cat foo.txt :make where the user is interested in the last few lines of output. Try these shell-based ex-commands before/after this commit: :grep -r '' * :make :!yes :!grep -r '' * :!git grep '' :!cat foo :!echo foo :!while true; do date; done :!for i in `seq 1 20000`; do echo XXXXXXXXXX $i; done In all cases the last few lines of the command should always be shown, regardless of where throttling was triggered.
* os/shell: Throttle :! output, pulse "..." message.Justin M. Keyes2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly improves responsiveness when :! spams MB or GB of output: :!yes :!while true; do date; done :!git grep '' :grep -r '' * After ~10KB of data is seen from a single :! invocation, output will be skipped for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the behavior alternates at every: * 10KB received * ~1s throttled This also avoids out-of-memory which could happen with large :! outputs. Note: This commit does not change the behavior of execute(':!foo'). execute(':!foo') returns the string ':!foo^M', it captures *only* Vim messages, *not* shell command output. Vim behaves the same way. Use system('foo') for capturing shell command output. Closes #1234 Helped-by: oni-link <knil.ino@gmail.com>
* Merge #5561 'inccommand'Justin M. Keyes2016-11-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Initial work by: Robin Elrharbi-Fleury (Robinhola) Audrey Rayé (Adrey06) Philémon Hullot (DesbyP) Aymeric Collange (aym7) Clément Guyomard (Clement0) Major revisions by: KillTheMule Björn Linse <bjorn.linse@gmail.com> Justin M. Keyes <justinkz@gmail.com>
| * 'inccommand': rename 'incsubstitute'Justin M. Keyes2016-11-08
| | | | | | | | | | | | | | | | | | 'inccommand' allows us to expand the feature to other commands, such as: :cdo :cfdo :global Also rename "IncSubstitute" highlight group to "Substitute".
| * 'inccommand': disable 'cursorline', 'spell' in previewJustin M. Keyes2016-11-08
| |
| * 'inccommand': reworkJustin M. Keyes2016-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Eliminate/isolate static/global variables - Remove special-case parameter from buflist_new() - Remove special-case ECMD_RESERVED_BUFNR - To determine when u_undo_and_forget() should be done, check b_changedtick instead of a heuristic. - use mb_string2cells() instead of strlen() to measure the :sub patterns - call ml_close() before buf_clear_file(). Avoids leaks caught by ASan. Original patch by: Robin Elrharbi-Fleury (Robinhola) Audrey Rayé (Adrey06) Philémon Hullot (DesbyP) Aymeric Collange (aym7) Clément Guyomard (Clement0)
* | encoding: update documentationBjörn Linse2016-11-05
| |
* | doc: Remove features from vim_diff which have been merged upstream (#5554)James McCoy2016-10-31
|/ | | | - TabNew/TabClosed: Introduced in 7.4.2075 and 7.4.2077 - hl-EndOfBuffer: Introduced in 7.4.2213
* CheckHealth: check for sensible.vimJustin M. Keyes2016-10-28
|
* doc; vim-patch.shJustin M. Keyes2016-10-24
| | | | | | Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* system('foo &', 'bar'): Show error, don't crash.Justin M. Keyes2016-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #3529 Closes #5241 In Vim, :echo system('cat - &', 'foo') works because for both system() and :! Vim writes input to a temp file and uses shell syntax to redirect the file to the backgrounded `cat` (get_cmd_output() .. make_filter_cmd()). In Nvim, :echo system('cat - &', 'foo') fails because we write the input directly via pipes (shell.c:do_os_system()), but (per POSIX[1]) backgrounded process input stream is redirected from /dev/null (unless overridden by shell redirection; supported only by some shells [2]), so our writes are ignored, the process exits quickly, and if we are writing data larger than the buffer size we'll see EPIPE. This still works: :%w !tee > foo1358.txt & but this does not: :%w !tee foo1358.txt & though it *should* (why doesn't it?) because we still do the temp file dance in do_bang() .. do_filter(). [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02 [2] http://unix.stackexchange.com/a/71218
* test: system(): backgrounded shell commandJustin M. Keyes2016-10-19
| | | | | | | | | | | | | | | These tests are essentially affirming a regression vs Vim. In Vim, :echo system('cat - &', 'foo') returns "foo", because Vim internally wraps the command with shell-specific syntax to redirect the streams from /dev/null[1]. That can't work in Nvim because we use pipes directly (instead of temp files) and don't wrap the command with shell-specific redirection syntax. References #3529 References #5241 [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
* docJustin M. Keyes2016-10-16
|
* doc/vim_diff.txt (#5432)Justin M. Keyes2016-10-06
|
* doc/deprecated.txt (#5338)Justin M. Keyes2016-09-24
| | | | | | | | | | | `deprecated.txt` is a place for deprecated tags to live. - Encourages aggressive documentation of deprecations without cluttering the main help files. - Provides a single browsable reference of all deprecations. Other changes: - Move tags to doc/vim_diff.txt. - Remove doc/quotes.txt. It has little historical value, except maybe the Larry Wall quote.
* release.sh: Touch NVIM_VERSION_PATCH, show obnoxious message.Justin M. Keyes2016-08-22
| | | | git-log-pretty-since.sh: fix bug
* CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.Justin M. Keyes2016-08-21
| | | | | | | | | To healthcheck the "foo" plugin: :CheckHealth foo To healthcheck the "foo" and "bar" plugins: :CheckHealth foo bar To run all auto-discovered healthchecks: :CheckHealth
* man.vim: doc fixes #5171Anmol Sethi2016-08-13
| | | | | | | | | | | | | | - Weird tab+space combination used for alignment. All spaces now - Added back <C-T> mapping (somehow we missed that completely) - Fixed mistake that <Plug>(Man) opens in a new tab. Also added note at top on how the window is chosen/opened. - Clarified q local mapping - Removed section that shows an example autocmd to add desired folding style. - Removed random line in `usr_12.txt` about `<Leader>` and backslash. - :Man supports completion, not auto-completion. Closes #5171
* Restore ":browse oldfiles" behavior from VimJames McCoy2016-08-11
| | | | | | | | | | | | In 3b12bb225adda2aac40a55f7009cae05311b2a43, ":oldfiles" was taught to behave like Vim's ":browse oldfiles" if ":oldfiles!" was used. However, this conflates the use of ! for abandoning a modified buffer with choosing one file out of a list of oldfiles. Now that ":browse" is supported again, ":browse oldfiles" will allow the user to select an old file, while still complaining if that would cause a modified buffer to be abandoned. ":browse oldfiles!" will just abandon the buffer, as expected.
* docJustin M. Keyes2016-08-10
|
* man.vim: doc, UX tweaksJustin M. Keyes2016-08-04
| | | | s:error: Convention is to highlight the entire message, so stick to that.
* eval.c: rename capture() to execute() (#5132)Justin M. Keyes2016-07-31
|
* Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\
| * Remove if_ruby from list of unimplemented featuresAlex Genco2016-07-09
| |
* | docJustin M. Keyes2016-07-03
|/ | | | Closes #4777
* doc: consolidate nvim.txtJustin M. Keyes2016-06-15
|
* doc/python: cleanupJustin M. Keyes2016-06-15
| | | | | | - Move info to providers.txt - Remove "nvim-" prefix. - Brevity, clarity, ...
* eval: Rename json* functions to json_*ZyX2016-04-18
|
* eval: Port parts of 7.4.1267 that are not already presentZyX2016-04-18
|
* eval: Remove v:noneZyX2016-04-18
| | | | | To get v:none back just rever this commit. This will not make json*() functions compatible with Vim though.
* eval: Add jsondecode() functionZyX2016-04-18
|
* test: defaults_spec.luaJustin M. Keyes2016-04-15
|
* doc: formatting #4543Chiel Kooijman2016-04-08
|
* Merge pull request #3900 from ZyX-I/inf-nan-stringJustin M. Keyes2016-02-28
|\ | | | | Make it possible to eval() all floating-point values dumped by string()
| * documentation: Add notes to eval.txt and vim_diff.txtZyX2016-02-21
| |
* | Doc: correct default valueMarco Hinz2016-02-15
| |
* | defaults: Enable syntax and filetype plugins.Felipe Morales2016-02-14
| |
* | doc: remove references to 'term' and other tty related options.Felipe Morales2016-02-10
|/ | | | Re: https://github.com/neovim/neovim/issues/4218
* Merge pull request #4009 from sethjackson/swapsyncMichael Reed2016-01-14
|\ | | | | [RFC] Remove 'swapsync'
| * Remove swapsync.Seth Jackson2016-01-14
| | | | | | | | It's complete overkill.
* | doc: Remove references to GTK.Seth Jackson2016-01-14
|/ | | | We don't support it.
* Remove 'restorescreen' optionSeth Jackson2016-01-08
| | | | | | | The relevant code was never actually in Neovim, most likely due to being unifdef(1)'d out during the initial import. see `:h hidden-options'
* Remove 'antialias' remnantsMichael Reed2015-11-25
| | | | It never did anything (see `:h hidden-options`).
* shada: Also store last search directionZyX2015-11-23
| | | | | | | | | | Note: it looks like viminfo files do not store search direction intentionally. After reading viminfo file search direction was considered to be “forward”. Note 2: all files created on earlier Neovim version will automatically receive “forward” direction. Fixes #3580
* Add TermClose eventMarco Hinz2015-11-15
| | | | | | | | A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
* vim_diff: Fix incorrect ShaDa pathJohannes Löthberg2015-11-14
| | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* Be more explicit about the lack of X11 integrationMichael Reed2015-11-10
| | | | | I don't want anyone getting the idea that the `-X` flag they might have used has anything to do with why the `+` is working for them
* Add file selection prompt on ":oldfiles!"Marco Hinz2015-11-10
| | | | | | | | :browse was removed for good, but some people miss ":browse oldfiles". The same functionality is now provided by ":oldfiles!". Helped-by: @Pyrohh
* Remove :open commandMichael Reed2015-11-07
| | | | | | | | | | | | | | | | | | | | | From the documentation itself: :[range]o[pen] Works like |:visual|: end Ex mode. {Vi: start editing in open mode} ... Vim does not support open mode, since it's not really useful. For those situations where ":open" would start open mode Vim will leave Ex mode, which allows executing the same commands, but updates the whole screen instead of only one line. Part of the reason behind this is to make removing vi_diff.txt easier, although it's also because :open is not too useful. Helped-by: @fdinoff Helped-by: @dsummersl Helped-by: @mhinz Helped-by: @justinmk