proton

https://github.com/dvcrn/proton
dvcrn 2015-12-15T01:27:27.000281Z

it seems like vim mode plus has a lot more stuff than vim-mode. We can always swap it out later again :simple_smile:

dvcrn 2015-12-15T01:27:51.000282Z

Very happy to see all these contributions to proton. So many new things!

2015-12-15T03:35:45.000283Z

Ready for a bunch more PRs to review?!

2015-12-15T03:35:57.000284Z

I’ve got 2-3 new layers and a number of other tweaks sitting locally right now

2015-12-15T03:36:08.000285Z

Just need to find time to polish them up

dvcrn 2015-12-15T03:44:18.000286Z

tell me more 😛

dvcrn 2015-12-15T03:44:48.000287Z

We need to somehow get the space key on non-editor windows working. I think that might be one of the most important parts

2015-12-15T03:45:39.000288Z

can we not just add it as a atom-workspace keybinding?

dvcrn 2015-12-15T03:47:47.000289Z

that's what I'm trying right now

dvcrn 2015-12-15T03:49:00.000290Z

ok I have an idea

dvcrn 2015-12-15T03:55:22.000291Z

hm so when we bind body or atom-workspace, it would also catch keybindings in insert-mode, which we don't want

dvcrn 2015-12-15T03:55:28.000292Z

need to somehow exclude that

2015-12-15T03:56:53.000293Z

usually I see stuff like this:

2015-12-15T03:57:08.000294Z

'atom-text-editor.vim-mode:not(.insert-mode)’:

dvcrn 2015-12-15T03:57:22.000295Z

so: 1. change logic to append proton-mode class to body / workspace instead 2. make sure the proton:chain triggers correctly 3. make sure it doesn't trigger in text fields and insert mode

2015-12-15T03:57:29.000296Z

that should work, we just need to figure out what css names vim-plus exports

dvcrn 2015-12-15T03:57:29.000297Z

yeah something like this

dvcrn 2015-12-15T03:57:43.000298Z

it's the same, just with vim-plus-mode instead of vim-mode

2015-12-15T03:57:49.000299Z

nice

dvcrn 2015-12-15T03:57:49.000300Z

going to lunch really fast.

2015-12-15T03:57:52.000301Z

sounds good

2015-12-15T03:57:59.000302Z

I’ll probably be up for a while longer

2015-12-15T04:14:31.000303Z

So I really am not liking vim-mode-plus

2015-12-15T04:15:19.000304Z

It keeps looking like I’m in visual mode, but it doesn’t recognize it. So when I hit escape nothing happens. The only way I have been able to escape it is to reload the editor window

dvcrn 2015-12-15T05:41:24.000305Z

hmm

dvcrn 2015-12-15T05:41:29.000306Z

right I had the same problem

dvcrn 2015-12-15T05:41:39.000307Z

@sglyon: maybe we can give the option between vim mode and vmp?

2015-12-15T05:41:53.000308Z

What does vmp offer us?

dvcrn 2015-12-15T05:44:11.000309Z

it has a lot more features than vim mode. Stuff like - block selection (ctrl+v) - feedback on copy - instant search results when hitting / (vim mode wants you to hit enter first) - incremental search - smartcases

dvcrn 2015-12-15T05:44:19.000310Z

in general vmp seems to be far ahead and more compatible with normal vim

2015-12-15T05:44:28.000311Z

OK cool

2015-12-15T05:44:33.000312Z

Too bad it seems buggy

2015-12-15T05:44:34.000313Z

I’m excited about this, once it is ready: https://github.com/carlosdcastillo/vim-mode

dvcrn 2015-12-15T05:45:01.000315Z

yeah!

dvcrn 2015-12-15T05:45:03.000316Z

that would be amazing

dvcrn 2015-12-15T05:45:05.000317Z

neovim all the way

dvcrn 2015-12-15T05:45:28.000318Z

can you reproduce that selection bug somehow?

2015-12-15T05:45:39.000319Z

Not really, it comes up about every 15 minutes though...

2015-12-15T05:45:55.000320Z

I haven’t been paying enough attention to what I’m doing to figure out what triggers it

2015-12-15T05:46:01.000321Z

I think it has something to do with scrolling

dvcrn 2015-12-15T05:46:08.000322Z

the engineer is super fast in responding

2015-12-15T05:46:29.000323Z

K, I’ll try to pay better attention so we can file a proper issue for him

dvcrn 2015-12-15T05:46:48.000324Z

maybe a optional setting to enable basic vim mode would be nice

dvcrn 2015-12-15T05:47:09.000325Z

like vim-mode-provider: :neovim :vim-mode :vim-mode-plus

2015-12-15T05:47:29.000326Z

I’d like that for the time being. Would that make the other config vars you set harder to work with?

dvcrn 2015-12-15T05:48:37.000327Z

hmm not really. We can basically overwrite configs in the init-layer! function by now :simple_smile:

dvcrn 2015-12-15T05:48:47.000328Z

luckily we got that working

2015-12-15T05:48:50.000329Z

sweet

dvcrn 2015-12-15T05:51:21.000330Z

I'll focus on the space everywhere stuff first though. At least when I have some more time :simple_smile:

2015-12-15T05:51:40.000331Z

Yeah sounds good. I didn’t get around to the other PRs tonight, but maybe tomorrow I can find a few minutes to clean them up

2015-12-15T05:52:03.000332Z

I’m going to add rust, go, some more toggles, julia-mode keymaps, etc...

dvcrn 2015-12-15T05:52:16.000333Z

cool! 👍