about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 23:45:12 +0100
committerhut <hut@lavabit.com>2010-01-01 23:45:12 +0100
commit11ee0f3e0d9177731f85287cac3e67290b1bf127 (patch)
treee5fdfce129d7a02e2c636cf5fd7a8f016063290b /ranger
parente19f991553b17e9eb07124952682cd11a1ab1303 (diff)
downloadranger-11ee0f3e0d9177731f85287cac3e67290b1bf127.tar.gz
actions: reversed default cylce order for search("size")
If I cycle through the files by the size, I usually
care about large files, not small files
Diffstat (limited to 'ranger')
-rw-r--r--ranger/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 9b877e71..d35a2c48 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -43,7 +43,7 @@ class Actions(EnvironmentAware, SettingsAware):
 			if original_order is not None:
 				lst = list(pwd.files)
 				if order == 'size':
-					fnc = lambda item: item.size
+					fnc = lambda item: -item.size
 				elif order == 'mimetype':
 					fnc = lambda item: item.mimetype
 				elif order == 'ctime':