summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-03-22 14:51:06 -0700
committerbenj <benj@rse8.com>2018-03-22 14:51:06 -0700
commit7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477 (patch)
treea760212226542c1ed3d0e4ad3378c15c8237d7e0
parent41afc71adf0e7ec898f0371c8eb6cd9e9263cadb (diff)
downloademacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar.gz
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar.bz2
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar.lz
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar.xz
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.tar.zst
emacs-7f251c37e8f99fbc8f55e39fe6cfae27f6f3d477.zip
added projectile mode to the base config
-rw-r--r--init.el4
-rw-r--r--settings/setup-find-file-in-project.el7
-rw-r--r--settings/setup-projectile-mode.el30
3 files changed, 32 insertions, 9 deletions
diff --git a/init.el b/init.el
index 3e0398a..186dbee 100644
--- a/init.el
+++ b/init.el
@@ -59,7 +59,6 @@
elm-mode
ember-mode
ensime
- find-file-in-project
flycheck
flycheck-clojure
flycheck-haskell
@@ -72,6 +71,7 @@
multiple-cursors
paredit
play-routes-mode
+ projectile
purescript-mode
org-bullets
sbt-mode
@@ -100,7 +100,6 @@
(require 'setup-c++-mode)
(require 'setup-clojure-mode)
(require 'setup-ember-mode)
-(require 'setup-find-file-in-project)
(require 'setup-flycheck)
(require 'setup-haskell-mode)
(require 'setup-ido)
@@ -110,6 +109,7 @@
(require 'setup-markdown-mode)
(require 'setup-multiple-cursors)
(require 'setup-org-mode)
+(require 'setup-projectile-mode)
(require 'setup-purescript-mode)
(require 'setup-scala-mode)
(require 'setup-slime-mode)
diff --git a/settings/setup-find-file-in-project.el b/settings/setup-find-file-in-project.el
deleted file mode 100644
index 3cc23bf..0000000
--- a/settings/setup-find-file-in-project.el
+++ /dev/null
@@ -1,7 +0,0 @@
-(require 'find-file-in-project)
-
-(define-key global-map (kbd "M-SPC") 'find-file-in-project-by-selected)
-(define-key global-map (kbd "C-x M-SPC") 'find-file-in-project-at-point)
-
-(provide 'setup-find-file-in-project)
-;;; setup-find-file-in-project ends here
diff --git a/settings/setup-projectile-mode.el b/settings/setup-projectile-mode.el
new file mode 100644
index 0000000..791b4d0
--- /dev/null
+++ b/settings/setup-projectile-mode.el
@@ -0,0 +1,30 @@
+;;; setup-projectile-mode.el --- projectile mode settings -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2018 Benj Bellon
+
+;; Author: Benj Bellon <bbellon@bbellon-ld2.linkedin.biz>
+;; Keywords: lisp
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; basic settings for projectile
+
+;;; Code:
+
+(projectile-global-mode)
+
+(provide 'setup-projectile-mode)
+;;; setup-projectile-mode.el ends here