Mercurial > vim
comparison runtime/doc/eval.txt @ 12499:d91cf2e26ef0
Update runtime files.
commit https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 19 22:06:03 2017 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2017 22:15:06 +0200 |
parents | 805f7fd40e0d |
children | b1a7e3968a31 |
comparison
equal
deleted
inserted
replaced
12498:bf98d339b568 | 12499:d91cf2e26ef0 |
---|---|
1 *eval.txt* For Vim version 8.0. Last change: 2017 Sep 11 | 1 *eval.txt* For Vim version 8.0. Last change: 2017 Sep 17 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
4785 Without {winid} information about all the windows in all the | 4785 Without {winid} information about all the windows in all the |
4786 tab pages is returned. | 4786 tab pages is returned. |
4787 | 4787 |
4788 Each List item is a Dictionary with the following entries: | 4788 Each List item is a Dictionary with the following entries: |
4789 bufnr number of buffer in the window | 4789 bufnr number of buffer in the window |
4790 height window height | 4790 height window height (excluding winbar) |
4791 winbar 1 if the window has a toolbar, 0 | |
4792 otherwise | |
4791 loclist 1 if showing a location list | 4793 loclist 1 if showing a location list |
4792 {only with the +quickfix feature} | 4794 {only with the +quickfix feature} |
4793 quickfix 1 if quickfix or location list window | 4795 quickfix 1 if quickfix or location list window |
4794 {only with the +quickfix feature} | 4796 {only with the +quickfix feature} |
4795 terminal 1 if a terminal window | 4797 terminal 1 if a terminal window |
5674 "i" Insert | 5676 "i" Insert |
5675 "c" Cmd-line | 5677 "c" Cmd-line |
5676 "s" Select | 5678 "s" Select |
5677 "x" Visual | 5679 "x" Visual |
5678 "l" langmap |language-mapping| | 5680 "l" langmap |language-mapping| |
5681 "t" Terminal-Job | |
5679 "" Normal, Visual and Operator-pending | 5682 "" Normal, Visual and Operator-pending |
5680 When {mode} is omitted, the modes for "" are used. | 5683 When {mode} is omitted, the modes for "" are used. |
5681 | 5684 |
5682 When {abbr} is there and it is |TRUE| use abbreviations | 5685 When {abbr} is there and it is |TRUE| use abbreviations |
5683 instead of mappings. | 5686 instead of mappings. |
8019 reverse | 8022 reverse |
8020 {only available when compiled with the |+terminal| feature} | 8023 {only available when compiled with the |+terminal| feature} |
8021 | 8024 |
8022 term_getcursor({buf}) *term_getcursor()* | 8025 term_getcursor({buf}) *term_getcursor()* |
8023 Get the cursor position of terminal {buf}. Returns a list with | 8026 Get the cursor position of terminal {buf}. Returns a list with |
8024 two numbers and a dictionary: [rows, cols, dict]. | 8027 two numbers and a dictionary: [row, col, dict]. |
8025 | 8028 |
8026 "rows" and "cols" are one based, the first screen cell is row | 8029 "row" and "col" are one based, the first screen cell is row |
8027 1, column 1. This is the cursor position of the terminal | 8030 1, column 1. This is the cursor position of the terminal |
8028 itself, not of the Vim window. | 8031 itself, not of the Vim window. |
8029 | 8032 |
8030 "dict" can have these members: | 8033 "dict" can have these members: |
8031 "visible" one when the cursor is visible, zero when it | 8034 "visible" one when the cursor is visible, zero when it |
8134 Send keystrokes {keys} to terminal {buf}. | 8137 Send keystrokes {keys} to terminal {buf}. |
8135 {buf} is used as with |term_getsize()|. | 8138 {buf} is used as with |term_getsize()|. |
8136 | 8139 |
8137 {keys} are translated as key sequences. For example, "\<c-x>" | 8140 {keys} are translated as key sequences. For example, "\<c-x>" |
8138 means the character CTRL-X. | 8141 means the character CTRL-X. |
8142 {only available when compiled with the |+terminal| feature} | |
8143 | |
8144 term_setsize({buf}, {expr}) *term_setsize()* | |
8145 Not implemented yet. | |
8139 {only available when compiled with the |+terminal| feature} | 8146 {only available when compiled with the |+terminal| feature} |
8140 | 8147 |
8141 term_start({cmd}, {options}) *term_start()* | 8148 term_start({cmd}, {options}) *term_start()* |
8142 Open a terminal window and run {cmd} in it. | 8149 Open a terminal window and run {cmd} in it. |
8143 | 8150 |
8607 The result is a Number, which is the height of window {nr}. | 8614 The result is a Number, which is the height of window {nr}. |
8608 {nr} can be the window number or the |window-ID|. | 8615 {nr} can be the window number or the |window-ID|. |
8609 When {nr} is zero, the height of the current window is | 8616 When {nr} is zero, the height of the current window is |
8610 returned. When window {nr} doesn't exist, -1 is returned. | 8617 returned. When window {nr} doesn't exist, -1 is returned. |
8611 An existing window always has a height of zero or more. | 8618 An existing window always has a height of zero or more. |
8619 This excludes any window toolbar line. | |
8612 Examples: > | 8620 Examples: > |
8613 :echo "The current window has " . winheight(0) . " lines." | 8621 :echo "The current window has " . winheight(0) . " lines." |
8614 < | 8622 < |
8615 *winline()* | 8623 *winline()* |
8616 winline() The result is a Number, which is the screen line of the cursor | 8624 winline() The result is a Number, which is the screen line of the cursor |
8934 timers Compiled with |timer_start()| support. | 8942 timers Compiled with |timer_start()| support. |
8935 title Compiled with window title support |'title'|. | 8943 title Compiled with window title support |'title'|. |
8936 toolbar Compiled with support for |gui-toolbar|. | 8944 toolbar Compiled with support for |gui-toolbar|. |
8937 ttyin input is a terminal (tty) | 8945 ttyin input is a terminal (tty) |
8938 ttyout output is a terminal (tty) | 8946 ttyout output is a terminal (tty) |
8939 unix Unix version of Vim. | 8947 unix Unix version of Vim. *+unix* |
8940 unnamedplus Compiled with support for "unnamedplus" in 'clipboard' | 8948 unnamedplus Compiled with support for "unnamedplus" in 'clipboard' |
8941 user_commands User-defined commands. | 8949 user_commands User-defined commands. |
8942 vertsplit Compiled with vertically split windows |:vsplit|. | 8950 vertsplit Compiled with vertically split windows |:vsplit|. |
8943 vim_starting True while initial source'ing takes place. |startup| | 8951 vim_starting True while initial source'ing takes place. |startup| |
8944 *vim_starting* | 8952 *vim_starting* |