Comments (2)
You shouldn't need quotes if you use -x
option, which takes the rest of command-line as a command (according to this).
The second issue you faced is that terminal detaches/forks from its parent leaving it without a way to track child's lifetime (hence the plugin reads output file right away, when it doesn't exist). Try adding --disable-factory
option, like this:
let g:vifm_term = 'gnome-terminal --disable-factory -x'
If it doesn't work, I'm not sure how to proceed (by the way, looks like it worked years ago). I don't have GNOME and can't check it myself.
UPD (2016.01.16): yeah, they broke it intentionally and are not going to fix, see. Not sure how to synchronize plugin with vifm then and honestly I don't think it's worth it (I mean working around strange decisions of those people). The best advice I can give is do not use gnome-terminal. Who knows what else they will break next... That said, ideas are welcome, I just can't think of a feasible solution for this case.
UPD (2016.11.06): maybe creating a named pipe and reading from it until EOF will work as a workaround (didn't try it).
from vifm.vim.
Hi @xaizek, thanks for your reply!
I tried using the command you suggested. When I use the -x
option, vifm opens but I immediately face the second issue. If I try to use --disable-factory
in conjunction with -x
, however, it fails again with the original error message (Got non zero exit code from vifm
).
In the meantime I installed xterm and configured it to be more or less as I like it so it's not very pressing for me, but I think that for the rest of the community this might be relevant since when installing gnome-shell
you by default only get gnome-terminal
. (I'm running on Arch linux).
from vifm.vim.
Related Issues (20)
- Add screenshots to README HOT 1
- Weird vertical lines in the smaller pane HOT 3
- Display is not working in TMUX HOT 8
- Opening in split switches focus to wrong window HOT 3
- How to set a separate theme for Vifm.vim? HOT 8
- Feature request: `:PeditVim` HOT 2
- Can't replace netRW with Vifm in Neovim. HOT 5
- After replacing netrw with vifm, lose gx functionality HOT 1
- highlight groups? HOT 2
- vifm doesn't work well with gitgutter. fails to open files from untracked file. HOT 3
- Use Vifm as a side bar? HOT 3
- VIFM bulk-rename dual-pane mode issue HOT 2
- [ Question ] Will vifm.vim add Lua version? HOT 1
- [Feature] Add support to change / close vim buffers when corresponding files are renamed / removed by vifm? HOT 12
- Is it possible to select a directory to be neovim cwd within vifm? HOT 3
- Is it possible to open vifm default vifm file opening behavior instead of always 'edit' HOT 2
- vifm plugin and 24-bit color support HOT 8
- install notes for vim 8 HOT 3
- Possible to add vifm to jumplist in neovim? HOT 1
- vifm as an nvim cder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vifm.vim.