You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may very well have missed this functionality when skimming the docs and repo, please let me know if I did! I am essentially looking for the equivalent of vim's -c and --cmd options.
-c {command}
{command} will be executed after the first file has been read. {command} is interpreted as an Ex
command. If the {command} contains spaces it must be enclosed in double quotes (this depends
on the shell that is used). Example: Vim "+set si" main.c
Note: You can use up to 10 "+" or "-c" commands.
...
--cmd {command}
Like using "-c", but the command is executed just before processing any vimrc file. You can use
up to 10 of these commands, independently from "-c" commands.
Is this behaviour currently possible or being considered at all?
This discussion was converted from issue #6810 on April 07, 2024 00:44.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I may very well have missed this functionality when skimming the docs and repo, please let me know if I did! I am essentially looking for the equivalent of vim's
-c
and--cmd
options.Is this behaviour currently possible or being considered at all?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions