[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 76/117: Add toggle component
From: |
Matthew Fidler |
Subject: |
[elpa] 76/117: Add toggle component |
Date: |
Fri, 25 Jul 2014 13:24:23 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 17ff218af457c54fab4b140951508f9c40f768cf
Author: Matthew L. Fidler <address@hidden>
Date: Sat Jul 19 17:14:30 2014 -0500
Add toggle component
---
ergoemacs-themes.el | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 752db14..f40126d 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -865,6 +865,18 @@
(global-set-key (kbd "<apps> z") 'undo)
(global-set-key (kbd "<apps> r") goto-map))
+(ergoemacs-theme-component apps-toggle ()
+ "Toggle States and applications"
+ :first-is-variable-reg "<\\(apps\\|menu\\)> i"
+ (global-set-key [apps i c] 'column-number-mode)
+ (global-set-key [apps i d] 'toggle-debug-on-error)
+ (global-set-key [apps i e] 'toggle-debug-on-error)
+ (global-set-key [apps i f] 'auto-fill-mode)
+ (global-set-key [apps i l] 'toggle-truncate-lines)
+ (global-set-key [apps i q] 'toggle-debug-on-quit)
+ (global-set-key [apps i r] 'read-only-mode)
+ (global-set-key [apps i t] 'endless/toggle-theme))
+
(ergoemacs-theme-component apps-apps ()
"Applications"
:first-is-variable-reg "<\\(apps\\|menu\\)> n"
@@ -1137,6 +1149,7 @@
standard-vars)
:optional-on '(apps-punctuation
apps-apps
+ apps-toggle
apps
backspace-del-seq
backspace-is-back
@@ -1152,7 +1165,7 @@
save-options-on-exit)
:optional-off '(guru no-backspace search-reg
ergoemacs-banish-shift)
- :options-menu '(("Menu/Apps Key" (apps apps-apps apps-punctuation))
+ :options-menu '(("Menu/Apps Key" (apps apps-apps apps-punctuation
apps-toggle))
("Function Keys" (fn-keys f2-edit))
("Remaps" (ido-remaps helm-remaps multiple-cursors-remaps))
("Extreme ErgoEmacs" (guru no-backspace
ergoemacs-banish-shift))
@@ -1182,6 +1195,7 @@
ergoemacs-remaps
standard-vars)
:optional-on '(apps-punctuation
+ apps-toggle
apps-apps
apps
backspace-del-seq
@@ -1198,7 +1212,7 @@
save-options-on-exit)
:optional-off '(guru no-backspace search-reg
ergoemacs-banish-shift move-and-transpose-lines)
- :options-menu '(("Menu/Apps Key" (apps apps-apps apps-punctuation))
+ :options-menu '(("Menu/Apps Key" (apps apps-apps apps-punctuation
apps-toggle))
("Function Keys" (fn-keys f2-edit))
("Remaps" (ido-remaps helm-remaps multiple-cursors-remaps))
("Extreme ErgoEmacs" (guru no-backspace
ergoemacs-banish-shift))
- [elpa] 64/117: Add run-hook property, (continued)
- [elpa] 64/117: Add run-hook property, Matthew Fidler, 2014/07/25
- [elpa] 66/117: Allow keymaps to be copied before modifying them, Matthew Fidler, 2014/07/25
- [elpa] 69/117: Fix Issue #279, Matthew Fidler, 2014/07/25
- [elpa] 70/117: Fix unbound keys test, Matthew Fidler, 2014/07/25
- [elpa] 72/117: Add back emacs 23, Matthew Fidler, 2014/07/25
- [elpa] 71/117: Use flat keymaps (start supporting emacs 23?), Matthew Fidler, 2014/07/25
- [elpa] 73/117: Try to make compatible with emacs 23, Matthew Fidler, 2014/07/25
- [elpa] 74/117: Remove debugging for iswitch-buffer, Matthew Fidler, 2014/07/25
- [elpa] 65/117: Allow hooks to be run before modifying keymaps, Matthew Fidler, 2014/07/25
- [elpa] 75/117: Declare some of the package functions to compile cleanly on Emacs 23, Matthew Fidler, 2014/07/25
- [elpa] 76/117: Add toggle component,
Matthew Fidler <=
- [elpa] 78/117: Fix visual line support, Matthew Fidler, 2014/07/25
- [elpa] 77/117: Take out the toggling of the themes, Matthew Fidler, 2014/07/25
- [elpa] 68/117: Use remaps more, Matthew Fidler, 2014/07/25
- [elpa] 81/117: Fix apps-toggle. Apparently the other method was mispecified, Matthew Fidler, 2014/07/25
- [elpa] 79/117: Allow repeated visual beginning/end of line, Matthew Fidler, 2014/07/25
- [elpa] 80/117: Dont flatten keymaps, Matthew Fidler, 2014/07/25
- [elpa] 82/117: Remove ergoemacs-mode from custom set vars, Matthew Fidler, 2014/07/25
- [elpa] 86/117: Clear local ergoemacs-mode read-key captures, Matthew Fidler, 2014/07/25
- [elpa] 85/117: Fix cut and copy issues, Matthew Fidler, 2014/07/25
- [elpa] 83/117: Handle menu-bar when flattening keymaps., Matthew Fidler, 2014/07/25