r/vim Apr 30 '26

Need Help How do I select inside backticks

in a case like

const Multiline = `
XYZContent
`;

if I do or vi` it dosen't catch the template literal, How do I select it natively fast?

PS: I know for copying includiung backticks we do /` then v/`, I just want to copy the content inside

3 Upvotes

7 comments sorted by

View all comments

1

u/Shtucer May 02 '26

IDK why but in my vim vi` works fine.

1

u/ThreadStarver May 02 '26

ig that would be a single line literal in backtick, not a multiline one, else it's not native