- Remove (undocumented and unused) optional argument of MakeSyntaxFolds
- Use script-local functions
- Use getpos()/setpos() for cursor positioning
- Use normal! instead of normal
- Use add()/remove() on arrays
- Remove a bug if startskip matches on first line of buffer
With feedkeys, the "_c was delayed until the very end of an active
mapping. Now, startinsert is issued immediately and the IMAP_JumpFunc
leaves in insertmode (if there was an empty placeholder).
Up to now, IMAP_JumpFunc has to be called from insert mode. This
rendered the code in this function a little bit complicated. Now, it is
simpler to understand and to modify.
In my opinion, this works now without the decoding. I have tested the
issue with the matching of "\xab" with itself, and it seems to be fine
in recent versions of Vim. (However, I did not find a clue in the change
logs of Vim concerning this issue)
In insert mode, <c-v>O will let you insert ascii keycodes as octal
numbers. Hence, an 'O' must not be preceeded by <c-v>. However, <c-v> is
necessary, if a:char is <c-\>.
Fix#59
- Improved(?) the foldtext
- Itemize environments can nest
- Replaced a stack implementation by vim lists
- Add some debugging code to SyntaxFolds.vim
- Removed some bugs
- Speedup of folding
Description: Fix error message on double loading
If the file plugin/remoteOpen.vim is loaded twice by vim (e.g. at both local
and system-wide installation), errors about redefined commands are shown.
This patch should fix this.
Author: Johann Felix Soden <johfel@gmx.de>
Bug-Debian: http://bugs.debian.org/444426
Why: Apparently, you cannot use
:if v:version >= 700
:for something
...
:endfor
:endif
the :endfor and :for trigger errors.
Fix: For now, just remove this code from latex-suite since there is a new
release purely for vim7 coming up.
using FB_Strntok() to get the i^th line of glob('*'), iterate using
stridx(). This makes the time required by FB_OpenFileBrowser() to list
the files in C:/WINDOWS/system32 reduce from 104 seconds to 1 second.
If v:version >= 700, then we can directly use Vim's inbuilt list and
split() functions. This makes the time go to 0.6 seconds.
commands to do the following:
1. change the EOL style of all vim files to be just LF.
2. changed the mime-type of all files to text/plain
3. removed the executable flag on all files.
This should hopefully make the repo look better on all platforms etc.
:iab zzz whatever
then typing 'z<space>' triggers the abbreviation in the presence of
latex-suite. (Cristian Rigamonti)
Why: The reg-exp used to find out if a iab existed was faulty.
Fix: Fix the regexp to use an exact match of the previous word.
>>> \begin{array}
>>> \end{}
results in
>>> \begin{array}
>>> \end{<++>}
with the cursor at the end (Berta Milan)
Why: When the indentation of a line changes while typing the text returned
by IMAP_PutTextWithMovement, then IMAP_Mark('go') does not go to the
same location as set by IMAP_Mark('set'). This causes the cursor to be
located not before the first placeholder causing the first
placeholder to be "missed".
Fix: Check to see if the indentation of the line remembered by
IMAP_Mark('set') has changed and if so, move a little to the left or
right to adjust for the indentation changing.
Why: With 'ignorecase' set, 'etB' matches 'ETB', therefore, LookupCharacter
assumes that a map exists for 'etB' and tries to find the value of
s:Map_Tex_etB which doesn't exist.
Fix: Force matching case with the \C pattern.
Why: The following vim command
:drop File Name with spaces
opens up multiple files.
Fix: escape() the file name before issuing the drop command.
NOTE: There is a vim bug where
exec "drop ".escape(filename, '\ ')
hangs GVIM.