#31 C-J cause "}" to highlight

open
nobody
None
5
2011-05-30
2011-05-30
Hong Xu
No

After using a shortcut, for example "EFI", then I use C-J to jump to next place. However, after I press C-J, all "{" are highlighted. It's tested on Windows.

Discussion

  • Gerd Wachsmuth
    Gerd Wachsmuth
    2011-10-16

    Maybe your last search string is "{". After using the C-J jump, the search highlighting is turned on (if 'hlsearch') is set (even if ":nohlsearch" was used before. This is due to some limitation in ViM and can't be fixed.

     
  • Hong Xu
    Hong Xu
    2011-12-05

    Sorry for the delayed reply.

    It seems that if a search is made before use the shortcut in this session, "}" would not be highlighed, however, the searched word is highlighted. If no previous search is done, "}" is highlighted.

     
  • Hong Xu
    Hong Xu
    2011-12-16

    Despite the problem itself, I am confused: which repository is the vim-latex repo? https://github.com/gerw/vim-latex-suite or git://vim-latex.git.sourceforge.net/gitroot/vim-latex/vim-latex ?