mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
only set textmate-based keyboard shortcuts when the textmate package is available
This commit is contained in:
@@ -15,8 +15,9 @@
|
||||
(global-set-key (kbd "s-<up>") 'beginning-of-buffer)
|
||||
(global-set-key (kbd "s-<down>") 'end-of-buffer)
|
||||
|
||||
(global-set-key (kbd "M-p") 'textmate-column-up)
|
||||
(global-set-key (kbd "M-n") 'textmate-column-down)
|
||||
(when (require 'textmate nil 'noerror)
|
||||
(global-set-key (kbd "M-p") 'textmate-column-up)
|
||||
(global-set-key (kbd "M-n") 'textmate-column-down))
|
||||
|
||||
;; Duplicate line (via helpers.el)
|
||||
(global-set-key (kbd "C-x C-d") 'duplicate-line)
|
||||
|
||||
Reference in New Issue
Block a user