-
|
Hey, For a function def fn1(a, b):
```This is doing something````
return 3*a+bWhen finished typing the return statement, I'd like to send the function to ipython. Is there a more ergonomic way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Yes, via treesitter textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects So if you have mapped, for instance, |
Beta Was this translation helpful? Give feedback.
Yes, via treesitter textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
So if you have mapped, for instance,
gsas send motion in iron andaffor@function.outerfor treesitter, you could just dogsaf.