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

visual code block while executing? #42

Open
K0F opened this issue Feb 4, 2017 · 3 comments
Open

visual code block while executing? #42

K0F opened this issue Feb 4, 2017 · 3 comments

Comments

@K0F
Copy link

K0F commented Feb 4, 2017

It is not an issue, it rather suggestion or question:

I use ScVim quite often now even for live-coding performances, I was wondering if there is a chance to get the blocks of code highlighted while being executed (as in ScIde for instance)?

Maybe more Vim question…

whatever, any ideas or suggestions?

thx!

@davidgranstrom
Copy link
Contributor

Hi @K0F, yes you are probably right that this is more of general vim question. As a suggestion, have you seen vim-highlightedyank plugin? It does what you are describing, but for text yank operations. Maybe it could be adapted to highlight the executed block/line instead?

@K0F
Copy link
Author

K0F commented Feb 5, 2017

Thanks @davidgranstrom, it seems to be quite close, I know that scvim needs to select a range of the bracketed block in source document.. is there any way to get this information, i.e. for this plug-in to do highlighting? Thanks

@K0F
Copy link
Author

K0F commented Feb 5, 2017

I see, ftplugin contains this function.. s:get_visual_selection(), this is probably the key

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

2 participants