This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-10
Channels
- # beginners (9)
- # boot (8)
- # calva (9)
- # cider (11)
- # cljs-dev (6)
- # clojure (21)
- # clojure-austin (1)
- # clojure-spec (55)
- # clojure-uk (24)
- # clojurescript (30)
- # cursive (1)
- # datomic (3)
- # defnpodcast (1)
- # emacs (3)
- # figwheel-main (9)
- # fulcro (8)
- # jobs-discuss (3)
- # nrepl (7)
- # pathom (8)
- # pedestal (4)
- # perun (4)
- # planck (79)
- # shadow-cljs (46)
- # sql (5)
- # vim (29)
I've been using :ls and :b for switching buffers, but the overlap is causing issues for me. How are you switching buffers? Anything like an improved ls?
https://github.com/fholgado/minibufexpl.vim this might be what I'm after :)
If you set tab completion, I’m forgetting the setting now, you can :b foo<Tab> and it’ll cycle through the buffers starting with foo
And then if I’m using just two buffers back and forth, :b# goes to the previous buffer
Also, <ctrl>-o and <ctrl>-i move forwards and backwards through where your cursor has been, across buffers as well
The <C-D> completion is useful too. Unfortunately I have lots of files with the same name open, some of the time.
Bufferlist-vim (https://github.com/szw/vim-bufferlist) eventually took to ctrlspace (https://github.com/vim-ctrlspace/vim-ctrlspace) which might be something to consider.
it does a lot more than managing buffers -- you can use it to set up projects/workspaces, too though in practice, i've only been using it for its buffer switcher
after i have a couple of buffers open, i'll press space twice to pop open the list of open buffers, use j/k to select the one i want, and then enter to select it
if i know the name of the file i want to open, it's often faster for me to press ctrl-f to open an fzf split and fuzzy find my way to the file
I use https://github.com/mgee/lightline-bufferline to view my open buffers like tabs across the top (similar to a browser)
I've mapped shift-J and shift-K to go between the buffers (like the Vimium plugin for Firefox/chrome)
I find it extremely useful to always view the buffers I have open without having to use a key-comb to temporary view
@ingvij I'm using vim-fireplace but I'm always looking for something better. Still haven't found something else that can do all of these: • code completion • go to definition of symbol • go to namespace/file • connect to figwheel-main AND piggieback repls
Yup that's what I meant actually. Fireplace is the only plugin I've come across that can do all these things. The other ones (including iced) have nice features that fireplace doesn't have but without the ones I listed I just can't switch away...
@thiru0130 Thanks for the message. The newest version of acid
will allow you to select the middlewares you'd like before starting a nrepl
with tools.deps
. This means it should be simpler to start piggieback nrepl.
Also, even though most of it is lua based, it is compatible with deoplete so it provides asynchronous code completion.
Lastly, previous version was already providing code navigation, but I'm intending to improve it with the new version.
Nice! I noticed the "experimental" note is still there for Neovim, which is what I'm using. Is there anything in particular to look out for with Neovim?
Also, by Figwheel I specifically mean figwheel-main. Not sure it makes a difference but I noticed on your readme you have lein-figwheel only