The paste option isn't set. If I set it, auto indentation doesn't work at all, and when I press 'control-v', it just pastes a caret character instead of what's in the clipboard.

- Dan




Eric Arnold wrote:
What's the value of your 'paste' option?

On 5/18/06, Dan Clarke <[EMAIL PROTECTED]> wrote:
Hi.  I've just installed Vim 7.  l use MS Windows.  I've found a
problems with the indentations.

You can replicate it by doing the following ...

- Copy a whole word into the clipboard.
- In a C/C++ file, position the cursor on a line of text that is indented.
- Press the 'o' key to go onto the next line in insert mode.
- (The next line should automatically be indented to match the previous
line).
- Now press control-v to paste the word from the clipboard.

In previous versions of Vim this pasted word would of appeared indented.
  In Vim7, for some reason the auto indentation seems to of been deleted.

Thanks,
- Dan



Reply via email to