Hi,
sorry, the question was too much trivial, I just put expand('%:t') in place of the filename and got the needed result.

Thanks
--

Fabio D'Alfonso

Network Analysis And VMware Enterprise Solutions

cell. +39.348.059.40.22

web: http://www​.​dalfonso​.​co

email: [email protected]

Linkedin: https://it.linkedin.com/in/fabiodalfonso

Twitter: https://twitter.com/fabio_dalfonso

FB Page: https://www.facebook.com/dalfonsoco/

fax: +39.06.874.599.581

 

 



On April 9, 2016 12:33:43 AM "Fabio D'Alfonso" <[email protected]> wrote:

Hi,
The last customization I would need to recover , in the new vm 15.10, is
the filename() expanding with extension to fullfil the head snippet.
This time I am making a full doc with all the steps, but last time years
ago I didn't make one.

I remember I did something like this, re seen searching, but I do not
remember where I did.

let file_name = expand('%:t:r')
To
let file_name = expand('%:e')

Could help?
Thanks in Advance

--

Fabio D'Alfonso

Network Analysis And VMware Enterprise Solutions

cell. +39.348.059.40.22

web: http://www​.​dalfonso​.​co

email: [email protected]

Linkedin: https://it.linkedin.com/in/fabiodalfonso

Twitter: https://twitter.com/fabio_dalfonso

FB Page: https://www.facebook.com/dalfonsoco/

fax: +39.06.874.599.581

 

 


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to