emacs - projectile keybindings
authorPeng Li <seudut@gmail.com>
Mon, 18 Jan 2016 11:56:03 +0000 (19:56 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 19 Jan 2016 03:48:23 +0000 (11:48 +0800)
emacs.d/elisp/init-helm.el
emacs.d/elisp/init-projectile.el

index ae39613..59511f9 100644 (file)
@@ -16,7 +16,8 @@
   :config
   (helm-mode 1)
   (helm-autoresize-mode 1)
-  :bind (("M-x" . helm-M-x)))
+  :bind (("M-x" . helm-M-x)
+        ("s-j" . helm-mini)))
 
 
 
index 3d6f994..dff7c4d 100644 (file)
@@ -1,6 +1,7 @@
 
 
 ;; http://batsov.com/projectile/
+;; Todo add svn repo support
 
 (use-package projectile
   :ensure t
@@ -17,7 +18,9 @@
   :init
   (setq helm-projectile-fuzzy-match nil)
   :config
-  (helm-projectile-on))
+  (helm-projectile-on)
+  :bind (("s-f" . helm-projectile-find-file)
+        ("s-b" . helm-projectile-switch-to-buffer)))
 
 (use-package perspective
   :ensure t
 
 (use-package persp-projectile
   :ensure t
-  :defer t)
-
-
-;; (define-key projectile-mode-map (kbd "s-s") 'projectile-persp-switch-project)
+  :config
+  (define-key projectile-mode-map (kbd "s-p") 'projectile-persp-switch-project))
 
 
 (provide 'init-projectile)