> is there a way to force a macro switching to linewise visual
> mode? What I mean is to define either of
> :vmap <Fx> d
> :vmap <Fx> Vd
> depending on whether charwise/block or linewise visual mode
> had selected the area.
You can't simply change the mode, but ex commands do always
work on the line-oriented range. So, try