mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 20:54:31 +08:00
Update README.
This commit is contained in:
54
README
54
README
@@ -1,4 +1,4 @@
|
|||||||
*delimitMate* Trying to keep those beasts at bay! v2.3.1 *delimitMate.txt*
|
*delimitMate* Trying to keep those beasts at bay! v2.4DEV *delimitMate.txt*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -149,8 +149,9 @@ e.g. typing at the "|": >
|
|||||||
When visual mode is active this script allows for the selection to be enclosed
|
When visual mode is active this script allows for the selection to be enclosed
|
||||||
with delimiters. But, since brackets have special meaning in visual mode, a
|
with delimiters. But, since brackets have special meaning in visual mode, a
|
||||||
leader (the value of 'mapleader' by default) should precede the delimiter.
|
leader (the value of 'mapleader' by default) should precede the delimiter.
|
||||||
NOTE that this feature brakes the redo command and doesn't currently work on
|
NOTE that this feature brakes the redo command and doesn't currently work well
|
||||||
blockwise visual mode, any suggestions to fix this will be very welcome.
|
on blockwise visual mode when the selection has lines one character smaller
|
||||||
|
than the rest, any suggestions to fix this will be very welcome.
|
||||||
|
|
||||||
e.g. (selection represented between square brackets): >
|
e.g. (selection represented between square brackets): >
|
||||||
|
|
||||||
@@ -304,7 +305,7 @@ Default: "\" ' `" ~
|
|||||||
Use this option to tell delimitMate which characters should be considered as
|
Use this option to tell delimitMate which characters should be considered as
|
||||||
quotes. Read |delimitMateAutoClose| for details.
|
quotes. Read |delimitMateAutoClose| for details.
|
||||||
e.g.: >
|
e.g.: >
|
||||||
let b:delimitMate_quotes = "\" ' ` *"
|
let delimitMate_quotes = "\" ' ` *"
|
||||||
au FileType html let b:delimitMate_quotes = "\" '"
|
au FileType html let b:delimitMate_quotes = "\" '"
|
||||||
<
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
@@ -328,20 +329,20 @@ Default: 0 ~
|
|||||||
This option turns on/off the expansion of <CR>. Read |delimitMateExpansion|
|
This option turns on/off the expansion of <CR>. Read |delimitMateExpansion|
|
||||||
for details.
|
for details.
|
||||||
e.g.: >
|
e.g.: >
|
||||||
let b:delimitMate_expand_cr = "\<CR>\<CR>\<Up>"
|
let delimitMate_expand_cr = 1
|
||||||
au FileType mail let b:delimitMate_expand_cr = "\<CR>"
|
au FileType mail let b:delimitMate_expand_cr = 1
|
||||||
<
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*'delimitMate_expand_space'*
|
*'delimitMate_expand_space'*
|
||||||
*'b:delimitMate_expand_space'*
|
*'b:delimitMate_expand_space'*
|
||||||
Values: A key mapping. ~
|
Values: 1 or 0 ~
|
||||||
Default: "\<Space>" ~
|
Default: 0 ~
|
||||||
|
|
||||||
This option turns on/off the expansion of <Space>. Read |delimitMateExpansion|
|
This option turns on/off the expansion of <Space>. Read |delimitMateExpansion|
|
||||||
for details.
|
for details.
|
||||||
e.g.: >
|
e.g.: >
|
||||||
let delimitMate_expand_space = "\<Space>\<Space>\<Left>"
|
let delimitMate_expand_space = 1
|
||||||
au FileType tcl let b:delimitMate_expand_space = "\<Space>"
|
au FileType tcl let b:delimitMate_expand_space = 1
|
||||||
<
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*'delimitMate_excluded_ft'*
|
*'delimitMate_excluded_ft'*
|
||||||
@@ -516,7 +517,7 @@ e.g.: You can use this to create your own mapping to jump over any delimiter.
|
|||||||
6. TODO LIST *delimitMateTodo*
|
6. TODO LIST *delimitMateTodo*
|
||||||
|
|
||||||
- Automatic set-up by file type.
|
- Automatic set-up by file type.
|
||||||
- Make visual wrapping work on blockwise visual mode.
|
- Make block-wise visual wrapping work on un-even regions.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. MAINTAINER *delimitMateMaintainer*
|
7. MAINTAINER *delimitMateMaintainer*
|
||||||
@@ -541,19 +542,34 @@ from the following sources:
|
|||||||
From the comments on the previous blog post and from:
|
From the comments on the previous blog post and from:
|
||||||
http://gist.github.com/144619
|
http://gist.github.com/144619
|
||||||
|
|
||||||
- Vim Scripts:
|
- Karl Guertin
|
||||||
http://www.vim.org/scripts
|
AutoClose:
|
||||||
|
http://www.vim.org/scripts/script.php?script_id=1849
|
||||||
|
|
||||||
This script was inspired by the auto-completion of delimiters of TextMate.
|
- Thiago Alves
|
||||||
|
AutoClose:
|
||||||
|
http://www.vim.org/scripts/script.php?script_id=2009
|
||||||
|
|
||||||
|
- Edoardo Vacchi
|
||||||
|
ClosePairs:
|
||||||
|
http://www.vim.org/scripts/script.php?script_id=2373
|
||||||
|
|
||||||
|
This script was inspired by the auto-completion of delimiters on TextMate.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
9. HISTORY *delimitMateHistory*
|
9. HISTORY *delimitMateHistory*
|
||||||
|
|
||||||
Version Date Release notes ~
|
Version Date Release notes ~
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.3.1 2010-06-06 * Current release:
|
2.4DEV 2010-06-06 * Current release:
|
||||||
- Fix: an extra <Space> is inserted after <Space>
|
- Unbalanced parens: see :help delimitMateBalance.
|
||||||
|
- Visual wrapping now works on block-wise visual
|
||||||
|
with some limitations.
|
||||||
|
|
||||||
|
|---------|------------|-----------------------------------------------------|
|
||||||
|
2.3.1 2010-06-06 * - Fix: an extra <Space> is inserted after <Space>
|
||||||
expansion.
|
expansion.
|
||||||
|
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.3 2010-06-06 * - Syntax aware: Will turn off when editing comments
|
2.3 2010-06-06 * - Syntax aware: Will turn off when editing comments
|
||||||
or other regions, customizable.
|
or other regions, customizable.
|
||||||
@@ -562,16 +578,19 @@ This script was inspired by the auto-completion of delimiters of TextMate.
|
|||||||
indentation adjustments anymore.
|
indentation adjustments anymore.
|
||||||
- Fix: Arrow keys would insert A, B, C or D instead
|
- Fix: Arrow keys would insert A, B, C or D instead
|
||||||
of moving the cursor when using Vim on a terminal.
|
of moving the cursor when using Vim on a terminal.
|
||||||
|
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.2 2010-05-16 * - Added command to switch the plug-in on and off.
|
2.2 2010-05-16 * - Added command to switch the plug-in on and off.
|
||||||
- Fix: some problems with <Left>, <Right> and <CR>.
|
- Fix: some problems with <Left>, <Right> and <CR>.
|
||||||
- Fix: A small problem when inserting a delimiter at
|
- Fix: A small problem when inserting a delimiter at
|
||||||
the beginning of the line.
|
the beginning of the line.
|
||||||
|
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.1 2010-05-10 * - Most of the functions have been moved to an
|
2.1 2010-05-10 * - Most of the functions have been moved to an
|
||||||
autoload script to avoid loading unnecessary ones.
|
autoload script to avoid loading unnecessary ones.
|
||||||
- Fixed a problem with the redo command.
|
- Fixed a problem with the redo command.
|
||||||
- Many small fixes.
|
- Many small fixes.
|
||||||
|
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.0 2010-04-01 * New features:
|
2.0 2010-04-01 * New features:
|
||||||
- All features are redo/undo-wise safe.
|
- All features are redo/undo-wise safe.
|
||||||
@@ -587,7 +606,6 @@ This script was inspired by the auto-completion of delimiters of TextMate.
|
|||||||
active if you have any of the expansion options
|
active if you have any of the expansion options
|
||||||
set.
|
set.
|
||||||
- <S-Backspace> deletes the closing delimiter.
|
- <S-Backspace> deletes the closing delimiter.
|
||||||
|
|
||||||
* Fixed bug:
|
* Fixed bug:
|
||||||
- s:vars were being used to store buffer options.
|
- s:vars were being used to store buffer options.
|
||||||
|
|
||||||
@@ -646,4 +664,4 @@ _____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____ ~
|
|||||||
__|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_ ~
|
__|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_ ~
|
||||||
_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____ ~
|
_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____ ~
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:formatoptions+=tcroqn:autoindent:
|
vim:tw=78:et:ts=2:sw=2:ft=help:norl:formatoptions+=tcroqn:autoindent:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ function! delimitMateTests#Main()
|
|||||||
echoerr "delimitMateTests#Main(): If you really want to use me, you must set delimitMate_testing to any value."
|
echoerr "delimitMateTests#Main(): If you really want to use me, you must set delimitMate_testing to any value."
|
||||||
return
|
return
|
||||||
elseif g:delimitMate_testing == "fork"
|
elseif g:delimitMate_testing == "fork"
|
||||||
!gvim -N -u NONE -U NONE -c "set backspace=eol,start" -c "let delimitMate_testing = 1" -c "so autoload/delimitMate.vim" -c "so autoload/delimitMateTests.vim" -c "so plugin/delimitMate.vim" -c "call delimitMateTests\#Main()"
|
!gvim -N -u NONE -U NONE -c "set backspace=eol,start" -c "set background=light" -c "syntax on" -c "let delimitMate_testing = 1" -c "so autoload/delimitMate.vim" -c "so autoload/delimitMateTests.vim" -c "so plugin/delimitMate.vim" -c "call delimitMateTests\#Main()"
|
||||||
return ""
|
return ""
|
||||||
endif
|
endif
|
||||||
nmap <F1> :qall!<CR>
|
nmap <F1> :qall!<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user