summary refs log tree commit diff stats
path: root/examples/plugin_new_sorting_method.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugin_new_sorting_method.py')
-rw-r--r--examples/plugin_new_sorting_method.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py
deleted file mode 100644
index 02abbc47..00000000
--- a/examples/plugin_new_sorting_method.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# Compatible with ranger 1.6.*
-#
-# This plugin adds the sorting algorithm called 'random'.  To enable it, type
-# ":set sort=random" or create a key binding with ":map oz set sort=random"
-
-from ranger.fsobject.directory import Directory
-from random import random
-Directory.sort_dict['random'] = lambda path: random()
-