Martin Tarenskeen schrieb: > On Fri, Feb 13, 2009 at 07:09:40AM +0100, Herbert Liechti wrote: > >> Hello I tried Frescobaldi a few days ago. Very good work, thank you. >> What I'm really missing is the ability to easy comment out/in >> parts of the code. My favorite editor is the vi(m) where >> commenting out/in code is a very easy job. >> > > I also use vim a lot. How does this comment in/out feature work in vim ? > I didn't know about that. > > works only in vim/gvim !
o point cursor to the first line which should be commented out o enter visual mode (key v) o move cursor down to the end of the block (i.e. enter % sign for quick jumping to the closing bracket) o enter command mode with : (you see something like this: :'<,'> when entering the : ) then enter the substitution command s/^/%/ and hit enter you substitute the beginning of the line with the %-sign in the visual block commenting out is done the same way expect the substitution command is :s/^%// hope that helps best regards Herbert -- herbert.liec...@thinx.ch, ThinX AG, Poststrasse 2, CH-4500 Solothurn Tel +41 (0)32 623 81 66, Mobile +41 (0)76 334 81 66, http://www.thinx.ch _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user