about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-11-08 16:50:32 +0100
committerLeah Neukirchen <leah@vuxu.org>2017-11-08 16:50:32 +0100
commitc9c4a157d34cc18041890dc54afd040fadb441da (patch)
tree0f153d2158adcdfddf4b29390dcd73c1cccad3a4
parent7fda0be00b7b86131ff378419f1c30c22e4a6667 (diff)
downloadlr-c9c4a157d34cc18041890dc54afd040fadb441da.tar.gz
lr-c9c4a157d34cc18041890dc54afd040fadb441da.tar.xz
lr-c9c4a157d34cc18041890dc54afd040fadb441da.zip
lr.vim: update
-rw-r--r--contrib/lr.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/lr.vim b/contrib/lr.vim
index 2b4bcb8..a3897b8 100644
--- a/contrib/lr.vim
+++ b/contrib/lr.vim
@@ -1,5 +1,5 @@
 " :Lr <lr-args> to browse lr(1) results in a new window,
 "               press return to open file in new window.
-command! -nargs=* -complete=file Lr
-	\ new | setl bt=nofile noswf | silent exe "0r!lr -Q " <q-args> |
-	\ 0 | res | map <buffer><C-M> $<C-W>F<C-W>_
+command! -n=* -complete=file Lr silent exe "R" "lr" <q-args> | res | silent f [lr] | map <buffer><CR> $hgF
+
+