forked from aniani/vim
updated for version 7.0231
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 19
|
*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1105,8 +1105,8 @@ When you are back at the original text then you are in the second state. To
|
|||||||
get there right away you can use a mapping that uses CTRL-P right after
|
get there right away you can use a mapping that uses CTRL-P right after
|
||||||
starting the completion: >
|
starting the completion: >
|
||||||
:imap <F7> <C-N><C-P>
|
:imap <F7> <C-N><C-P>
|
||||||
|
<
|
||||||
|
*popupmenu-keys*
|
||||||
In the first state these keys have a special meaning:
|
In the first state these keys have a special meaning:
|
||||||
<BS> and CTRL-H Delete one character, find the matches for the word before
|
<BS> and CTRL-H Delete one character, find the matches for the word before
|
||||||
the cursor. This reduces the list of matches, often to one
|
the cursor. This reduces the list of matches, often to one
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*undo.txt* For Vim version 7.0aa. Last change: 2006 Mar 16
|
*undo.txt* For Vim version 7.0aa. Last change: 2006 Mar 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -108,10 +108,10 @@ change.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
4. Undo branches *undo-branches*
|
4. Undo branches *undo-branches*
|
||||||
|
|
||||||
Above we only discussed one line of undo. But it is also possible to branch
|
Above we only discussed one line of undo/redo. But it is also possible to
|
||||||
off. This happens when you undo a few changes and then make a new change.
|
branch off. This happens when you undo a few changes and then make a new
|
||||||
The undone changes become a branch. You can go to that branch with the
|
change. The undone changes become a branch. You can go to that branch with
|
||||||
following commands.
|
the following commands.
|
||||||
|
|
||||||
What matters here is the order in which the changes are made. Undo and redo
|
What matters here is the order in which the changes are made. Undo and redo
|
||||||
are not considered changes in this context. After each change you have a new
|
are not considered changes in this context. After each change you have a new
|
||||||
@@ -179,9 +179,6 @@ Delete the second word by pressing "x" three times:
|
|||||||
Now undo that by using "g-" three times:
|
Now undo that by using "g-" three times:
|
||||||
one o three ~
|
one o three ~
|
||||||
one wo three ~
|
one wo three ~
|
||||||
one two three ~
|
|
||||||
|
|
||||||
Continue going back in time by pressing "g-" one more time:
|
|
||||||
two three ~
|
two three ~
|
||||||
|
|
||||||
You are now back in the first undo branch, after deleting "one". Repeating
|
You are now back in the first undo branch, after deleting "one". Repeating
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 7.0aa. Last change: 2006 Feb 22
|
*usr_41.txt* For Vim version 7.0aa. Last change: 2006 Mar 21
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -24,6 +24,7 @@ script. There are a lot of them, thus this is a long chapter.
|
|||||||
|41.13| Writing a compiler plugin
|
|41.13| Writing a compiler plugin
|
||||||
|41.14| Writing a plugin that loads quickly
|
|41.14| Writing a plugin that loads quickly
|
||||||
|41.15| Writing library scripts
|
|41.15| Writing library scripts
|
||||||
|
|41.16| Distributing Vim scripts
|
||||||
|
|
||||||
Next chapter: |usr_42.txt| Add new menus
|
Next chapter: |usr_42.txt| Add new menus
|
||||||
Previous chapter: |usr_40.txt| Make new commands
|
Previous chapter: |usr_40.txt| Make new commands
|
||||||
@@ -2155,6 +2156,9 @@ mean is that it loads quickly the first time, postponing the bulk of the
|
|||||||
script to the second time, which only happens when you actually use it. When
|
script to the second time, which only happens when you actually use it. When
|
||||||
you always use the functionality it actually gets slower!
|
you always use the functionality it actually gets slower!
|
||||||
|
|
||||||
|
Note that since Vim 7 there is an alternative: use the |autoload|
|
||||||
|
functionality |41.15|.
|
||||||
|
|
||||||
The following example shows how it's done: >
|
The following example shows how it's done: >
|
||||||
|
|
||||||
" Vim global plugin for demonstrating quick loading
|
" Vim global plugin for demonstrating quick loading
|
||||||
@@ -2276,6 +2280,19 @@ like: >
|
|||||||
|
|
||||||
Further reading: |autoload|.
|
Further reading: |autoload|.
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
*41.16* Distributing Vim scripts *distribute-script*
|
||||||
|
|
||||||
|
Vim users will look for scripts on the Vim website: http://www.vim.org.
|
||||||
|
If you made something that is useful for others, share it!
|
||||||
|
|
||||||
|
Vim scripts can be used on any system. There might not be a tar or gzip
|
||||||
|
command. If you want to pack files together and/or compress them the "zip"
|
||||||
|
utility is recommended.
|
||||||
|
|
||||||
|
For utmost portability use Vim itself to pack scripts together. This can be
|
||||||
|
done with the Vimball utility. See |vimball|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
Next chapter: |usr_42.txt| Add new menus
|
Next chapter: |usr_42.txt| Add new menus
|
||||||
|
@@ -391,6 +391,16 @@
|
|||||||
# define FEAT_PROFILE
|
# define FEAT_PROFILE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* +reltime reltime() function
|
||||||
|
*/
|
||||||
|
#if defined(FEAT_NORMAL) \
|
||||||
|
&& defined(FEAT_EVAL) \
|
||||||
|
&& ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \
|
||||||
|
|| defined(WIN3264))
|
||||||
|
# define FEAT_RELTIME
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* +textobjects Text objects: "vaw", "das", etc.
|
* +textobjects Text objects: "vaw", "das", etc.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user