From 7a9e28c80aac6586c915f0b52bf307f8b22212d1 Mon Sep 17 00:00:00 2001
From: "M.Liu" <liumiaogemini@foxmail.com>
Date: Sun, 21 Apr 2019 21:04:54 +0800
Subject: [PATCH] add init

---
 init.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/init.el b/init.el
index 650c9e2..65f25d3 100644
--- a/init.el
+++ b/init.el
@@ -293,9 +293,10 @@ If IS-MAYBE is t then maybe install these packages."
 ;; Projectile------------------------------------------------------------------------
 (use-package projectile
   :defer t
+  :init
+  (helm-projectile-on)
   :config
   (projectile-mode +1)
-  (helm-projectile-on)
   :diminish projectile-mode
   :bind (("C-c p f" . 'helm-projectile-find-file)
 	 ("C-c p h" . 'helm-projectile)
@@ -586,13 +587,16 @@ If IS-MAYBE is t then maybe install these packages."
   "SPC" #'helm-M-x
   "s s" 'helm-swoop-without-pre-input
   "s r" 'helm-swoop
-  "b b" 'helm-mini
   "h i" 'helm-semantic-or-imenu
   "h f" 'helm-flycheck
   "h d" 'helm-dash
   "h t" 'helm-gtags-find-tag-from-here
   "h T" 'helm-gtags-find-tag-other-window
   "h r" 'helm-gtags-find-rtag
+  ;; buffer
+  "b d" 'kill-current-buffer
+  "b k" 'kill-buffer
+  "b b" 'helm-mini
   ;; magit-----------------------------------
   "g s" 'magit-status
   "g d" 'magit-diff-range
-- 
GitLab