Fork me on GitHub
#vim
<
2020-08-25
>
dominicm14:08:04

https://github.com/pechorin/any-jump.vim dumb jump for vim (supports clj)

🤯 9
👌 6
orestis14:08:58

I like clap for the visual interface to jump between files, but showing buffers is very slow, and I would like a better grep feel with better use of the quick fix window ... what other tools are out there for navigating projects, quickly visiting an open buffer and good grep?

samoleary14:08:27

I use https://github.com/junegunn/fzf.vim with https://github.com/BurntSushi/ripgrep and it's pretty quick. I've got tags set up with it too but I don't use that half has much

dominicm16:08:16

Vim-grepper is the best way to start with grep and qf

dominicm16:08:27

Though :grep is not that bad either.

dominicm16:08:51

I guess grepper is like :grep which is why it's good.

orestis16:08:25

What about buffers navigation? I feel like I’m missing something fundamental. I usually have 3-4 windows open, and 5-8 buffers that I cycle through. (The working set differs depending on the task). Bnext/bprev do wildly unintuitive things for me.

dave16:08:41

i use fzf.vim's :Files command, bound to Ctrl-F

dave16:08:03

i find it way easier to type a fragment of the name of the file i'm thinking of, vs. trying to recall if i already have it open and hunting through a list of buffers i have open

âž• 3
Jan K16:08:14

with fzf.vim you can search open buffers (:Buffers command), another good plugin is https://github.com/ctrlpvim/ctrlp.vim

Jan K16:08:29

I'm also using this simple buffer lister that has no search https://github.com/roblillack/vim-bufferlist

Jan K16:08:10

This one is good for just browsing files https://github.com/preservim/nerdtree

orestis16:08:27

VimR has a nice graphical file explorer built-in, which is nice. I don’t use file browsers that much though tbh.

orestis16:08:34

Thanks for all the suggestions :)

dave18:08:08

on the subject of simple buffer listers, i use this one which is good: https://github.com/jeetsukumaran/vim-buffergator i mostly use fzf.vim in the way i described above, but it is occasionally useful to glance at the list of files i have open, e.g. if i don't remember the name of some random log file i was just looking at