santip / resize-panes

Atom Package for resizing panes
https://atom.io/packages/resize-panes
MIT License
15 stars 8 forks source link

needed to escape the `-` character in key binding? #4

Open laurelnaiad opened 10 years ago

laurelnaiad commented 10 years ago

Thanks for making these utilities! I was seriously contemplating going back to Sublime over the loss of Origami! Problem solved.

FWIW, it may be just me, but on my Macbook Pro it seems I needed to remap as follows (note the backslash) to get proper shrinkage by escaping the dash character:

'.workspace .editor:not(.mini)':
  'alt-cmd-\-': 'resize-panes:shrink-active-pane'
santip commented 10 years ago

You're welcome! I actually implemented these to resist going back to Sublime

That's interesting, I did not need the escaping for it to work. I'll update the default in case it is affecting other users. Thanks for reporting!

tristanbettany commented 10 years ago

I had a look at this as I thought I might be having the same issue. From what I can see the keymap for shrinking the pane only works when your focused on an editable pane with a file open. If you are in the settings pane or using the term plugin in one of the panes then shrinking doesnt seem to work although growing the pane works fine. I tried escaping the dash in my keymaps and it didn't change things.

Thanks for a great plugin, stopped me going back to sublime :)

kreeger commented 10 years ago

Seconding @tristanbettany here — wish it would work with Settings or something like Term2. Thanks for making this plugin!

kyriacos commented 9 years ago

@laurelnaiad thanks for posting the fix. Had the same problem :)