Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove some ill-advised bindings.

  • Loading branch information...
commit 6cefb65cb6fceebcb5e2024f6e44f186e41f6892 1 parent 1a6e4d1
@technomancy authored
Showing with 3 additions and 14 deletions.
  1. +3 −14 starter-kit-bindings.el
View
17 starter-kit-bindings.el
@@ -44,9 +44,6 @@
(global-set-key (kbd "C-x O") (lambda () (interactive) (other-window -1))) ;; back one
(global-set-key (kbd "C-x C-o") (lambda () (interactive) (other-window 2))) ;; forward two
-;; Indentation help
-(global-set-key (kbd "C-x ^") 'join-line)

Why is this an "ill-advisted" key-binding? Just curious, because I use this key binding a lot and I had to add it back in.

@technomancy Owner

When I added this I didn't realize that M-S-6 is also bound to join-line. I might add in my own binding since that's really awkward to hit on some keyboards, but C-x ^ isn't any better.

Ah OK. True:) C-c S-J would work since that's a VIM keybinding and might come natural if you've ever tried VIM. (ESC-Shift-j)

But cool, makes sense why would do that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
-
;; Start eshell or switch to it if it's active.
(global-set-key (kbd "C-x m") 'eshell)
@@ -56,7 +53,7 @@
;; Start a regular shell if you prefer that.
(global-set-key (kbd "C-x M-m") 'shell)
-;; If you want to be able to M-x without meta
+;; If you want to be able to M-x without meta (phones, etc)
(global-set-key (kbd "C-x C-m") 'execute-extended-command)
;; Fetch the contents at a URL, display it raw.
@@ -71,15 +68,7 @@
;; For debugging Emacs modes
(global-set-key (kbd "C-c p") 'message-point)
-;; Applications
-
-(global-set-key (kbd "C-c j") (lambda () (interactive) (switch-or-start 'jabber-connect "*-jabber-*")))
-(global-set-key (kbd "C-c g") (lambda () (interactive) (switch-or-start 'gnus "*Group*")))
-(global-set-key (kbd "C-c i") (lambda () (interactive) (switch-or-start (lambda ()
- (rcirc-connect "irc.freenode.net"))
- "*irc.freenode.net*")))
-(global-set-key (kbd "C-c J") 'jabber-send-presence)
-(global-set-key (kbd "C-c M-j") 'jabber-disconnect)
+;; So good!
(global-set-key (kbd "C-x g") 'magit-status)
;; This is a little hacky since VC doesn't support git add internally
@@ -101,4 +90,4 @@
(define-key global-map "\C-ca" 'org-agenda)
(provide 'starter-kit-bindings)
-;;; starter-kit-bindings.el ends here
+;;; starter-kit-bindings.el ends here
@mahmoudimus

Why is this an "ill-advisted" key-binding? Just curious, because I use this key binding a lot and I had to add it back in.

@technomancy

When I added this I didn't realize that M-S-6 is also bound to join-line. I might add in my own binding since that's really awkward to hit on some keyboards, but C-x ^ isn't any better.

@mahmoudimus

Ah OK. True:) C-c S-J would work since that's a VIM keybinding and might come natural if you've ever tried VIM. (ESC-Shift-j)

But cool, makes sense why would do that :)

Please sign in to comment.
Something went wrong with that request. Please try again.