|
I know you can map a command on a search with g like '1,$ g/bad things/d'. Is there a way to map a macro across a regex as well? Edit: forgot range in example :g/<pattern>/normal @q leper khan fucked around with this message at 18:49 on Apr 7, 2014 |
# ¿ Apr 7, 2014 18:03 |
|
|
# ¿ Apr 27, 2024 12:38 |
|
Learned about bufdo today and it saved me loads of headaches. If any of you need to execute a command across many files, take a look at it.
|
# ¿ May 7, 2014 17:53 |
|
So I decided to work from home today to avoid meetings and get some things finished up. And omnisharp-vim is saying that GoToDefinition et al aren't editor commands.
|
# ¿ Feb 17, 2016 20:42 |
|
qsvui posted:Did your vimrc get messed up or something? Yeah, I figured it out. I decided to update my vimrc but never bothered to make sure anything I did for windows got carried over.
|
# ¿ Feb 18, 2016 17:56 |
|
Just learned about buffersaurus which solves a need I had recently (regex search across open buffers). Unfortunately <C-n> and <C-S-n> aren't distinguishable by vim, so I can't have the mapping for next/previous match I want.. Anyone know if there's a PR that resolves this, or if it's in neovim? It's pretty annoying that I can't do it, but I'm not willing to open the vim source to see if it's fixable. e: <leader>n isn't too bad I guess but still leper khan fucked around with this message at 16:31 on Aug 1, 2016 |
# ¿ Aug 1, 2016 16:28 |
|
Jo posted:Is there a non-bullshit vim plugin for Java? Something with autocomplete, quickdoc, and go-to def? http://eclim.org?
|
# ¿ Jan 24, 2017 03:47 |
|
|
# ¿ Apr 27, 2024 12:38 |
|
Jo posted:I had dismissed it as poo poo. "If I wanted the bloat of Eclipse...". Maybe unfairly so? I'll give it some additional consideration. The eclipse runs headless and you get most of the good from it with minimal bad. It's still java though..
|
# ¿ Jan 24, 2017 18:26 |