mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
textmate-goto-file is faster than eproject-find-file as the former caches the file list, hence I've switched back to mainly using textmate-mode for quickly changing file, but still got eproject for other things
This commit is contained in:
@@ -40,14 +40,21 @@
|
||||
|
||||
;; eproject related keybindings
|
||||
(when (require 'eproject nil 'noerror)
|
||||
(global-set-key (kbd "C-c C-f") 'eproject-find-file)
|
||||
(global-set-key (kbd "C-x C-t") 'eproject-find-file))
|
||||
(global-set-key (kbd "C-c C-b") 'eproject-ibuffer)
|
||||
(global-set-key (kbd "C-x p b") 'eproject-ibuffer)
|
||||
(global-set-key (kbd "C-x p t") 'eproject-todo)
|
||||
(global-set-key (kbd "C-x p f") 'eproject-find-file)
|
||||
(global-set-key (kbd "C-x p k") 'eproject-kill-project-buffers)
|
||||
(global-set-key (kbd "C-x p o") 'eproject-open-all-project-files))
|
||||
|
||||
;; Textmate-mode related keybindings
|
||||
(when (require 'textmate nil 'noerror)
|
||||
(global-set-key (kbd "C-x C-t") 'textmate-goto-file)
|
||||
(global-set-key (kbd "C-c C-t") 'textmate-goto-symbol)
|
||||
(global-set-key (kbd "M-p") 'textmate-column-up)
|
||||
(global-set-key (kbd "M-n") 'textmate-column-down))
|
||||
|
||||
;; Flyspell correct previous word
|
||||
(when (require 'flyspell nil 'noerror)
|
||||
(global-set-key (kbd "s-.") 'flyspell-correct-word-before-point))
|
||||
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
(define-key ruby-mode-map
|
||||
(kbd "s-r") 'ruby-compilation-this-buffer)
|
||||
(define-key ruby-mode-map
|
||||
(kbd "C-x t") 'eproject-find-file)
|
||||
(kbd "C-x t") 'textmate-goto-file)
|
||||
(define-key ruby-mode-map
|
||||
(kbd "C-x C-t") 'eproject-find-file)
|
||||
(kbd "C-x C-t") 'textmate-goto-file)
|
||||
(define-key ruby-mode-map
|
||||
(kbd "C-c C-l") 'goto-line)
|
||||
(define-key ruby-mode-map
|
||||
|
||||
Reference in New Issue
Block a user