How can I change multiple filenames simultaneously in Vim?How to change vim auto-indent behavior?Vim multiple...
Car as a good investment
Is it a bad idea to get a PhD?
How can I communicate feelings to players without impacting their agency?
Could an American state survive nuclear war?
If I did not sign promotion bonus document, my career would be over. Is this duress?
If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?
Find number 8 with the least number of tries
What was the real need of divergence and curl operators?
In the twin paradox does the returning twin also come back permanently length contracted flatter than the twin on earth?
Symbolise polygon outline where it doesn't coincide with other feature using geometry generator in QGIS?
Are there any spells that enhance ranged attacks like some melee attack spells do for melee attacks
Where does the upgrade to macOS Catalina move root "/" directory files?
What are some non-CS concepts that can be defined using BNF notation?
How are Aircraft Noses Designed?
What is the design rationale for having armor and magic penetration mechanics?
Did Terry Pratchett ever explain the inspiration behind the Luggage?
Which culture used no personal names?
How do I reset the TSA-unlocked indicator on my lock?
Split telescope into two eyes
How safe is the 4% rule if the U.S. goes back to the mean?
How do I copy an installed steam game on my PC to an external hard drive?
Are dead worlds a good galactic barrier?
What is the most REALISTIC cause of a worldwide catastrophe/apocalypse in the near future? (next ~100 years)
Can there be an atomic nucleus where there are more protons than neutrons?
How can I change multiple filenames simultaneously in Vim?
How to change vim auto-indent behavior?Vim multiple windows / hideHow can I edit multiple files in VIM?Can I make vim change its cursor behavior?vim: multiple substitutions like sedEditing multiple files simultaneously with vim/geditHow to change default vim colon commands?How to edit multiple files in Vim?How can I see/change what makes vim beep?vim - replace multiple words with yanked text, multiple times
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}
I have a season of a show downloaded and every episode filename ends with information about the video ([1080p], [Dual Audio], etc). I would like to use Ctrl-V to simply rename all of the files at once, but this seems to be harder than I feel it should...
For starters, I hit the:
'E21: Cannot make changes, 'modifiable' is off'
To which I enter:
:set ma
Then upon editing said files I'm greeted with the:
'W10: Warning: Changing a readonly file'
This seems to be quite inconvenient for me.
Any solutions y'all can point me towards? Much appreciated!
vim
New contributor
add a comment
|
I have a season of a show downloaded and every episode filename ends with information about the video ([1080p], [Dual Audio], etc). I would like to use Ctrl-V to simply rename all of the files at once, but this seems to be harder than I feel it should...
For starters, I hit the:
'E21: Cannot make changes, 'modifiable' is off'
To which I enter:
:set ma
Then upon editing said files I'm greeted with the:
'W10: Warning: Changing a readonly file'
This seems to be quite inconvenient for me.
Any solutions y'all can point me towards? Much appreciated!
vim
New contributor
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago
add a comment
|
I have a season of a show downloaded and every episode filename ends with information about the video ([1080p], [Dual Audio], etc). I would like to use Ctrl-V to simply rename all of the files at once, but this seems to be harder than I feel it should...
For starters, I hit the:
'E21: Cannot make changes, 'modifiable' is off'
To which I enter:
:set ma
Then upon editing said files I'm greeted with the:
'W10: Warning: Changing a readonly file'
This seems to be quite inconvenient for me.
Any solutions y'all can point me towards? Much appreciated!
vim
New contributor
I have a season of a show downloaded and every episode filename ends with information about the video ([1080p], [Dual Audio], etc). I would like to use Ctrl-V to simply rename all of the files at once, but this seems to be harder than I feel it should...
For starters, I hit the:
'E21: Cannot make changes, 'modifiable' is off'
To which I enter:
:set ma
Then upon editing said files I'm greeted with the:
'W10: Warning: Changing a readonly file'
This seems to be quite inconvenient for me.
Any solutions y'all can point me towards? Much appreciated!
vim
vim
New contributor
New contributor
New contributor
asked 1 hour ago
AbrexasAbrexas
11 bronze badge
11 bronze badge
New contributor
New contributor
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago
add a comment
|
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Abrexas is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f545824%2fhow-can-i-change-multiple-filenames-simultaneously-in-vim%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Abrexas is a new contributor. Be nice, and check out our Code of Conduct.
Abrexas is a new contributor. Be nice, and check out our Code of Conduct.
Abrexas is a new contributor. Be nice, and check out our Code of Conduct.
Abrexas is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f545824%2fhow-can-i-change-multiple-filenames-simultaneously-in-vim%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
So you're looking to rename files in netrw or NerdTree? It might be better to use perl rename.
– muru
51 mins ago