sublime-emacs/sublemacspro

Add argument for backward delete of S-Expression instead of just forward delete

excetara2 opened this issue · 4 comments

I haven't looked at the s-expression code at all but this should be really easy to implement I would guess.

Nevermind, just requires a change of direction in the binding. This should probably be noted in the readme that backward s-expression can be added with changing the direction. Probably best to add as a commented out line in the keybindings file.

There are issues with the s-expression code, where many situations, the parentheses are not matched properly.

I need to figure out if there is a way to require that another package is loaded. I really like the bracket matcher package and I use that a lot … but I haven’t baked it into the emacs emulation code … but if I did, things would be a lot better…

Maybe a setting that indicates that you have installed it or something ...

Yes, I agree with you as the brackethighlighter package is the one I use for bracket matching and much better than S-Expression or the built-in bracket matching.

Yes, I know there are certain programs like Distraction Free Window Mode that checks if Max Pane is installed and if so you can optionally enable it to work with it. I think that is a good option but should be set to false and if set to true, then it will check if it is installed before incorporating it.

We now use BracketHighlighter if it's installed.