[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] Ranger Tip: Open files in a split window with screen
From: |
Jostein Berntsen |
Subject: |
Re: [Ranger-users] Ranger Tip: Open files in a split window with screen |
Date: |
Tue, 29 Jun 2010 23:07:36 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 29.06.10,20:35, Roman Z. wrote:
> On Mon, Jun 28, 2010 at 07:18:55PM +0200, Jostein Berntsen wrote:
> > Here is a tip if you want screen to open a text file in a vertical split
> > window. Add this key definition to keys.py:
> >
> > keymanager.map('browser', 'L', fm.open_console(cmode.OPEN, 'screen -X
> > eval "split -v" "focus" "screen" "exec vim %d/%f\\n"'))
> >
> >
> > Then you can open a file with "L". You will need the git version of
> > screen.
> >
> >
> > Jostein
> >
> >
>
> Hmm you have to press <Enter> after L, right?
>
> That reminds me that ranger still needs a function to execute commands.
>
>
Yes, I have to press enter to activate this now.
Jostein