Home Download Buy Blog Forum Support

Inc-Dec-Value (ST2 and ST3)

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Mon Nov 28, 2011 10:59 am

A really great plugin, thanks for sharing.

There is only one issue:
There is no "super" key in Windows, so the included keymaps doesn't work (or I don't know how to trigger it).

FWYK, the only free keymaps with the up/down arrows is shift+alt+(up/down)
bizoo
 
Posts: 881
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Mon Nov 28, 2011 11:16 am

bizoo wrote:A really great plugin, thanks for sharing.

Thanks! )

bizoo wrote:There is no "super" key in Windows, so the included keymaps doesn't work (or I don't know how to trigger it).

in Linux super = win, may be and in Windows?
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Mon Nov 28, 2011 11:40 am

rmaksim wrote:
bizoo wrote:There is no "super" key in Windows, so the included keymaps doesn't work (or I don't know how to trigger it).

in Linux super = win, may be and in Windows?

You're right! Never realized that.
Unfortunately win+(up/down) is already used by Windows 7, so it doesn't work for ST2.

May I ask you to replace the super+(up/down) keymaps by ctrl+super+(up/down) (or something else) in Windows keymaps file?
Thanks.
bizoo
 
Posts: 881
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Mon Nov 28, 2011 12:19 pm

Unfortunately win+(up/down) is already used by Windows 7, so it doesn't work for ST2.

May I ask you to replace the super+(up/down) keymaps by ctrl+super+(up/down) (or something else) in Windows keymaps file?
Thanks.

in windows used by default with ctrl+alt
Code: Select all
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },

also in windows and linux
Code: Select all
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } },


I did so, that would be adjacent keys, and did not have to memorize other combinations
alt, win, alt+win

May be other suggestions?
for example:
Code: Select all
alt+left/right, super+left/right, super+alt+left/right
- if you're not using them
or
Code: Select all
alt+pageup/pagedown, super+pageup/pagedown, super+alt+pageup/pagedown
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby natebeaty on Mon Nov 28, 2011 6:29 pm

Just wanted to say: I love this plugin. Great idea and well executed.

I did change my keymapping on OS X to:

Code: Select all
[
    { "keys": ["alt+up"],         "command": "inc_dec_value", "args": { "action": "inc_min" } },
    { "keys": ["alt+down"],       "command": "inc_dec_value", "args": { "action": "dec_min" } },

    { "keys": ["super+alt+up"],       "command": "inc_dec_value", "args": { "action": "inc_max" } },
    { "keys": ["super+alt+down"],     "command": "inc_dec_value", "args": { "action": "dec_max" } },

    { "keys": ["super+alt+ctrl+up"],   "command": "inc_dec_value", "args": { "action": "inc_all" } },
    { "keys": ["super+alt+ctrl+down"], "command": "inc_dec_value", "args": { "action": "dec_all" } }
]


..as i very often use cmd-up/down as Home/End when editing code.
natebeaty
 
Posts: 121
Joined: Wed Apr 06, 2011 8:28 pm
Location: Chicago, IL

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Tue Nov 29, 2011 6:58 am

natebeaty wrote:Just wanted to say: I love this plugin. Great idea and well executed.

I did change my keymapping on OS X to:

Code: Select all
[
    { "keys": ["alt+up"],         "command": "inc_dec_value", "args": { "action": "inc_min" } },
    { "keys": ["alt+down"],       "command": "inc_dec_value", "args": { "action": "dec_min" } },

    { "keys": ["super+alt+up"],       "command": "inc_dec_value", "args": { "action": "inc_max" } },
    { "keys": ["super+alt+down"],     "command": "inc_dec_value", "args": { "action": "dec_max" } },

    { "keys": ["super+alt+ctrl+up"],   "command": "inc_dec_value", "args": { "action": "inc_all" } },
    { "keys": ["super+alt+ctrl+down"], "command": "inc_dec_value", "args": { "action": "dec_all" } }
]

..as i very often use cmd-up/down as Home/End when editing code.

These keymaps works fine for Windows 7 too.
And I find them good and logic, more key you press, bigger the increments.
bizoo
 
Posts: 881
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Tue Nov 29, 2011 10:20 am

bizoo wrote:These keymaps works fine for Windows 7 too.
And I find them good and logic, more key you press, bigger the increments.

I am very glad that you have found the use of this package.
Everyone has their own preferences, and given this wonderful opportunity to change the settings.

Thank you for your understanding.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Tue Nov 29, 2011 11:22 am

:?:
Sorry but maybe my bad English play tricks on me, do you mean that you don't want to change the keymaps for Windows ?
Or you don't like the propositions ?

Code: Select all
    { "keys": ["super+up"], "command": "inc_dec_value", "args": { "action": "inc_max" } },
    { "keys": ["super+down"], "command": "inc_dec_value", "args": { "action": "dec_max" } },

These keymaps are impossible to trigger in a Windows 7, so don't you think they must be replaced by something else ?

Well, I put my keymaps in my user file so it doesn't really matter for me, I only think it's better for new users.
bizoo
 
Posts: 881
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Tue Nov 29, 2011 6:51 pm

bizoo wrote:... they must be replaced by something else ?.

I suggest the following key combination for Windows:

alt+up/down => inc_min/dec_min
super+alt+up/down => inc_max/dec_max

super+ctrl+up/down => inc_all/dec_all

Try it, whether it is convenient to use that key combination?
My idea was to "min" and "max" were as close as possible to each other, "all" as a complement to them.

Or do you suggest as suggested by natebeaty? I'm sorry, but I got confused in the proposals :roll:
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Wed Nov 30, 2011 8:12 am

rmaksim wrote:
bizoo wrote:... they must be replaced by something else ?.

I suggest the following key combination for Windows:

alt+up/down => inc_min/dec_min
super+alt+up/down => inc_max/dec_max

super+ctrl+up/down => inc_all/dec_all

Try it, whether it is convenient to use that key combination?
My idea was to "min" and "max" were as close as possible to each other, "all" as a complement to them.

Or do you suggest as suggested by natebeaty? I'm sorry, but I got confused in the proposals :roll:

These keymaps work fine for Windows 7 and are as good as others.
My personal preference go to natebeaty proposition cos all his keymaps share the same 'base' (alt+up/down) and you add one or two more key to increase the increment, find it easy to remember and easy to use.

But anyway the only important thing is to have functional keymaps in all OS. People could change them easy to what they want.
Thanks again for your works.
bizoo
 
Posts: 881
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 9 guests