Questions tagged [filenames]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Can I create a file and read in shell command output in one line?

I want to create a file and read in function declaration to be able to edit it further. e() { echo $FUNCNAME } vim FILE < <(declare -f e ) but that doesn't seem to work and the filename expands ...
1
vote
2answers
68 views

Compilation keybinds for different filetypes in vimrc

I am trying to create some keybind "scripts" for specified file types in my .vimrc. Example : au BufNewFile,BufRead *.cpp \ nnoremap <C-P> :!g++ % -o %.exe <CR> Ideally I ...
1
vote
0answers
23 views

Newline remains after doing shellescape() on a filename

I am working with a kind of database file containing filenames and some metadata: 2020-21-03 /run/My Drive/Folder 1/image1.jpg 2020-20-03 /run/My Drive/Folder 1/image2.jpg I am aware ...
3
votes
1answer
121 views

How to exclude filetype with autocmd to load language specific skeleton

I have the following in order to use a different template per language. But I want English to be the default, if I don't specify .en.adoc in the filename. But the *.adoc,*.en.adoc also picks up *.fr....
0
votes
0answers
231 views

How to (auto) complete filenames?

Developing in nodejs I have a lot of custom module require statements in my javascript source files, like this one: // // my nodejs program: // path/to/projecthome/lib/someModule.js // const EMOJI = ...