summaryrefslogtreecommitdiff
path: root/lisp/init-yas.el
AgeCommit message (Collapse)Author
2015-02-18Remove 'C-c &' prefix for yasnippetKyle Meyer
2015-02-02Turn off yas fallback behaviorKyle Meyer
It's not bound to a key with any other binding.
2015-02-02Rework key chordsKyle Meyer
- Use letter pairs that are rare in both directions. For really common commands, try to keep my fingers on home row. - Remove some key chords for less frequent commands. For Projectile, just bind switching projects and the commander because most other things are available with one more key from the commander. My strategy for key chord bindings was to lead with ',' or ';' and then follow with any letter. The idea was that, with the languages and coding conventions I was using at the time, when I inserted a comma or semicolon, they were usually followed by a non-letter (typically a space or a new line). But, this is actually not a good way to go about this because Key chord mode accepts the two-letter combination in either order. In practice, I didn't end up unintentionally calling a command too often, but it did happen enough to be slightly annoying. John Cook recently posted a table [1] of bigram frequencies, which is a good starting point for updating my key chords. [1]: http://www.johndcook.com/blog/2015/02/01/rare-bigrams/
2015-02-02Reposition mode callsKyle Meyer
2015-01-27Improve organization and consistency of filesKyle Meyer
- Add pages and more headings for large files. - Try to use consistent order for file (or page) structure. * Loading * Settings * Hooks * Any mode activation or function calls * My functions * Key bindings
2014-11-30Use Cask and Pallet to manage packagesKyle Meyer
2014-04-23Switch yas trigger key and use globallyKyle Meyer
At some point, I was having issues with yas and Org mode conflicts, so I only enabled yas in LaTeX and programming mode buffers. I'm enabling it globally again and moving the expand trigger to a key chord.
2014-03-09Use diminish to shorten mode lineKyle Meyer
2014-02-12Remove unnecessary lambdas from yas hooksKyle Meyer
2014-02-12Fix `yas-reload-all' callKyle Meyer
This was not getting ran because "yasnippet", not "yas", should be passed to `eval-after-load'. But using `eval-after-load' here is pointless because `prog-mode-hook' will be called during initialization anwyway.
2014-01-26Reorganize and use require-packageKyle Meyer
`require-package' is from https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el.
2014-01-26Follow Purcell's emacs.d structureKyle Meyer
User init files are added using provide/require. https://github.com/purcell/emacs.d