Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Change or reverse order of arguments

If you are using neovim you can configure treesitter with textobjects. Textobjects provides swap the node under cursor action which does exactly that. See sample configuration mapped to <leader>...
bazko1's user avatar
  • 1
0 votes

How to append to the end of word with one key stroke?

Adding to JoL's answer, we can use gn in cases where we want to append to the same word. For example, we have this: instance1 = myclass(120) instance2 = myclass(130) And we want to add _boring after ...
Abdulla Masud's user avatar

Top 50 recent answers are included