Hi Meino.Cramer!
On So, 28 Jun 2015, Meino.Cramer@gmx.de wrote:
> Hi,
> 
> when using vim for editing Perl sources, vim proceeds
> the next line with an comment sign '#', if the previous
> one was a comment line using <RET> in insert mode.
> 
> To not to miss even one of the wonderful feature of vim ;)  :
> 
> Suppose the situation is as follows (inser mode)
> 
>     # this is a comment in perl _
> 
> and "_" is, where my coursor is, Now I want to start
> coding in the next line. <RET> gives me a new line, but
> with a "#" in front of it, which I need to delete.
> 
> Another way to get "commentless" to the next line would
> be <ESC>o
I usually do not bother and press enter followed by <Ctrl-U> or <Ctrl-W>
If you are really lazy, you could map this to some other key however.
Best,
Christian
-- 
Der Weise sagt niemals, was er tut - aber er tut niemals etwas, was
er nicht sagen könnte.
		-- Jean-Paul Sartre
-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, June 28, 2015
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment