Where is the documentation for this ex command?cmdline: how to expand `##` in-place?cmap macros not working as expected

What does the British parliament hope to achieve by requesting a third Brexit extension?

How many people are there?

Is it plausible that an interrupted Windows update can cause the motherboard to fail?

What do you call it when a document has no content?

How to protect my Wi-Fi password from being displayed by Android phones when sharing it with QR code?

What are the physical limits that determine a camera's flash sync speed?

Why are KDFs slow? Is using a KDF more secure than using the original secret?

Is it true that if we start a sentence with 'the', this 'the' can be omitted?

If the music alphabet had more than 7 letters would octaves still sound like the same note?

How should I tell a professor the answer to something he doesn't know?

Why is `decltype(static_cast<T>(...))` not always `T`?

What is the fastest algorithm for finding the natural logarithm of a big number?

Is consistent disregard for students' time "normal" in undergraduate research?

Where does the tea come from?

How honest to be with US immigration about uncertainty about travel plans?

Legality of creating a SE replica using SE's content

Distance vs a distance

Equation with indices at end and to right side

Rationalism and Catholicism / Protestantism

MiKTeX graphics version 1.3b bug on Windows 10 (set@curr@file undefined)

SSD or HDD for server

Why "come" instead of "go"?

How to evaluate hindrances?

Why are seats at the rear of a plane sometimes unavailable even though many other seats are available in the plane?



Where is the documentation for this ex command?


cmdline: how to expand `##` in-place?cmap macros not working as expected






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









4

















:1 jumps to the first line, :$ jumps to the last line, :+ jumps to the next line, etc.



It seems to me that there is a default ex command which accepts a range and jumps to it: what's the name of this ex command?



Where can I find it in vim help? I guessed it might be in various.txt, but I can't find it.










share|improve this question




























  • It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

    – klaus
    May 2 at 14:57











  • There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

    – dedowsdi
    May 2 at 15:02











  • Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

    – klaus
    May 2 at 15:05











  • It doesn't describe command line with only range.

    – dedowsdi
    May 2 at 15:09











  • Sorry, I am really unable to understand your question. Sorry for not being able to help.

    – klaus
    May 2 at 15:11

















4

















:1 jumps to the first line, :$ jumps to the last line, :+ jumps to the next line, etc.



It seems to me that there is a default ex command which accepts a range and jumps to it: what's the name of this ex command?



Where can I find it in vim help? I guessed it might be in various.txt, but I can't find it.










share|improve this question




























  • It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

    – klaus
    May 2 at 14:57











  • There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

    – dedowsdi
    May 2 at 15:02











  • Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

    – klaus
    May 2 at 15:05











  • It doesn't describe command line with only range.

    – dedowsdi
    May 2 at 15:09











  • Sorry, I am really unable to understand your question. Sorry for not being able to help.

    – klaus
    May 2 at 15:11













4












4








4








:1 jumps to the first line, :$ jumps to the last line, :+ jumps to the next line, etc.



It seems to me that there is a default ex command which accepts a range and jumps to it: what's the name of this ex command?



Where can I find it in vim help? I guessed it might be in various.txt, but I can't find it.










share|improve this question
















:1 jumps to the first line, :$ jumps to the last line, :+ jumps to the next line, etc.



It seems to me that there is a default ex command which accepts a range and jumps to it: what's the name of this ex command?



Where can I find it in vim help? I guessed it might be in various.txt, but I can't find it.







cmdline ex






share|improve this question















share|improve this question













share|improve this question




share|improve this question



share|improve this question








edited May 2 at 15:21









D. Ben Knoble

4,7311 gold badge7 silver badges25 bronze badges




4,7311 gold badge7 silver badges25 bronze badges










asked May 2 at 14:20









dedowsdidedowsdi

2,3111 gold badge4 silver badges16 bronze badges




2,3111 gold badge4 silver badges16 bronze badges















  • It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

    – klaus
    May 2 at 14:57











  • There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

    – dedowsdi
    May 2 at 15:02











  • Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

    – klaus
    May 2 at 15:05











  • It doesn't describe command line with only range.

    – dedowsdi
    May 2 at 15:09











  • Sorry, I am really unable to understand your question. Sorry for not being able to help.

    – klaus
    May 2 at 15:11

















  • It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

    – klaus
    May 2 at 14:57











  • There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

    – dedowsdi
    May 2 at 15:02











  • Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

    – klaus
    May 2 at 15:05











  • It doesn't describe command line with only range.

    – dedowsdi
    May 2 at 15:09











  • Sorry, I am really unable to understand your question. Sorry for not being able to help.

    – klaus
    May 2 at 15:11
















It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

– klaus
May 2 at 14:57





It's unclear what you want from your question. Maybe add an example of what the command would do. Just assume the command is command_name and add in the question how you would invoke the command and what it would output.

– klaus
May 2 at 14:57













There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

– dedowsdi
May 2 at 15:02





There are already 3 examples, I don't have problem calling this commands, but I don't know the name of this command, and I want to know it.

– dedowsdi
May 2 at 15:02













Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

– klaus
May 2 at 15:05





Oh, I misunderstood then. I guess you want to look at :h cmdline-ranges. But that is obvious from how the ex-commands are acting that these are just ranges.

– klaus
May 2 at 15:05













It doesn't describe command line with only range.

– dedowsdi
May 2 at 15:09





It doesn't describe command line with only range.

– dedowsdi
May 2 at 15:09













Sorry, I am really unable to understand your question. Sorry for not being able to help.

– klaus
May 2 at 15:11





Sorry, I am really unable to understand your question. Sorry for not being able to help.

– klaus
May 2 at 15:11










1 Answer
1






active

oldest

votes


















8


















This command has no name, but is simply the default behavior of the ex (and, notably, ed). Given a range, which may be one of the special sequences you mentioned, or a search, or even just a plain line number (e.g., :42), ex will jump to that spot in the file.



It does, however, have a place in the doc:



:help :[range]



As requested, an in-depth look at my help-searching process:




  • man ex: Always a good start. This took me to the vim man-page, which more or less points to the online help


  • man ed: Remembering that ex descends from ed, I thought I'd try here. I'm not sure if the behavior is documented there, but it was worth a shot


  • :help ex led to :help Ex-mode, neither of which were helpful

  • Remembering something about viusage and exusage, I tried :help exusage: an interesting command to run

  • I didn't see a range-based command in the index... hm. What about :help range? Took me to a useful page, but not quite there

  • Ok, commands taking ranges are documented like :[range]command, so maybe :help [range]: Not quite, that's just above where we were


  • :help :[range]: at long last.

(This is slightly exaggerated: in reality, post-exusage I jumped straight to :help :[range] because that's the syntax of the command. It was a lucky guess.)






share|improve this answer




























  • It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

    – dedowsdi
    May 2 at 15:21












  • @dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

    – D. Ben Knoble
    May 2 at 15:22











  • @dedowsdi see update

    – D. Ben Knoble
    May 2 at 15:26






  • 1





    @dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

    – D. Ben Knoble
    May 2 at 16:16






  • 1





    @dedowsdi see update

    – D. Ben Knoble
    May 3 at 1:07












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/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
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f19823%2fwhere-is-the-documentation-for-this-ex-command%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









8


















This command has no name, but is simply the default behavior of the ex (and, notably, ed). Given a range, which may be one of the special sequences you mentioned, or a search, or even just a plain line number (e.g., :42), ex will jump to that spot in the file.



It does, however, have a place in the doc:



:help :[range]



As requested, an in-depth look at my help-searching process:




  • man ex: Always a good start. This took me to the vim man-page, which more or less points to the online help


  • man ed: Remembering that ex descends from ed, I thought I'd try here. I'm not sure if the behavior is documented there, but it was worth a shot


  • :help ex led to :help Ex-mode, neither of which were helpful

  • Remembering something about viusage and exusage, I tried :help exusage: an interesting command to run

  • I didn't see a range-based command in the index... hm. What about :help range? Took me to a useful page, but not quite there

  • Ok, commands taking ranges are documented like :[range]command, so maybe :help [range]: Not quite, that's just above where we were


  • :help :[range]: at long last.

(This is slightly exaggerated: in reality, post-exusage I jumped straight to :help :[range] because that's the syntax of the command. It was a lucky guess.)






share|improve this answer




























  • It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

    – dedowsdi
    May 2 at 15:21












  • @dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

    – D. Ben Knoble
    May 2 at 15:22











  • @dedowsdi see update

    – D. Ben Knoble
    May 2 at 15:26






  • 1





    @dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

    – D. Ben Knoble
    May 2 at 16:16






  • 1





    @dedowsdi see update

    – D. Ben Knoble
    May 3 at 1:07















8


















This command has no name, but is simply the default behavior of the ex (and, notably, ed). Given a range, which may be one of the special sequences you mentioned, or a search, or even just a plain line number (e.g., :42), ex will jump to that spot in the file.



It does, however, have a place in the doc:



:help :[range]



As requested, an in-depth look at my help-searching process:




  • man ex: Always a good start. This took me to the vim man-page, which more or less points to the online help


  • man ed: Remembering that ex descends from ed, I thought I'd try here. I'm not sure if the behavior is documented there, but it was worth a shot


  • :help ex led to :help Ex-mode, neither of which were helpful

  • Remembering something about viusage and exusage, I tried :help exusage: an interesting command to run

  • I didn't see a range-based command in the index... hm. What about :help range? Took me to a useful page, but not quite there

  • Ok, commands taking ranges are documented like :[range]command, so maybe :help [range]: Not quite, that's just above where we were


  • :help :[range]: at long last.

(This is slightly exaggerated: in reality, post-exusage I jumped straight to :help :[range] because that's the syntax of the command. It was a lucky guess.)






share|improve this answer




























  • It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

    – dedowsdi
    May 2 at 15:21












  • @dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

    – D. Ben Knoble
    May 2 at 15:22











  • @dedowsdi see update

    – D. Ben Knoble
    May 2 at 15:26






  • 1





    @dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

    – D. Ben Knoble
    May 2 at 16:16






  • 1





    @dedowsdi see update

    – D. Ben Knoble
    May 3 at 1:07













8














8










8









This command has no name, but is simply the default behavior of the ex (and, notably, ed). Given a range, which may be one of the special sequences you mentioned, or a search, or even just a plain line number (e.g., :42), ex will jump to that spot in the file.



It does, however, have a place in the doc:



:help :[range]



As requested, an in-depth look at my help-searching process:




  • man ex: Always a good start. This took me to the vim man-page, which more or less points to the online help


  • man ed: Remembering that ex descends from ed, I thought I'd try here. I'm not sure if the behavior is documented there, but it was worth a shot


  • :help ex led to :help Ex-mode, neither of which were helpful

  • Remembering something about viusage and exusage, I tried :help exusage: an interesting command to run

  • I didn't see a range-based command in the index... hm. What about :help range? Took me to a useful page, but not quite there

  • Ok, commands taking ranges are documented like :[range]command, so maybe :help [range]: Not quite, that's just above where we were


  • :help :[range]: at long last.

(This is slightly exaggerated: in reality, post-exusage I jumped straight to :help :[range] because that's the syntax of the command. It was a lucky guess.)






share|improve this answer
















This command has no name, but is simply the default behavior of the ex (and, notably, ed). Given a range, which may be one of the special sequences you mentioned, or a search, or even just a plain line number (e.g., :42), ex will jump to that spot in the file.



It does, however, have a place in the doc:



:help :[range]



As requested, an in-depth look at my help-searching process:




  • man ex: Always a good start. This took me to the vim man-page, which more or less points to the online help


  • man ed: Remembering that ex descends from ed, I thought I'd try here. I'm not sure if the behavior is documented there, but it was worth a shot


  • :help ex led to :help Ex-mode, neither of which were helpful

  • Remembering something about viusage and exusage, I tried :help exusage: an interesting command to run

  • I didn't see a range-based command in the index... hm. What about :help range? Took me to a useful page, but not quite there

  • Ok, commands taking ranges are documented like :[range]command, so maybe :help [range]: Not quite, that's just above where we were


  • :help :[range]: at long last.

(This is slightly exaggerated: in reality, post-exusage I jumped straight to :help :[range] because that's the syntax of the command. It was a lucky guess.)







share|improve this answer















share|improve this answer




share|improve this answer



share|improve this answer








edited May 3 at 1:07

























answered May 2 at 15:19









D. Ben KnobleD. Ben Knoble

4,7311 gold badge7 silver badges25 bronze badges




4,7311 gold badge7 silver badges25 bronze badges















  • It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

    – dedowsdi
    May 2 at 15:21












  • @dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

    – D. Ben Knoble
    May 2 at 15:22











  • @dedowsdi see update

    – D. Ben Knoble
    May 2 at 15:26






  • 1





    @dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

    – D. Ben Knoble
    May 2 at 16:16






  • 1





    @dedowsdi see update

    – D. Ben Knoble
    May 3 at 1:07

















  • It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

    – dedowsdi
    May 2 at 15:21












  • @dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

    – D. Ben Knoble
    May 2 at 15:22











  • @dedowsdi see update

    – D. Ben Knoble
    May 2 at 15:26






  • 1





    @dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

    – D. Ben Knoble
    May 2 at 16:16






  • 1





    @dedowsdi see update

    – D. Ben Knoble
    May 3 at 1:07
















It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

– dedowsdi
May 2 at 15:21






It tickles me to not be able to find such a basic thing in vim help. I shall accept it as the answer if no one objects for some time.

– dedowsdi
May 2 at 15:21














@dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

– D. Ben Knoble
May 2 at 15:22





@dedowsdi me too. Ive cleaned up your question a bit and am about to go try finding it myself.

– D. Ben Knoble
May 2 at 15:22













@dedowsdi see update

– D. Ben Knoble
May 2 at 15:26





@dedowsdi see update

– D. Ben Knoble
May 2 at 15:26




1




1





@dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

– D. Ben Knoble
May 2 at 16:16





@dedowsdi Uh, luck? Good guessing? Actually, I started with help exusage, and then that led me to a part of the index where i couldnt find it. So i thought well maybe ill try the range help (and I knew the syntax for the help doc bc it’s pretty standardized).

– D. Ben Knoble
May 2 at 16:16




1




1





@dedowsdi see update

– D. Ben Knoble
May 3 at 1:07





@dedowsdi see update

– D. Ben Knoble
May 3 at 1:07


















draft saved

draft discarded















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f19823%2fwhere-is-the-documentation-for-this-ex-command%23new-answer', 'question_page');

);

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









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?