[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] preview .txt-files?
From: |
Roman Z. |
Subject: |
Re: [Ranger-users] preview .txt-files? |
Date: |
Sun, 6 Jan 2013 13:33:28 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
>>> When I hit enter standing on a txt-file it opens with vim, but the
>>> preview column doesn't work for these files.
Works for me. Does it fail on *every* text file? It would also be good
to know whether or not you got the program "highlight" installed or not?
>>> Also, is it ok to change all "vim" entries in ranger configuration files
>>> to "gvim"? (still getting my feet wet here ;-))
Sounds harmless to me
>> to use gvim just set EDITOR=gvim in your bashrc
I think that you need to write "export EDITOR=gvim" in bashrc to set the
editor, not simply "EDITOR=gvim", but I may be wrong.
> I don't see any editor mentioned here:
Why whould an editor be mentioned in the script that generates previews?
The variable $EDITOR is used in the file launcher configuration file,
namely "rifle.conf" (in ranger-git) or "apps.py" (in ranger-stable). If
you look at the man page in the section "FILES", there is a list of all
config files and what they do.
Roman
- [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/05
- Re: [Ranger-users] preview .txt-files?, Miodrag Milic, 2013/01/05
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/06
- Re: [Ranger-users] preview .txt-files?,
Roman Z. <=
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/06
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Roman Z., 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Roman Z., 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Roman Z., 2013/01/08
- Re: [Ranger-users] preview .txt-files?, Ludo Beckers, 2013/01/08