Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SA
samuel1604 @alien.top
BOT
Posts 1
Comments 0

Select in any kind of quote object

with evil we have the inner or outer object for selecting inside or outside quote with ", `, '

but I rather have everything hapenning in one go, using the q letter for this. (lazyvim sems to have that setup by default which i seems to have got used to it)

It's easy enough to redefine an object like this:

(define-key evil-outer-text-objects-map "q" 'evil-a-double-quote) (define-key evil-inner-text-objects-map "q" 'evil-inner-double-quote)

which obviously only select the double quotes, anyone would know how to extend this to backquote ` or single quote '

3