projects
/
~bandali
/
configs
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
emacs: better buffer-switching bindings
[~bandali/configs]
/
.local
/
bin
/
zathura-sync
1
#!/bin/sh
2
3
pos
=
"
$1
"
4
pdffile
=
"
$2
"
5
zathura
--synctex-forward
"
$pos
"
"
$pdffile
"
|| \
6
(
7
zathura
-x
"emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory
\"
%{input}
\"
)) (goto-line %{line}))'"
"
$pdffile
"
&
8
sleep
1
;
zathura
--synctex-forward
"
$pos
"
"
$pdffile
"
)