Re: Silly Question

2007-04-11 Thread Mitch Wiedemann
Tim Chase wrote:
 Vowels are a problem. Unless you have an escape in your name, a, i
 and o are boring letters. I know someone named Veerle and her name
 is actually quite destructive, overwriting an entire line with l.
 What's the most interesting name anyone can find, and also the most
 damaging?

 I think my friend :1,$d would win that particular contest...

 Lemme guess...he goes by the nickname :%d to his friends?  With a
 sister named ggdG too? :)

 My uncle :exec system('rm -rf /') would object to your friend winning
 though ;)

 Darn hippies...straight outta Berkley :)

V'z tbaan punatr zl anzr gb 'ttITt?' whfg fb V pna jva guvf pbagrfg bapr
naq sbe nyy!

(I'm gonna change my name to 'ggVGg?' just so I can win this contest
once and for all!)

-- 

ggVGg? Wiedemann
Ithaca Free Software Association http://ithacafreesoftware.org 
Free Software Foundation Member #3167 http://www.fsf.org
PGP: 0xEF98FDB9



Spellcheck HTML files with syntax on?

2007-04-03 Thread Mitch Wiedemann
I am using Vim 7.0* and I mostly edit HTML files.  I've noticed the
on-the-fly spell checking works great in regular .txt files and such,
but I can't get it working in HTML files without turning the :syntax
off.  Is there a way to get on-the-fly spellchecking with syntax
highlighting as well?


* VIM - Vi IMproved 7.0 (2006 May 7, compiled Mar 29 2007 16:33:16)
Compiled by ...
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset
+cindent -clientserver -clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments
+cryptv -cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+folding -footer +fork() -gettext -hangul_input -iconv +insert_expand
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds
+localmap +menu
 +mksession +modify_fname +mouse -mouseshape -mouse_dec +mouse_gpm
-mouse_jsbterm -mouse_netterm +mouse_xterm -multi_byte +multi_lang -mzscheme
-netbeans_intg -osfiletype +path_extra -perl +postscript +printer
-profile -python +quickfix +reltime -rightleft -ruby +scrollbind -signs
+smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white -tcl +terminfo +termresponse +textobjects +title -toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset
-xim -xsmp
-xterm_clipboard -xterm_save
   system vimrc file: $VIM/vimrc
 user vimrc file: $HOME/.vimrc
  user exrc file: $HOME/.exrc
  fall-back for $VIM: /usr/local/share/vim
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2
Linking: gcc   -L/usr/local/lib -o vim   -lncurses -lacl -lgpm -ldl



Re: highlighting weird characters... Thanks everyone!

2007-03-20 Thread Mitch Wiedemann
Thanks everyone for your suggestions!  I'm now looking around for a
typical document that I can paste in to use a a guinea pig.

Viva la Vim!




Re: highlighting weird characters...[solved]

2007-03-20 Thread Mitch Wiedemann
Mitch Wiedemann wrote:
 Hi all,

 I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23)
 to write mainly XHTML/PHP and I sometimes have to get content from word
 processed documents and paste it into Vim for HTML markup.  This usually
 results in having non-visually detectable characters (which I assume are
 high ASCII) which display strangely on the Web.

 Is there a way I can have my Vim highlight these characters so I can see
 them and replace them with their HTML counterparts?

 I've searched Google, the Vim e-mail archive, and I've helped Ugandan
 children :),  but I'm no closer to the answer.

 Any hints?
   

I've added two new maps to my ~/.vimrc

 maps to quickly find Unicode characters within the document
map ,uni :match Error /[\x7f-\xff]/CR
map ,uni2 /[^ -~]CR

I've found both methods useful, one just highlights (allowing me to
/find other stuff) and one highlights via /find.

Neat. Thanks again for the help. 




highlighting weird characters...

2007-03-19 Thread Mitch Wiedemann
Hi all,

I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23)
to write mainly XHTML/PHP and I sometimes have to get content from word
processed documents and paste it into Vim for HTML markup.  This usually
results in having non-visually detectable characters (which I assume are
high ASCII) which display strangely on the Web.

Is there a way I can have my Vim highlight these characters so I can see
them and replace them with their HTML counterparts?

I've searched Google, the Vim e-mail archive, and I've helped Ugandan
children :),  but I'm no closer to the answer.

Any hints?

Thanks,
Mitch
Freeville, NY