summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-02-15 13:46:46 +0100
committerhut <hut@lepus.uberspace.de>2014-02-15 13:46:46 +0100
commitab90d5bb637c0ecf90eb3bb3f5a9c696f3b43a13 (patch)
tree4dd643bb2ee8ea9455eff9909ed986e99198df46
parent37e085d2f91f47060f0f685f66164d331c5db9ae (diff)
downloadranger-ab90d5bb637c0ecf90eb3bb3f5a9c696f3b43a13.tar.gz
examples/vim_file_chooser: fixed redrawing
-rw-r--r--doc/examples/vim_file_chooser.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/vim_file_chooser.vim b/doc/examples/vim_file_chooser.vim
index 064fbab6..68947d2d 100644
--- a/doc/examples/vim_file_chooser.vim
+++ b/doc/examples/vim_file_chooser.vim
@@ -28,6 +28,7 @@ function! RangeChooser()
     for name in names[1:]
         exec 'argadd ' . fnameescape(name)
     endfor
+    redraw!
 endfunction
 command! -bar RangerChooser call RangeChooser()
 nnoremap <leader>r :<C-U>RangerChooser<CR>