Skip to content

E486: Pattern not found: +> #26

@n0542344

Description

@n0542344

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions