dvcrn / proton

space-atom. spacemacs and sublimious style editing in atom
GNU General Public License v3.0
565 stars 55 forks source link

preview keybinding does not work on first use #212

Open paultopia opened 8 years ago

paultopia commented 8 years ago

This is something that should probably be in the docs if it's unavoidable behavior. When you first install the markdown layer, the space-... keybinding does not work to operate preview---no spc-m-p.xxx keybindings appear to operate at all. However, after toggling markdown preview for the first time from the standard atom C-shift-p keybindings, the proton keybinding kicks in and starts operating.

(incidentally, are there separate issue pools for the various layers?)

dvcrn commented 8 years ago

I tested with my local proton installation and wasn't able to reproduce this. All space-m / , keybindings in markdown mode seem to work without toggling anything beforehand for me.

Were you able to replicate this problem more than once?

paultopia commented 8 years ago

Yeah, I can replicate it after creating a new markdown file.

Steps:

  1. close open buffers
  2. start and save a new file as something.md
  3. SPC m ... watch nothing show up. And third keystroke does nothing.
screenshot 2016-07-06 22 23 38 screenshot 2016-07-06 22 23 42
dvcrn commented 8 years ago

All right it looks like the mode is not getting activated correctly when creating a new file. Can you confirm that if you close the file and open it again, the menu under m appears correctly?

paultopia commented 8 years ago

Indeed it does. The issue appears solely on creating a new file. (Sorry for the delayed reply!)