summaryrefslogtreecommitdiff
path: root/lisp/init-editing.el
AgeCommit message (Collapse)Author
2015-02-28Add Oleh Krehel's variant of occurKyle Meyer
2015-02-28Tweak make-kill-thing-at-pointKyle Meyer
2015-02-18Move flyspell binding from C-;Kyle Meyer
I use this for er/expand-region.
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-02Install whole-line-or-regionKyle Meyer
2015-02-02Reposition mode callsKyle Meyer
2015-01-27Rewrite kill-thing-at-point macroKyle 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
2015-01-22Use whitespace-mode as cleanup indicatorKyle Meyer
- Activate global whitespace-mode. When not allowing the buffer to be cleaned up, use more annoying whitespace indicators. - Use whitespace-cleanup as cleanup function. Except for trailing whitespace, this should cover what km/cleanup-buffer was doing and more.
2015-01-07Fix some docstringsKyle Meyer
2014-12-16Add command reduce-to-single-spacesKyle Meyer
2014-12-14Add command fill-surrounding-indentedKyle Meyer
2014-12-07Don't set coding system in cleanup-bufferKyle Meyer
2014-12-07Check indent-tabs-mode in cleanup-buffer functionKyle Meyer
2014-11-30Use Cask and Pallet to manage packagesKyle Meyer
2014-11-11Delete duplicate cleanup-buffer codeKyle Meyer
Accidentally made two copies of code in ad80f4b4896b13d23b488146af4e4df6354191a7.
2014-11-08Move cleanup-buffer codeKyle Meyer
2014-11-08Bind toggle-prevent-cleanup in editing-mapKyle Meyer
2014-11-08Rewrite toggle-prevent-cleanupKyle Meyer
2014-11-02Move replace commands to search-mapKyle Meyer
2014-10-29Add prefix to unfill-paragraphKyle Meyer
2014-10-22Turn off electric-indent modeKyle Meyer
This is enabled by default in Emacs 24.4.
2014-10-22Show line number when calling goto-lineKyle Meyer
2014-08-28Use prefix in name of all custom mapsKyle Meyer
2014-06-13Install narrow-indirectKyle Meyer
Needed to install 'subr+ to avoid void variable `filter-buffer-subtring-function'.
2014-05-28Add km/narrow-to-comment-headingKyle Meyer
2014-05-12Move ace settings to separate fileKyle Meyer
2014-05-12Move view-mode settings to separate fileKyle Meyer
2014-05-11Automatically enter view-mode for read-only filesKyle Meyer
2014-04-17Limit ace-jump scope to current frameKyle Meyer
If this is set to global, frames in other desktops (even invisible ones) are used to generate the jump choices.
2014-04-09Install and setup ace-linkKyle Meyer
Removing ido-vertical because if it is active, some links in the lower portion of the window are cutoff.
2014-03-25Merge insert and multiple-cursors mapsKyle Meyer
There was only one binding left in insert map, so it didn't make much sense to keep around.
2014-03-25Remove a few functions the are covered by snippetsKyle Meyer
2014-03-21Tweak `hippie-expand-try-functions-list'Kyle Meyer
Removed line and list completion functions, which are almost never what I intend to complete. This should also take care of the clash with paredit mode (since these multi-word expansions shouldn't occur anymore), so I'm deleting `he-paredit-fix'.
2014-03-21Simplify km/join-next-line-with-spaceKyle Meyer
2014-03-21Use macro to define kill-thing-at-point functionsKyle Meyer
2014-03-09Use diminish to shorten mode lineKyle Meyer
2014-02-11Move multiple cursors keymap outside of insert mapKyle Meyer
2014-02-11Add mc/edit-{beginnings,ends}-of-lines bindingsKyle Meyer
2014-02-01Move some settings from general to editingKyle Meyer
2014-01-31Remove M-z unsetKyle Meyer
Originally 'M-z' was unset because I moved `zap-to-char' to 'C-z', but 'M-z' is now bound to autoloaded `zap-up-to-char'.
2014-01-26Reorganize and use require-packageKyle Meyer
`require-package' is from https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el.