Sample Header Ad - 728x90

Copy file name without extension in Vifm

2 votes
1 answer
1108 views
From the the Vifm wiki and using xclip , they show how to copy the filename of a selected file: nnoremap yn :!echo -n %c | xclip -selection clipboard %i:echo expand('%"c') "is yanked to clipboard" But it copies it with the extension, how can I copy the name of a file without it's extension to the clipboard?
Asked by GhostOrder (181 rep)
Aug 6, 2020, 02:21 PM
Last activity: Aug 8, 2020, 05:01 PM