Re: paste to honour indentation?
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Steve H. <dig...@mi...> - 2003-03-19 08:20:57
|
I'll put this on the ToDo, and respond back. Very busy with installer stuff ATM, but this has annoyed me too... sven vahar wrote: > I have slightly annoying problem with the way Cream pastes text to an > indentead line. It doesn't seem to honour indentation when pasting. I have: > ------------- > regular line > indented line > another indented line > regular line > ------------- > > Now I copy first indented line (selecting it *without* leading tabs) and > decide to paste it below itself. When hit enter at the end of first > line, it produces empty line with indent (I have auto-indent enabled), > asterisk marks cursor position: > ------------- > regular line > indented line > * > another indented line > regular line > ------------- > > Thats exactly the way I want it. However, when I paste text there, it > loses the indent and breaks the block: > ------------- > regular line > indented line > indented line > another indented line > regular line > ------------- > > It works when I select first indented line *with* leading tabs but I > find it illogical to do so since I don't start pasting from the > beginning of the line but from already indented position and I expect > text to appear to the postion of the cursor. > > It's not that I can't do extra keypress to select whole line instead of > just the text but I always forget to do so because current behaviour > doesn't make any sense to me :) > > Is this bug or feature and if it is feature by design then is it > configurable somewhere? > > > sven > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! Get > cracking and register here for some mind boggling fun and the chance of > winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > cream-general mailing list > cre...@li... > https://lists.sourceforge.net/lists/listinfo/cream-general > |