[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ranger-users] Ranger Tip: Copy content of a file

From: Jostein Berntsen
Subject: [Ranger-users] Ranger Tip: Copy content of a file
Date: Thu, 26 Aug 2010 14:24:34 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Here is a short and simple way to copy a file's content to the clipboard
in Ranger. This works for all files that can be previewed. 

Enter this into keys.py:

map('_4', fm.execute_console('!more %d/%f | clippy', cmode.OPEN))

clippy is a script I use to copy to the clipboard in KDE from the 
command line. You might want to try 'xclip' instead to do this. 


reply via email to

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