Updated vimtex and snippets
This commit is contained in:
parent
84a6b218fe
commit
10bf23a6ec
44 changed files with 4209 additions and 69 deletions
20
personal/inverse-search/latex-linux.sh
Normal file
20
personal/inverse-search/latex-linux.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
# Used for inverse search from a PDF in Zathura
|
||||
# to the corresponding *.tex in Neovim on Linux.
|
||||
# xdotool is used to return focus to the Vim window.
|
||||
#
|
||||
# SYNOPSIS
|
||||
# inverse <tex_file> <line_num> <window_id>
|
||||
# ARGUMENT
|
||||
# <tex_file>
|
||||
# Path to the LaTeX file to open in Neovim
|
||||
#
|
||||
# <line_num>
|
||||
# Line number to move the cursor to in the opened LaTeX file
|
||||
#
|
||||
# <window_id>
|
||||
# Numerical ID of the window in which Vim is running
|
||||
# as returned by `xdotool getactivewindow`.
|
||||
# E.g. 10485762
|
||||
nvr --remote-silent --servername=/tmp/texsocket +"${2}" "${1}"
|
||||
xdotool windowfocus ${3}
|
||||
Loading…
Add table
Add a link
Reference in a new issue