Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<C-c><Text object> #395

Open
YodaEmbedding opened this issue Sep 25, 2023 · 2 comments
Open

<C-c><Text object> #395

YodaEmbedding opened this issue Sep 25, 2023 · 2 comments

Comments

@YodaEmbedding
Copy link

YodaEmbedding commented Sep 25, 2023

Feature request.

<C-c> followed by any arbitrary text object.

(Text objects)
<C-c>ip     send inner paragraph
<C-c>5j     send next 5 lines
<C-c>af     send outer function (via treesitter text object)
<C-c>ac     send outer class (via treesitter text object)

(Defaults)
<C-c><C-c>  send inner paragraph
<C-c>v      config
@jpalardy
Copy link
Owner

Hi @YodaEmbedding

Technically, you can already do all these by picking the object/motion before pressing <C-c><C-c>

If not, check these lines and how people might have mapped them already.

Let me know how that goes.

@jiz4oh
Copy link
Contributor

jiz4oh commented Oct 10, 2023

there is a <Plug>SlimeMotionSend that you can map by yourself, there is my vimrc

nmap <silent> gz <Plug>SlimeMotionSend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants