From 602ba319ffae434c7434e9847b3beb4d8d1d3d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Mon, 8 Jun 2015 19:03:10 +0200 Subject: [PATCH] Raise viewer after `\lv` (#180) --- autoload/vimtex/view.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index 7ff383d..5af196e 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -471,6 +471,7 @@ function! s:focus_viewer() dict " {{{1 if self.xwin_id > 0 silent call system('xdotool windowfocus ' . self.xwin_id . ' --sync') + silent call system('xdotool windowraise ' . self.xwin_id) endif endfunction