ex Questions
2
Solved
How to copy command string in the ex mode into clipboard?
9
Solved
I have a file that contains lines as follows:
one one
one one
two two two
one one
three three
one one
three three
four
I want to remove all occurrences of the duplicate lines from the file and l...
3
Solved
Here is my test.env
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PASS=1234
And I want to use test.sh to replace the value in test.env to :
RABBITMQ_HOST=rabbitmq1
RABBITMQ_PASS=12345
here is my test.sh
...
Familiarize asked 24/11, 2016 at 2:32
3
I'm trying to craft a command to dump vim's highlighting information to STDOUT. I can write successfully to a file like this:
vim +'redir >outfile' +'hi' +'redir END' +'q'
After this, outfile...
1
Solved
I want to sort the paragraphs in my text according to their initials with the following global command:
g/_p/,/^$/mo$
This works alone. But when I use several global commands at once, then an er...
2
Solved
A pattern I seem to be following right now is:
edit a file until I like it
:w another-file to use it as a starting point for another-file
:e another-file to polish up another-file
Is there an e...
1
© 2022 - 2024 — McMap. All rights reserved.