On Thu, Jun 22, 2006 at 09:57:04AM +0200, Pero Brbora wrote:
> I wan ma lisp code to be indented like this
>
> (defun ()
> )
>
> but vim gives me
>
> (defun ()
> )
>
> How do I change this?
The options for indenting are pretty complicated, and I do not mess
with them much myself, so all I can do is suggest some docs to read:
:help 'lisp'
:help indent.txt
> About copy/paste problem...
> Vim pastes text in before current text like this
>
> current text<cursor><ctrl-v>
> ---
> pasted text<cursor>
> current text
>
> OS: Windows 2000
> Vim: 6.4
I do not have vim 6.4 installed any more, so I cannot test this.
First, try pasting the vi way. For example, while in Insert mode, try
<C-R>* .
Using <C-V> to paste is implemented using a mapping. Probably you
:source mswin.vim from your vimrc file, and the mapping is defined
there. Try
:imap <C-V>
What do you get? If the mapping is defined in mswin.vim, perhaps you
can look at it and figure out the problem.
:e $VIMRUNTIME/mswin.vim
HTH --Benji Fisher