diff options
| -rwxr-xr-x | .scripts/vimura | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.scripts/vimura b/.scripts/vimura index 91f5cf5..da85bc9 100755 --- a/.scripts/vimura +++ b/.scripts/vimura @@ -1,3 +1,4 @@ #!/bin/sh -echo ${1:0:5} -zathura --fork -x "vim --servername vim -c \"let g:syncpdf='${1%.*}'\" --remote +%{line} %{input}" $1 + +echo ${1%.pdf} +zathura --fork -x "vim --servername ${1%.pdf} -c \"let g:syncpdf='${1%.pdf}'\" --remote +%{line} %{input}" $* |
