summaryrefslogtreecommitdiffstats
path: root/emacs/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-29 01:07:08 +0200
committerGravatar Tom Willemse2013-05-29 01:07:08 +0200
commitce6fa3c876b2aeb7bd46a3e7fc7f1dd4e30db14c (patch)
tree7be094c622dae2a7800979ad7aba64f89e3b7aaf /emacs/init.org
parentd24bcb590add78387506f3279d2b9be2eedb264c (diff)
downloaddotfiles-ce6fa3c876b2aeb7bd46a3e7fc7f1dd4e30db14c.tar.gz
dotfiles-ce6fa3c876b2aeb7bd46a3e7fc7f1dd4e30db14c.zip
Remove skip equal chars
Caused more problems than it solved
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org15
1 files changed, 0 insertions, 15 deletions
diff --git a/emacs/init.org b/emacs/init.org
index e12b1fd..61af80b 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -1388,21 +1388,6 @@
'oni:move-beginning-of-dwim)
#+END_SRC
-* Skip equal characters
-
- When using, for example, =smartparens-mode= it can get confusing
- which characters get overwritten when. Usually I'll want to skip
- the character I type if it directly follows =point=.
-
- #+BEGIN_SRC emacs-lisp
- (defadvice self-insert-command (around oni:skip-if-equal activate)
- "Skip over a character if it immediately follows point."
- (if (and (eq (char-after) last-command-event)
- (not (memq last-command-event '(?\ ?\n))))
- (forward-char)
- ad-do-it))
- #+END_SRC
-
* All the rest
This still needs to be sorted out and documented, haven't had time