We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using a mapping to run a system command, the first row of the output is mixed with the command name.
nvim --clean :lua vim.keymap.set('n', 'gz', function() vim.cmd('!echo abc') end)
Press gz
Output:
abccho abc
Expected output (which is shown when running the command directly):
:!echo abc abc
NVIM v0.10.0-dev-3036+gab1c2220f
no
linux, windows
all terminals
binary
The text was updated successfully, but these errors were encountered:
Related #22878
Sorry, something went wrong.
Strangely I get the same behavior by running
:execute "normal :!echo abc\n"
In Vim this doesn't keep the popup open, so I guess it's still a Neovim issue.
Hmm, that happens with :execute "normal :echo 111 | echo 222\n" too.
:execute "normal :echo 111 | echo 222\n"
Also related: #20673
cmdheight=0
<Cmd>...<CR>
No branches or pull requests
Problem
When using a mapping to run a system command, the first row of the output is mixed with the command name.
Steps to reproduce
Press gz
Output:
Expected behavior
Expected output (which is shown when running the command directly):
Neovim version (nvim -v)
NVIM v0.10.0-dev-3036+gab1c2220f
Vim (not Nvim) behaves the same?
no
Operating system/version
linux, windows
Terminal name/version
all terminals
$TERM environment variable
Installation
binary
The text was updated successfully, but these errors were encountered: