Questions tagged [shell]
The shell tag has no usage guidance.
7
questions with no upvoted or accepted answers
2
votes
0answers
261 views
Use external commands within venv virtual environment
Same question as Use Vim with virtualenv, except for these differences:
I'm using bash, not zsh
using venv, not virtualenv or virtualenvwrapper
I have a keybinding to run the current buffer as a ...
2
votes
0answers
38 views
head isn't included in syntax/sh.vim
head is a common Unix/Linux executable, but it's not listed in the shell syntax highlighting configuration.
In contrast, many common executables are. Specifically, its counterpart, tail, is listed. ...
1
vote
0answers
92 views
Vim: How to have YouCompleteMe autocomplete shell script variable names and functions from “source”d files?
I use macvim with YouCompleteMe (YCM), which I recently updated and recompiled. I followed the YCM instructions for OSX. I'm also using iterm2, tmux and zsh, all of which are installed with brew and ...
0
votes
0answers
9 views
Can't use the usual !!foo in vim // gvim on Windows 10 - missing tmp files
I'm running vim // gvim 8.2 (fresh off of vim.org, and was before---just re-installed to do so as administrator, per instructions I'd missed before). I've been getting this since getting this Windows ...
0
votes
1answer
14 views
How to pass custom arguments to the shell invoked by :terminal?
I would like to specify the startup command to run on the :terminal shell. E.g. bash -c ls. The shell can be specified with set shell=bash, but how to specify the arguments? In another use case, I ...
0
votes
1answer
84 views
Is it possible to read a shell command's output from nvi's command line?
I was trying see if I can integrate fzf with nvi, but couldn't find a way to do something like :Edit <shell command's output> which would solve my problem.
I tried :source nvi.ex -- it works ...
0
votes
0answers
51 views
terminal shell behaves differently from normal shell
I run this command in a common terminal:
$ ps aux | grep work | grep python | awk '{print $2}'
Then I have three different pids, however, in the vim-term window, the same line gave me two pids. ...