-
Notifications
You must be signed in to change notification settings - Fork 18
E486: Pattern not found: +> #26
Copy link
Copy link
Open
Description
I like the idea of a minimal plugin like quicktex for writing LaTeX-code within vim a lot - but I have to admit that I'm having troubles with it.
I have the following snippet included in my init.vim (I'm using neovim):
let g:quicktex_tex = {
\' ' : "\<ESC>:call search('<+.*+>')\<CR>\"_c/+>/e\<CR>",
\'m' : '\( <+++> \) <++>',
\'italic' : '\\italic{<+++>} <++>',
\'textbf' : '\\textbf{<+++>} <++>',
\'frame' : "\\begin{frame}\<CR><+++>\<CR>\\end{frame}",
\'itemize' : "\\begin{itemize}\<CR><+++>\<CR>\\end{itemize}",
\'itm' : '\item ',
\}
After :set ft=texI'm trying to write a command in insert mode as I specified above (e.g. \frame), but instead of the snippet appearing I'm getting the error E486: Pattern not found: +>. In addition, I get out of insert mode and the string +> is highlighted.
I tried disabling all of the other plugins I'm using but this didn't change anything. I'm using Debian Stable and neovim v0.3.4 as well as the current version on the quicktexplugin.
Any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels