Fork me on GitHub
#vim
<
2018-11-26
>
dave12:11:35

this might be a niche thing, but if anyone is like me and wants some of the basic features of vim-salve without the several seconds+ vim startup times due to classpath detection, i created a fork that provides that: https://github.com/daveyarwood/vim-diet-salve for a bit of context: https://github.com/tpope/vim-salve/issues/18

dave12:11:44

tl;dr: it's vim-salve, but with the classpath detection and projectionist features removed

dominicm19:11:09

Sounds useful

dave19:11:21

@dominicm i have! i was using it for a while, but then at some point, for some reason, the REPL buffers started not appearing

dominicm19:11:04

@dave do you have dispatch installed & vim-dispatch-neovim? I use this every day!

dave19:11:36

and i know that at least vim-dispatch is working, because vim-salve uses it

dominicm19:11:57

Yeah, that's why I'm confused...

dave19:11:56

it's the weirdest thing

dominicm19:11:16

I got nothing, no idea how it could fail

dominicm19:11:35

That looks right to me, but I get a tab opened

dave19:11:58

when i press enter, nothing happens

dominicm19:11:15

Yeah, thats normal too. Tab should already be open

dave19:11:23

heh... actually, i think the buffer must be there, somewhere

dave19:11:29

because i'm able to cpp

dave19:11:55

maybe it's actually opening in the background, and i'm losing it

dominicm19:11:56

Oh, I start it in the background by default, so that it doesn't bother you.

dave19:11:31

aha! i found it! 🙂

dave19:11:10

i use ctrl-space.vim to manage my buffers, so i'm thinking the issue is that i'm just not seeing it in that list, whereas i did before

dave19:11:00

if i tinker with :bn and :bp, i can see that it's there

dominicm19:11:35

It should open in a tab, unless that's something specific to my setup

dominicm19:11:47

Or Ctrl-space interrupts

dominicm19:11:25

> :Start and :Start! uses vim tabs and the built-in terminal emulator. Hmm

dominicm20:11:23

For anyone else curious, https://github.com/vim-ctrlspace/vim-ctrlspace Looks neat, I don't know how I missed it

markx15:11:19

Just curious, but how’s this comparing to ctrlp or fzf?

dominicm15:11:20

Wasn't me using it, but I would love to know @dave

dave15:11:39

@U2DUDHWQY ctrl-space is more about managing sets of open buffers, switching workspaces (project contexts), etc.

dave15:11:47

i actually use both fzf and ctrl-space

dave15:11:38

i use fzf when i want to find and open some file in the current directory, ctrl-space when i want to see what files i have open and switch to one

dave15:11:10

i used to use the workspaces feature more, but these days i tend to just have one tmux session per project that i'm working on, and i switch back and forth via tmux

markx15:11:54

@dave Do you use ctrlp then? It covers both files and buffers.

dave15:11:26

i haven't tried ctrlp. i doubt it could replace fzf, which i'm a huge fan of

markx15:11:03

well it doesn’t replace fzf. It was the first one in the market.

markx16:11:09

I’m asking because I have been using ctrlp since a long time ago, and then with all the new tools, I’m wondering if I should migrate to something new.

dave16:11:45

i just mean that i wouldn't switch out of dissatisfaction with fzf 🙂

dave16:11:34

fzf is super awesome. it reportedly is faster, although i can't back that up

dominicm20:11:42

@dave If you feel brave enough turn off tabline: set showtabline=0 Tabline in Vim has very limited capabilities and as Vim-CtrlSpace makes use of tabs intensively, tabline would just get in your way. Tab List (<l>) makes tabline obsolete ;).

dominicm20:11:10

From ctrlspace readme, do you do this?

dave20:11:52

i kind of enjoy not being distracted by all the tabs

dave20:11:15

i think i under-use ctrl-space, for all the features it provides

dave20:11:17

workspaces, etc.

dave20:11:38

i basically just use it as a quick way to pop open a list of buffers i have open, and switch to a different buffer

dominicm20:11:35

That explains why you don't see the repl

dominicm20:11:00

It opens a tab, try gt, I guess it still works