[Top][All Lists]

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]