shell expansions while in vimWhy does `ESC` move the cursor back in vim?vim customized with emacs commands (insert mode only)Globally replace Vi with Vim on FedoraLive diff-mode editing in vimCommenting out multiple lines of code, specified by line numbers, using vi or vimIn Bash Vi mode, I get thrown into Insert mode automatically after one key pressVim: Exit single character replace mode with <C-C> when using `nnoremap <C-C> <silent> <C-C>`Is it safe to type another command into STDIN while the previous command is writing to STDOUT?Vi help problem with / in command modeWhich of the following shell operations are performed inside the function body when running a function definition and when calling a function?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
Why are electrically insulating heatsinks so rare? Is it just cost?
Why not use SQL instead of GraphQL?
Test if tikzmark exists on same page
How much RAM could one put in a typical 80386 setup?
can i play a electric guitar through a bass amp?
Can divisibility rules for digits be generalized to sum of digits
Why don't electron-positron collisions release infinite energy?
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
Risk of getting Chronic Wasting Disease (CWD) in the United States?
"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"
Test whether all array elements are factors of a number
Can I ask the recruiters in my resume to put the reason why I am rejected?
Mathematical cryptic clues
What does it mean to describe someone as a butt steak?
Email Account under attack (really) - anything I can do?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
Why can't I see bouncing of a switch on an oscilloscope?
Are the number of citations and number of published articles the most important criteria for a tenure promotion?
Can I make popcorn with any corn?
tikz: show 0 at the axis origin
Prove that NP is closed under karp reduction?
Do I have a twin with permutated remainders?
How is it possible to have an ability score that is less than 3?
shell expansions while in vim
Why does `ESC` move the cursor back in vim?vim customized with emacs commands (insert mode only)Globally replace Vi with Vim on FedoraLive diff-mode editing in vimCommenting out multiple lines of code, specified by line numbers, using vi or vimIn Bash Vi mode, I get thrown into Insert mode automatically after one key pressVim: Exit single character replace mode with <C-C> when using `nnoremap <C-C> <silent> <C-C>`Is it safe to type another command into STDIN while the previous command is writing to STDOUT?Vi help problem with / in command modeWhich of the following shell operations are performed inside the function body when running a function definition and when calling a function?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Being in vim.tiny in command mode and executing some shell command with :!
, is there a way that I can benefit from the shell expansions, namely from the filename generation?
When I simply enter key, the filename does not get expanded, instead I get the ^I
character.
bash vim vi
|
show 5 more comments
Being in vim.tiny in command mode and executing some shell command with :!
, is there a way that I can benefit from the shell expansions, namely from the filename generation?
When I simply enter key, the filename does not get expanded, instead I get the ^I
character.
bash vim vi
1
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
let's say filename generation
– stevica
2 days ago
2
@stevica Vim has tab completion for filenames. You can do:edit some<tab>/somepther<tab>
, for example. There's also:find someOtherDocu
– muru
2 days ago
1
Innvi
you should:set filec=<tab>
, where<tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your~/.nexrc
.
– mosvy
2 days ago
1
In the standardvi
there simply isn't such feature.
– mosvy
2 days ago
|
show 5 more comments
Being in vim.tiny in command mode and executing some shell command with :!
, is there a way that I can benefit from the shell expansions, namely from the filename generation?
When I simply enter key, the filename does not get expanded, instead I get the ^I
character.
bash vim vi
Being in vim.tiny in command mode and executing some shell command with :!
, is there a way that I can benefit from the shell expansions, namely from the filename generation?
When I simply enter key, the filename does not get expanded, instead I get the ^I
character.
bash vim vi
bash vim vi
edited 2 days ago
stevica
asked 2 days ago
stevicastevica
265
265
1
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
let's say filename generation
– stevica
2 days ago
2
@stevica Vim has tab completion for filenames. You can do:edit some<tab>/somepther<tab>
, for example. There's also:find someOtherDocu
– muru
2 days ago
1
Innvi
you should:set filec=<tab>
, where<tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your~/.nexrc
.
– mosvy
2 days ago
1
In the standardvi
there simply isn't such feature.
– mosvy
2 days ago
|
show 5 more comments
1
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
let's say filename generation
– stevica
2 days ago
2
@stevica Vim has tab completion for filenames. You can do:edit some<tab>/somepther<tab>
, for example. There's also:find someOtherDocu
– muru
2 days ago
1
Innvi
you should:set filec=<tab>
, where<tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your~/.nexrc
.
– mosvy
2 days ago
1
In the standardvi
there simply isn't such feature.
– mosvy
2 days ago
1
1
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
let's say filename generation
– stevica
2 days ago
let's say filename generation
– stevica
2 days ago
2
2
@stevica Vim has tab completion for filenames. You can do
:edit some<tab>/somepther<tab>
, for example. There's also :find someOtherDocu
– muru
2 days ago
@stevica Vim has tab completion for filenames. You can do
:edit some<tab>/somepther<tab>
, for example. There's also :find someOtherDocu
– muru
2 days ago
1
1
In
nvi
you should :set filec=<tab>
, where <tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your ~/.nexrc
.– mosvy
2 days ago
In
nvi
you should :set filec=<tab>
, where <tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your ~/.nexrc
.– mosvy
2 days ago
1
1
In the standard
vi
there simply isn't such feature.– mosvy
2 days ago
In the standard
vi
there simply isn't such feature.– mosvy
2 days ago
|
show 5 more comments
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/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%2funix.stackexchange.com%2fquestions%2f510436%2fshell-expansions-while-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
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%2f510436%2fshell-expansions-while-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
1
What is it specifically that you'd like to do? An "expansion" can be many different things, such as variable expansion, command substitution, brace expansion, filename generation (globbing) etc.
– Kusalananda♦
2 days ago
let's say filename generation
– stevica
2 days ago
2
@stevica Vim has tab completion for filenames. You can do
:edit some<tab>/somepther<tab>
, for example. There's also:find someOtherDocu
– muru
2 days ago
1
In
nvi
you should:set filec=<tab>
, where<tab>
is an actual Tab you can enter with Ctrl-V Ctrl-I or Ctrl-V Tab. You can put that in your~/.nexrc
.– mosvy
2 days ago
1
In the standard
vi
there simply isn't such feature.– mosvy
2 days ago