diff options
author | hut <hut@lavabit.com> | 2013-03-01 09:19:47 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-03-01 09:22:59 +0100 |
commit | c139ec86237c2800f55ea2064f18c1b5bc4e9523 (patch) | |
tree | 9469cc1e167f00cacf8214358f153ed634942698 /examples | |
parent | 76612b05b5d1490032e38a736c7293bd750c877d (diff) | |
download | ranger-c139ec86237c2800f55ea2064f18c1b5bc4e9523.tar.gz |
Added version info to examples
Diffstat (limited to 'examples')
-rw-r--r-- | examples/README | 3 | ||||
-rw-r--r-- | examples/bash_automatic_cd.sh | 2 | ||||
-rw-r--r-- | examples/bash_subshell_notice.sh | 2 | ||||
-rw-r--r-- | examples/plugin_chmod_keybindings.py | 2 | ||||
-rw-r--r-- | examples/plugin_file_filter.py | 2 | ||||
-rw-r--r-- | examples/plugin_hello_world.py | 2 | ||||
-rw-r--r-- | examples/plugin_new_macro.py | 2 | ||||
-rw-r--r-- | examples/plugin_new_sorting_method.py | 2 | ||||
-rw-r--r-- | examples/rifle_different_file_opener.conf | 2 | ||||
-rwxr-xr-x | examples/rifle_sxiv.sh | 1 | ||||
-rw-r--r-- | examples/vim_file_chooser.vim | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/examples/README b/examples/README index 7c71d9cf..ca514853 100644 --- a/examples/README +++ b/examples/README @@ -3,3 +3,6 @@ are put here for your inspiration and as references. In order to use a plugin from this directory, you need to copy it to ~/.config/ranger/plugins/ + +Note that if you update ranger to a new minor version (for example, +from 1.6.* to 1.7.0), your outdated plugins WILL break and crash ranger. diff --git a/examples/bash_automatic_cd.sh b/examples/bash_automatic_cd.sh index a63280d1..8d72c553 100644 --- a/examples/bash_automatic_cd.sh +++ b/examples/bash_automatic_cd.sh @@ -1,3 +1,5 @@ +# Compatible with ranger 1.4.2 through 1.6.* +# # Automatically change the directory in bash after closing ranger # # This is a bash function for .bashrc to automatically change the directory to diff --git a/examples/bash_subshell_notice.sh b/examples/bash_subshell_notice.sh index b6b03d74..bc44d5a8 100644 --- a/examples/bash_subshell_notice.sh +++ b/examples/bash_subshell_notice.sh @@ -1,3 +1,5 @@ +# Compatible with ranger 1.5.3 through 1.6.* +# # Change the prompt when you open a shell from inside ranger # # Add this line to your .bashrc for it to work. diff --git a/examples/plugin_chmod_keybindings.py b/examples/plugin_chmod_keybindings.py index f26cb3e3..0ab975ed 100644 --- a/examples/plugin_chmod_keybindings.py +++ b/examples/plugin_chmod_keybindings.py @@ -1,3 +1,5 @@ +# Compatible with ranger 1.6.* +# # This plugin serves as an example for adding key bindings through a plugin. # It could replace the ten lines in the rc.conf that create the key bindings # for the "chmod" command. diff --git a/examples/plugin_file_filter.py b/examples/plugin_file_filter.py index 39e4e285..965fa2e8 100644 --- a/examples/plugin_file_filter.py +++ b/examples/plugin_file_filter.py @@ -1,3 +1,5 @@ +# Compatible with ranger 1.6.* +# # This plugin hides the directories "boot", "sbin", "proc" and "sys" in the # root directory. diff --git a/examples/plugin_hello_world.py b/examples/plugin_hello_world.py index e43eb61d..a803e21b 100644 --- a/examples/plugin_hello_world.py +++ b/examples/plugin_hello_world.py @@ -1,3 +1,5 @@ +# Compatible with ranger 1.6.* +# # This is a sample plugin that displays "Hello World" in ranger's console after # it started. diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py index ec0c487c..159a92f2 100644 --- a/examples/plugin_new_macro.py +++ b/examples/plugin_new_macro.py @@ -1,3 +1,5 @@ +# Compatible with ranger 1.6.* +# # This plugin adds the new macro %date which is substituted with the current # date in commands that allow macros. You can test it with the command # ":shell echo %date; read" diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py index 2500c1c1..02abbc47 100644 --- a/examples/plugin_new_sorting_method.py +++ b/examples/plugin_new_sorting_method.py @@ -1,3 +1,5 @@ +# 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" diff --git a/examples/rifle_different_file_opener.conf b/examples/rifle_different_file_opener.conf index 1362a1eb..4a8250b8 100644 --- a/examples/rifle_different_file_opener.conf +++ b/examples/rifle_different_file_opener.conf @@ -1,3 +1,5 @@ +# Compatible with ranger 1.6.* +# # Replace your rifle.conf with this file to use xdg-open as your file opener. # This is, of course, adaptable for use with any other file opener. else = xdg-open "$1" diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index 0cbda01e..60cc8d82 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -1,4 +1,5 @@ #!/bin/sh +# Compatible with ranger 1.6.* # # This script searches image files in a directory, opens them all with sxiv # and sets the first argument to the first image displayed by sxiv. diff --git a/examples/vim_file_chooser.vim b/examples/vim_file_chooser.vim index df3f50e5..4f5fa3f2 100644 --- a/examples/vim_file_chooser.vim +++ b/examples/vim_file_chooser.vim @@ -1,3 +1,5 @@ +" Compatible with ranger 1.4.2 through 1.6.* +" " Add ranger as a file chooser in vim " " If you add this function and the key binding to the .vimrc, ranger can be |