Timeline for How can I jump outside the scope of LaTeX delimiters?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 18 at 6:14 | comment | added | Karl Yngve Lervåg | I think this is a very good solution. But, I also think it can be useful to leverage VimTeX here. I'll make an alternative solution that does that. | |
Apr 16 at 11:46 | comment | added | Vivian De Smedt |
You already have a fairly good support with the builtin matchit but indeed vim-matchup is an improvement.
|
|
Apr 16 at 11:37 | comment | added | Ur Ya'ar |
LaTeX has many forms of delimiters. For example \left( , \big(', \Big(` (along with countarparts for [, \{, \lange \rangle ) etc. I wouldn't want to try to implement this myself. I now see that the plugin github.com/andymass/vim-matchup is supposed to support this, so I'll give it a try. Thanks for your help!
|
|
Apr 16 at 10:43 | comment | added | Vivian De Smedt | It would be helpful if you could precise what is your problem with the solution (which pairs is not supported the way you would like). We could then propose a way to improve the solution :-) | |
Apr 16 at 10:41 | comment | added | Vivian De Smedt |
By default it seems that g:vimtex_delim_list is not set. You can enrich the regular expression proposed to cope with more delimiter or enrich b:match_words if your prefer the second solution (that only works for the pairs that are not the same) :help b:match_words.
|
|
Apr 16 at 10:30 | comment | added | Ur Ya'ar |
well vimtex has a notion of "what is a delimiter" (see e.g. :h g:vimtex_delim_list ) which I think can be used, but I don't really know how to use it...
|
|
Apr 16 at 9:33 | history | edited | Vivian De Smedt | CC BY-SA 4.0 |
added 150 characters in body
|
Apr 16 at 9:28 | history | edited | Vivian De Smedt | CC BY-SA 4.0 |
added 150 characters in body
|
Apr 16 at 9:10 | review | Low quality posts | |||
Apr 16 at 9:32 | |||||
Apr 16 at 8:54 | history | answered | Vivian De Smedt | CC BY-SA 4.0 |