Commits

Audrius Kažukauskas  committed 3b93c86

Redraw screen when opening URIs from terminal.

  • Participants
  • Parent commits 839ffc8

Comments (0)

Files changed (1)

   if uri == ''
     echo 'No URI found in line.'
   else
-    let uri = escape(uri, '#?&;|%')
+    let uri = escape(uri, '#&;|%')
     exec 'silent !opera ' . '"' . uri . '" &> /dev/null'
+    if !has('gui_running')
+      redraw!
+    endif
   endif
 endfunc
 map <silent> <leader>u :call OpenURI()<CR>