I would like to select the whole function by going to VISUAL mode and using $ to go to the last character and then going to the matching bracket with %. Doing this in NORMAL mode works fine, but when in VISUAL, it doesn’t. How can I fix this? Or, what should I check to fix this?

  • sylvain_soliman@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Though I tend to do something rather along the lines of vif (using evil’s defun text-object, or evil-treesitter if that’s what you prefer) I tried what you indicate and it does work here…

    So, could you be a bit more precise in what you’re trying to do and how it fails? (a file example, trying without other packages than evil, etc.)