I want to know how to extrapolate the vim variables, for example, to format the file I am working on.
:!fmt -w mifichero
when working in several directories referencing the path of the file It's tedious.
:!fmt -w /home/user/miproyect/lalaala/otro_directorio/otro_mas/mi_fichero
the idea would be to extrapolate some vim variable in the command mode.
Does anyone know?