summaryrefslogtreecommitdiff
path: root/lisp/init-editing.el
AgeCommit message (Collapse)Author
2015-08-17Install easy-killKyle Meyer
2015-08-14Add binding for unfill-paragraphKyle Meyer
2015-07-05Uninstall whole-line-or-regionKyle Meyer
I haven't been using this.
2015-06-22Remove some ; bindings for semimapKyle Meyer
2015-06-11Fix narrow-indirect functions nameKyle Meyer
2015-05-29Revert "Go back to Paredit"Kyle Meyer
This reverts commit e53becab23aeae58b4d156f9d45428342c15a4b1.
2015-05-26Free up C-. in flyspell-mode-mapKyle Meyer
2015-05-21Go back to PareditKyle Meyer
This reverts commit ad8a9a3d94c3553d59e3d4ad2b99580d8d395c21 and e158f7f14b061eb731ea44ddac1f09f1008380de.
2015-05-19Turn on Electric Pair mode globallyKyle Meyer
2015-04-05Install ieditKyle Meyer
2015-03-30Add delete-trailing-whitespace to cleanup functionKyle Meyer
With 5f4f111cd, I replaced by old buffer cleanup functions with whitespace-mode. This resulted in similar behavior, but empty lines at the end of the buffer were no longer deleted. The 'empty' option for whitespace-style will do this, but it also deletes empty lines at the beginning of the buffer, which I don't want. Add delete-trailing-whitespace to km/cleanup-buffer so that trailing whitespace is removed.
2015-03-24Update toggle-line-or-region-commentKyle Meyer
These modifications are based off of Drew Adam's comment function [1]. The main change in behavior from my old function is that whole lines of the region are commented even when the beginning or end of the region is not at the beginning or end of the line. [1] http://permalink.gmane.org/gmane.emacs.devel/181816
2015-03-12Remove goto-line-with-feedbackKyle Meyer
Whenever I use goto-line, it's because I already have the line number, so I don't need the feedback. If I just wanted to jump to a visible line, I'd use ace-jump-mode.
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