On Tuesday, July 16, 2013 9:29:19 PM UTC-5, [email protected] wrote:
> 
> I tested with vim 7.3.822 on win7 this config:
> 
> :ver
> 
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 17 2013 03:39:13)
> 
> MS-Windows 32-bit console version
> 
> Included patches: 1-822
> 
> Compiled by g_user7@win7-PC
> 
> Huge version without GUI.  Features included (+) or not (-):
> 
> [SNIP] 
> 
> vimrc file used:
> 
> 
> " http://vimdoc.sourceforge.net/htmldoc/starting.html#vimrc
> 
> set nocompatible        " use vim defaults
> set scrolloff=3         " keep 3 lines when scrolling
> set ai                  " set auto-indenting on for programming
> 
> set showcmd             " display incomplete commands
> set nobackup            " do not keep a backup file
> set number              " show line numbers
> set ruler               " show the current row and column
> 
> set hlsearch            " highlight searches
> set incsearch           " do incremental searching
> set showmatch           " jump to matches when entering regexp
> set ignorecase          " ignore case when searching
> set smartcase           " no ignorecase if Uppercase char present
> 
> set visualbell t_vb=    " turn off error beep/flash
> set novisualbell        " turn off visual bell
> 
> set backspace=indent,eol,start  " make that backspace key work the way it 
> should
> 
> syntax on               " turn syntax highlighting on by default
> filetype on             " detect type of file
> filetype indent on      " load indent file for specific file type
> 
> set t_RV=               " http://bugs.debian.org/608242, 
> http://groups.google.com/group/vim_dev/browse_thread/thread/9770ea844cec3282
> 

I copied this .vimrc into %TEMP%\test_vimrc.vim and ran Vim using:

  vim -N --noplugin -u %TEMP%\test_vimrc.vim -U NONE -i NONE

> After executed the vim normal command on fileinwin32 input file:
> 
>   :%no<S-Tab>!Y6r gw}Vp<CR>
> 
>    with the config above, in last paragraph of buffer, the word "BL" is  
> repeated on the next line  and "connotation" is pushed on next line.
> 

I could not reproduce the problem. "BL" stays on the same line when I do
it. I realized my terminal window was set to 25 characters in height, 80
characters in width, so I resized to 80 high and 160 wide as you stated
you used, and still I get the same result. "BL" stays on the same line,
lines only get re-indented.

> Also, I used this line windows command to start vim:
>        vim -u NONE -U NONE fileinwin32
> In this case the paragraphs are not indented,

Because 'autoindent' is not set.

> but word "BL," is added,  
> after execution of vim normal command, and the word "BL," appears two times.
> 

When I do this, using vim -u NONE -U NONE -i NONE, I get no change in
the text at all. Somehow, and I have no idea why, gw} for you is
acting as if 'textwidth' or 'wrapmargin' is set to some value which puts
"BL," past the boundary where Vim will wrap lines. As far as I can tell,
unless you've accidentally omitted some of your config, you do not set
these values.

What does :scriptnames show after you launch Vim and your command fails?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui