Skip to content

Commit

Permalink
Added key-chord stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Wainstead committed Feb 14, 2017
1 parent fb36281 commit 80accd0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions swainlib.el
Expand Up @@ -1120,3 +1120,13 @@ hi-lock-face-buffer to activate each in the current buffer."
;; it ain't bound to anything, so bind it and save my pinkies another
;; trip
(global-set-key [(control ?`)] 'next-error)


;; key-chord stuff
(require 'key-chord)
(key-chord-mode 1)
(key-chord-define-global "cl" 'sw-cli)
(key-chord-define-global "df" 'next-buffer)
(key-chord-define-global "j1" 'delete-other-windows)
(key-chord-define-global "ps" '(lambda () (interactive) (switch-to-buffer (get-buffer "psql"))))
(key-chord-define-global "./" 'undo)

0 comments on commit 80accd0

Please sign in to comment.