diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index 69c59b6..c71173d 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -121,6 +121,7 @@ function! delimitMate#Init() "{{{ let b:delimitMate_buffer = [] + " Set mappings: call delimitMate#UnMap() try let save_cpo = &cpo diff --git a/doc/delimitMate.txt b/doc/delimitMate.txt index 21ef584..762ace7 100644 --- a/doc/delimitMate.txt +++ b/doc/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 with delimiters. But, since brackets have special meaning in visual mode, a 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 -blockwise visual mode, any suggestions to fix this will be very welcome. +NOTE that this feature brakes the redo command and doesn't currently work well +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): > @@ -516,7 +517,7 @@ e.g.: You can use this to create your own mapping to jump over any delimiter. 6. TODO LIST *delimitMateTodo* - 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*