I use MacVim.
I write-to-file frequently using ":w".
I often have some lines selected visually when I do this, and get an annoying "Write partial file" dialogue (which more annoyingly doesn't tab out to "No").
Writing a partial file is something I do very seldom.
What are your recommendations to make the default skip "Write partial file" and just write the entire file?
Of course I'd like to develop a new mapping for the default functionality (in case I do need it).
command w <esc>w
However, I could not save that command because "User defined commands must start with capital letters".
Next, I tried this, but get "Not an editor command ^[w"
command! WriteIgnoreVisual <esc>w cabbrev w <c-r>=(getcmdtype()==':' && getcmdpos()==1 ? 'WriteIgnoreVisual' : 'w')<CR>