Sublime Forum

Zen Coding: Conflicting shortcuts

#1

Hello folks

I am not sure whether I am raising this issue in the correct spot. I have not found any kind of developer site for Zen Coding plugin in Sublime Text 2.

The issue is, that the Zen Coding Plugin does have some keyboard shortcuts in Windows, that are conflicting with the standard Sublime shortcuts. Namely:

Ctrl+Shift+a
Ctrl+Shift+j
Ctrl+Shift+n
Ctrl+Shift+t
Ctrl+Shift+u

I donā€™t know if this is everything. I have only checked shortcuts with Ctrl+Shift+LETTER, since I had problems with Ctrl+Shift+n in HTML files.

Cheerio

0 Likes

#2

To change these, do:

  1. Open command pallette, do ā€˜list packagesā€™
  2. Select ā€˜zen codingā€™, and it opens the folder for the package
  3. Edit the config files and fix the keys.
0 Likes

#3

[quote=ā€œimpeachedā€]To change these, do:

  1. Open command pallette, do ā€˜list packagesā€™
  2. Select ā€˜zen codingā€™, and it opens the folder for the package
  3. Edit the config files and fix the keys.[/quote]

I you do that, next ZenCoding update will erase all you modifications.
Youā€™d better **moving **the config files you want to edit to your user folder and edit them here.
Next ZenCoding update you only have to compare the new config files to add new keybindings and erase them again.

0 Likes

#4

Hey guys, thanks for your info. What I actually wanted is raise the issue to whoever is developing ZenCoding, so they can change their shortcuts.
Cheers

0 Likes

#5

It you want an attention, please write to Zen Coding github issues page: github.com/sergeche/zen-coding/issues
The developer has asked to write about every problem in ST2 to produce next version of the plugin officially (now itā€™s unofficial).

0 Likes

#6

Serge is quite a bit away from that. The port to python needs doing first etc.

List some alternatives and Iā€™ll roll them in.

Some of the bindings were in Zen before they were Sublime defaults as the plugin dates back to ST1 originally.

0 Likes

#7

hi castle^^^
can u pls help me with this issue?
theese 2 thread shares the same solution maybe
https://forum.sublimetext.com/t/override-plugin-keybindings/6284/1

0 Likes

#8

Hrmm ā€¦ I thought I replied to this ? Iā€™m losing whatā€™s left of mind ā€¦

@Fed

Did you have any luck with using sublime.log_input and sublime.log_commands ?

0 Likes

#9

[quote=ā€œcastles_made_of_sandā€]Hrmm ā€¦ I thought I replied to this ? Iā€™m losing whatā€™s left of mind ā€¦
[/quote]

time ago maybe, infact the only solution is to change the evaluate math keybind on the default.sublime-keymap
but this means that every update iā€™ve to rechange itā€¦iā€™m looking to a way to override the default keybinding in the user one

[quote=ā€œcastles_made_of_sandā€]
@Fed

Did you have any luck with using sublime.log_input and sublime.log_commands ?[/quote]

no, it doesnā€™t care about user keybind for it

0 Likes

#10

Iā€™m in the middle of migrating my computer to a new SSD drive ā€¦ PITA

When Iā€™m done Iā€™ll add some settings on the default bindings that youā€™d like to have disabled ā€¦

It should then just a be a matter of adding a setting to your User/Preferences.sublime-settings or User/zen-coding.sublime-settings or whatever turns out more appropriate ā€¦

0 Likes

#11

[quote=ā€œcastles_made_of_sandā€]Iā€™m in the middle of migrating my computer to a new SSD drive ā€¦ PITA

When Iā€™m done Iā€™ll add some settings on the default bindings that youā€™d like to have disabled ā€¦

It should then just a be a matter of adding a setting to your User/Preferences.sublime-settings or User/zen-coding.sublime-settings or whatever turns out more appropriate ā€¦[/quote]

and i wonā€™t stop to thank you^
let me know when utā€™s available iā€™ll do some test^

P.S. SSD powah!!

0 Likes

#12

Indeed! Feels like it boots up at least 10 times faster :smile: I had a shitty old 5400rpm drive

Could you list out all the problem bindings here?

This has something to do conflicts with alt_gr input yeah?

Whatā€™s the pattern I need to look out for?

0 Likes

#13

@Fed03

Slap "alt_gr" : true in your User/Preferences.sublime-settings

I slapped a bindings context on the evaluate math expression binding so it will only run if alt_gr is undefined or false.

Lemme know if there is some other bindings youā€™d like this on

@Everybody

Regarding conflicting shortcuts, lemme know some suitable replacements eh?

0 Likes

#14

New home for ZenCoding at Github:

github.com/sublimator/ZenCoding

0 Likes

#15

[quote=ā€œcastles_made_of_sandā€]@Fed03

Slap "alt_gr" : true in your User/Preferences.sublime-settings

I slapped a bindings context on the evaluate math expression binding so it will only run if alt_gr is undefined or false.

Lemme know if there is some other bindings youā€™d like this on

@Everybody

Regarding conflicting shortcuts, lemme know some suitable replacements eh?[/quote]

yeah it works ty for all castleā€¦hope that u receive more help now that zc itā€™s on github
sadly i cannot help :blush:

0 Likes

#16

@Fed03

You could help write a section in Italian for alt_gr keybindings :smile:

github.com/sublimator/ZenCoding ā€¦ /README.md

etc

0 Likes