summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-02-15 00:40:10 +0000
committerhut <hut@lavabit.com>2011-02-15 00:40:10 +0000
commit01c321b1d2b5e8bccfabbf524117554763b4c968 (patch)
treefe9264c1a20d88161709d5311cdcd93f697983ca /ranger
parentc3abe35722f24993e369cf589070f3cc8994ee78 (diff)
downloadranger-01c321b1d2b5e8bccfabbf524117554763b4c968.tar.gz
Moved vimscript to README next to the bash script :)
Diffstat (limited to 'ranger')
-rw-r--r--ranger/help/invocation.py14
1 files changed, 2 insertions, 12 deletions
diff --git a/ranger/help/invocation.py b/ranger/help/invocation.py
index f71e3892..465b0de8 100644
--- a/ranger/help/invocation.py
+++ b/ranger/help/invocation.py
@@ -70,18 +70,6 @@ command line.
       as <target>. This file can be read in a script and used to open a
       certain file which has been chosen with ranger.
 
-      Here, for instance, is a vim script that uses ranger in vim to open files:
-
-      fun Ranger()
-        silent !ranger --choosefile=/tmp/chosen
-        if filereadable('/tmp/chosen')
-          exec 'edit ' . system('cat /tmp/chosen')
-          call system('rm /tmp/chosen')
-        endif
-        redraw!
-      endfun
-      map <leader>r :call Ranger()
-
 (Optional) Positional Argument
       The positional argument should be a path to the directory you
       want ranger to start in, or the file which you want to run.
@@ -96,6 +84,8 @@ Examples:
       ranger --debug /usr/bin
       ranger --confdir=~/.config/ranger --fail-unless-cd
 
+See the README on how to integrate ranger with various external programs.
+
 
 ==============================================================================
 5.2. Python Options