vim apparently ignoring -c nomodeline cmdline option

2007-06-05 Thread Rodolfo Borges
When opening a file that ends with # vim:fdm=marker: vim keeps doing the folding, even if I call it with -c nomodeline (I also tried -c modelines=0). Is it vim fault's, or (more likely) mine? -- Rodolfo Borges

Re: Fighting with comments

2006-10-20 Thread Rodolfo Borges
lation\ errors., \%-G%.%#syntax\ OK, \%m\ at\ %f\ line\ %l., \%+A%.%#\ at\ %f\ line\ %l\\,%.%#, \%+C%.%# -- Rodolfo Borges

sp *.c

2006-09-22 Thread Rodolfo Borges
:sp *.c gives me "too many files" (same with :e *.c) why not do a split for every file? (if there's no room, maybe then give the "too many files" error.) just .2 c$ -- Rodolfo Borges

using counter prefix in a map/command

2006-08-21 Thread Rodolfo Borges
man section, mas many C commands are also bash or shell commands, like "exit", "stat", and so on. I'm sure it's written in the extensive online documentation, but my lazyless is greater then my shame to ask it here. :) -- Rodolfo Borges

Re: Doing something til specific column

2006-08-20 Thread Rodolfo Borges
I tried something like this: :%s/^\(Chapter\ [0-9]\+:\ .*\)\%<30c$/\1\./g I works fine, but needs to be repeated until no more matches are found. I'm sure you guys more experencied with Vim scripting will be able to complete my idea. -- Rodolfo Borges

Re: Folding and the Desert color scheme

2006-08-15 Thread Rodolfo Borges
different color scheme? thanks! Ben -- Rodolfo Borges

Re: search and replace multiple words

2006-08-11 Thread Rodolfo Borges
\+\(.*\)$/\\subsubsection{\1\}/ s/^\%(\d\+\.\){3}\d\+\s\+\(.*\)$/\\subsubsubsection{\1\}/ -- Rodolfo Borges

Re: Show/Hide Split Windows

2006-08-10 Thread Rodolfo Borges
will close all other windows. You can't get back to them using Ctrl-w o again -- Rodolfo Borges