2,329 reputation
11027
bio website dotancohen.com
location
age 36
visits member for 2 years, 8 months
seen 8 hours ago

Apr
24
asked Inbox that other users can write to
Apr
23
comment Open a text file in cygwin's VIM
For posterity, and my future self: Use cygwin shell.
Apr
21
accepted How to grep for VIM colour schemes that do not use dark blue?
Apr
21
comment Vim: How relieve PHP programmer's typing workload?
Why the downvote? This is a "write better code" answer and perfectly answers the OP's question.
Apr
20
comment How to grep for VIM colour schemes that do not use dark blue?
Thanks, but -v only seems to inverse match on line numbers. When using -v with -l, all files are returned!
Apr
20
comment How to grep for VIM colour schemes that do not use dark blue?
Thank you grawity, but I already do have that set!
Apr
20
asked How to grep for VIM colour schemes that do not use dark blue?
Apr
19
comment VIM: Save a file as a different filename, but keep :w as the current filename
I am trying to map this to <F2> but it is not saving. Might you see the issue? noremap <F2> execute "w" expand("%") . strftime(".%y%m%d.%H%M%S") Thanks for this wonderful tip.
Apr
19
comment VIM: Save a file as a different filename, but keep :w as the current filename
Thank you Gary, I can find much use for this.
Apr
19
comment VIM: Save a file as a different filename, but keep :w as the current filename
I cannot believe that this was the default behaviour! Thank you!
Apr
19
accepted VIM: Save a file as a different filename, but keep :w as the current filename
Apr
18
asked VIM: Save a file as a different filename, but keep :w as the current filename
Apr
18
comment Use another user's .vimrc and .vim/
Thank you akira! This is exactly what I need, and thank you for the man page reference.
Apr
18
accepted Use another user's .vimrc and .vim/
Apr
18
asked Use another user's .vimrc and .vim/
Apr
18
accepted GVIM: diff against the saved file in Windows
Apr
18
accepted How to set PHP syntax highlighting in GVIM on Windows?
Apr
18
asked VIM: Highlight += with a background
Apr
18
comment Open a text file in cygwin's VIM
Thanks. I suppose that I could start browsing the Windows directories in Cygwin. I was hoping for a bridge from Windows Explorer (the Windows file manager).
Apr
18
comment GVIM: diff against the saved file in Windows
Very nice, thank you Gary! I think that I need to start going through some of your old posts!