Go to last file in vimWhy argdo applies changes only to the last file?How to edit the next file when VI doesn't have buffer support?How to quit one file and simultaneously open another file in vim?“Next” behavior and “E165: Cannot go beyond last file”How can I open the next/previous file alphabetically?How can I easily open two similar files?From one split, how can I get the filename of the file in another split?Cycle between filenames
How did Arecibo detect methane lakes on Titan, and image Saturn's rings?
NRPE script for monitoring load average
Is there a fallacy about "appeal to 'big words'"?
Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?
Are employers legally allowed to pay employees in goods and services equal to or greater than the minimum wage?
Why is the result of ('b'+'a'+ + 'a' + 'a').toLowerCase() 'banana'?
How would armour (and combat) change if the fighter didn't need to actually wear it?
How can God warn people of the upcoming rapture without disrupting society?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
Go to last file in vim
Help, I cannot decide when to start the story
What unique challenges/limitations will I face if I start a career as a pilot at 45 years old?
An array battle with odd secret powers
Escape Velocity - Won't the orbital path just become larger with higher initial velocity?
Swap (and hibernation) on SSD in 2019?
Would the USA be eligible to join the European Union?
Identifying My Main Water Shutoff Valve / Setup
Word for an event that will likely never happen again
Do beef farmed pastures net remove carbon emissions?
Luggage Storage at Szechenyi Baths
Boss wants me to ignore a software API license
Should I leave building the database for the end?
How can I find an old paper when the usual methods fail?
Why aren’t there water shutoff valves for each room?
Go to last file in vim
Why argdo applies changes only to the last file?How to edit the next file when VI doesn't have buffer support?How to quit one file and simultaneously open another file in vim?“Next” behavior and “E165: Cannot go beyond last file”How can I open the next/previous file alphabetically?How can I easily open two similar files?From one split, how can I get the filename of the file in another split?Cycle between filenames
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Many text files can be opened at once using
vim *txt
I know I can use :<int>n to move forward <int> files, but I don't know how to get to the last opened file. So far I've tried :1000n to intentionally overshoot but that gives the error
E165: Cannot go beyond last file
From there I just resort to a binary search trying to get to the end, which takes a while, i.e., :500n, :250n, 125n, ...
How can I get to the last opened file in vim?
multiple-files
add a comment |
Many text files can be opened at once using
vim *txt
I know I can use :<int>n to move forward <int> files, but I don't know how to get to the last opened file. So far I've tried :1000n to intentionally overshoot but that gives the error
E165: Cannot go beyond last file
From there I just resort to a binary search trying to get to the end, which takes a while, i.e., :500n, :250n, 125n, ...
How can I get to the last opened file in vim?
multiple-files
add a comment |
Many text files can be opened at once using
vim *txt
I know I can use :<int>n to move forward <int> files, but I don't know how to get to the last opened file. So far I've tried :1000n to intentionally overshoot but that gives the error
E165: Cannot go beyond last file
From there I just resort to a binary search trying to get to the end, which takes a while, i.e., :500n, :250n, 125n, ...
How can I get to the last opened file in vim?
multiple-files
Many text files can be opened at once using
vim *txt
I know I can use :<int>n to move forward <int> files, but I don't know how to get to the last opened file. So far I've tried :1000n to intentionally overshoot but that gives the error
E165: Cannot go beyond last file
From there I just resort to a binary search trying to get to the end, which takes a while, i.e., :500n, :250n, 125n, ...
How can I get to the last opened file in vim?
multiple-files
multiple-files
asked 9 hours ago
user1717828user1717828
2271 silver badge6 bronze badges
2271 silver badge6 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use :last.
See :help :last for more details. You might be interested in the other commands around it for managing files in :args as well.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "599"
;
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/3.0/"u003ecc by-sa 3.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
);
);
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%2fvi.stackexchange.com%2fquestions%2f20898%2fgo-to-last-file-in-vim%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use :last.
See :help :last for more details. You might be interested in the other commands around it for managing files in :args as well.
add a comment |
You can use :last.
See :help :last for more details. You might be interested in the other commands around it for managing files in :args as well.
add a comment |
You can use :last.
See :help :last for more details. You might be interested in the other commands around it for managing files in :args as well.
You can use :last.
See :help :last for more details. You might be interested in the other commands around it for managing files in :args as well.
answered 9 hours ago
filbrandenfilbranden
1,9653 silver badges14 bronze badges
1,9653 silver badges14 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Vi and Vim 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%2fvi.stackexchange.com%2fquestions%2f20898%2fgo-to-last-file-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