Skip to main content

Questions tagged [shell]

Question about the functionality that let Vim interact with shell command typically triggered Cia the :! command.

4 votes
1 answer
334 views

Suppose we did something like: launch vim with $ vim --clean execute a shell command :!echo "hello" After step 1, if we exit Vim the terminal will contain: $ vim --clean $ However after ...
yousefx0's user avatar
1 vote
2 answers
198 views

I'd like to use coc.nvim for completion. However, this plugin requires the JavaScript runtime Node.js. Installing Node.js adds the following code to the shell rc file, (in my case .zshrc): export ...
Josh Friedlander's user avatar
4 votes
1 answer
603 views

In the terminal, I can open a file with its default application using this command: open example.txt In some Linux systems, I need to use xdg-open instead of open, like this: xdg-open example.txt ...
Flimm's user avatar
  • 2,555
0 votes
1 answer
244 views

I installed Neovim on a remote server. Everything runs fine, except that among the very few plugins I use, Telescope does not work properly since it does not find the rg (ripgrep) command. Two ...
mEm's user avatar
  • 157
1 vote
0 answers
80 views

I uses vim 9.1 shipped with bash 5.2.26(1)-release (x86_64-pc-msys) both installed by git-bash. :h terminal-use says :term will start one "terminal emulator" and ran the job. Then when I ...
An5Drama's user avatar
  • 125
1 vote
1 answer
106 views

I have a shell script meant to run within vim. I'd like it to insert the name of the file I'm editing but I can't figure out how to do it. Is there a way to, perhaps, call bufname() from within a ...
MDeBusk's user avatar
  • 461
2 votes
1 answer
1k views

I have Neovim installed on Windows. I use WSL for running Python and C code. So I'd like to map a key to get Neovim to run a shell command in WSL directly from the Neovim editor. But I seem to be ...
vvenk's user avatar
  • 33
0 votes
0 answers
142 views

When I run a shell command in Neovim like :!ls the results come up in a little minibuffer. In Vim, the Vim instance is temporarily closed and the results are printed to the terminal without my ...
Vinn's user avatar
  • 841

15 30 50 per page
1
2 3 4 5
7