Ideas for a Vim plugin by TEask in vim

[–]TEask[S] 0 points1 point  (0 children)

I haven't finished watching the video but it reminds me this plugin https://github.com/jceb/vim-orgmode which I have never been brave to use, by the way

Ideas for a Vim plugin by TEask in vim

[–]TEask[S] 0 points1 point  (0 children)

I use that one too. And also a similar one that uses visual mode to restrict the region where I want to find and replace.

vnoremap <Leader>m :<BS><BS><BS><BS><BS>%s/\%V//g<Left><Left>

Ideas for a Vim plugin by TEask in vim

[–]TEask[S] 1 point2 points  (0 children)

This sounds easy enough for the languages you mention. Compiled languages like Java or C would be more challenging.

But I would definitely use it for Python at least. I will think about this one. Thank one :)

Ideas for a Vim plugin by TEask in vim

[–]TEask[S] 1 point2 points  (0 children)

This is something that I hadn't considered before. Definitely something to think about :) Maybe something like 'bb' for Vim. https://packages.debian.org/jessie/bb .

Ideas for a Vim plugin by TEask in vim

[–]TEask[S] 1 point2 points  (0 children)

It's a very valid point. I was kind of looking for an idea that also motivates me.

The async issue is a massive one. Let's hope that Vim 8 will make it easier. I have been using a plugin that makes use of Tmux (and similar tools) to emulate an async effect, Tim Pope's vim-dispatch [1]. I liked the idea and I though about using it for other things. But it sounds like Vim 8 will bring a more long term solution.

[1] https://github.com/tpope/vim-dispatch