All Questions
Tagged with string-manipulation command-line
2 questions
0
votes
2
answers
609
views
How to remove 2 characters from the beginning of a string after using filename-modifiers?
How to remove 2 characters from the beginning of a string after using filename-modifiers?
So assume that I have a files that looks like this:
/home/drskoolie/projects/examples/ex40.c
/home/drskoolie/...
12
votes
1
answer
3k
views
How do I use a variable or return value in option, command, or mapping?
I have a variable foo with let foo='value', and a function F like
function F()
return 'value'
endfunction
and I want to use them
in an option: :set option=foo, :set option=F(); or
in a command: :...