Add (helm-)projectile
- Remove clashing keymaps with helm-gtags
This commit is contained in:
parent
951ab95eec
commit
717ec9d388
1 changed files with 32 additions and 2 deletions
34
config.org
34
config.org
|
|
@ -571,6 +571,21 @@ When we use windows as our bootloader, we have to setup some things first:
|
||||||
|
|
||||||
To be fair, I didn't test this in a while...
|
To be fair, I didn't test this in a while...
|
||||||
|
|
||||||
|
* Projectile
|
||||||
|
|
||||||
|
Projectile is a project management tool, full details on:
|
||||||
|
https://github.com/bbatsov/projectile
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package projectile
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(setq projectile-indexing-method 'alien)
|
||||||
|
(projectile-global-mode)
|
||||||
|
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
|
||||||
|
)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Helm
|
* Helm
|
||||||
|
|
||||||
** General config
|
** General config
|
||||||
|
|
@ -641,8 +656,6 @@ To be fair, I didn't test this in a while...
|
||||||
:bind
|
:bind
|
||||||
( "M-." . helm-gtags-find-tag-from-here)
|
( "M-." . helm-gtags-find-tag-from-here)
|
||||||
( "M-," . helm-gtags-pop-stack)
|
( "M-," . helm-gtags-pop-stack)
|
||||||
( "C-c f" . helm-gtags-find-files)
|
|
||||||
( "C-c p" . helm-gtags-parse-file)
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'c-mode-hook 'helm-gtags-mode)
|
(add-hook 'c-mode-hook 'helm-gtags-mode)
|
||||||
(add-hook 'c++-mode-hook 'helm-gtags-mode)
|
(add-hook 'c++-mode-hook 'helm-gtags-mode)
|
||||||
|
|
@ -654,6 +667,23 @@ To be fair, I didn't test this in a while...
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Helm-projectile
|
||||||
|
|
||||||
|
Helm interface to projectile:
|
||||||
|
https://github.com/bbatsov/helm-projectile
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package helm-projectile
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(setq helm-projectile-fuzzy-match t)
|
||||||
|
(setq projectile-completion-system 'helm)
|
||||||
|
(setq projectile-switch-project-action 'helm-projectile)
|
||||||
|
:config
|
||||||
|
(helm-projectile-on)
|
||||||
|
)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Mutliple cursors
|
* Mutliple cursors
|
||||||
|
|
||||||
https://github.com/magnars/multiple-cursors.el
|
https://github.com/magnars/multiple-cursors.el
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue