| | |
| | | ** Helm core
|
| | | Helm aids the user interface for emacs. Adds visual and auto-complete feedback for emacs commands.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package helm-config
|
| | | :ensure helm
|
| | | (use-package helm
|
| | | :bind (("M-x" . helm-M-x)
|
| | | ("C-x C-f" . helm-find-files)
|
| | | ("M-y" . helm-show-kill-ring)
|
| | | ("C-x b" . helm-mini)
|
| | | ("C-c h o" . helm-occur))
|
| | | :config
|
| | | (setq helm-M-x-fuzzy-match t)
|
| | | (setq helm-buffers-fuzzy-matching t
|
| | | helm-recentf-fuzzy-match t)
|
| | | (setq helm-split-window-in-side-p t ; open helm buffer inside current window, not occupy whole other window
|
| | | (setq helm-mode-fuzzy-match t
|
| | | helm-completion-in-regionfuzzy-match t
|
| | | helm-split-window-inside-p t ; open helm buffer inside current window, not occupy whole other window
|
| | | helm-move-to-line-cycle-in-source t ; move to end or beginning of source when reaching top or bottom of source.
|
| | | helm-ff-search-library-in-sexp t ; search for library in `require' and `declare-function' sexp.
|
| | | helm-scroll-amount 8 ; scroll 8 lines other window using M-<next>/M-<prior>
|
| | | helm-ff-file-name-history-use-recentf t
|
| | | helm-echo-input-in-header-line t)
|
| | | helm-echo-input-in-header-line t
|
| | | completion-styles '(flex))
|
| | | (defun spacemacs//helm-hide-minibuffer-maybe ()
|
| | | "Hide minibuffer in Helm session if we use the header line as input field."
|
| | | (when (with-helm-buffer helm-echo-input-in-header-line)
|
| | |
| | | 'spacemacs//helm-hide-minibuffer-maybe)
|
| | | (helm-mode 1))
|
| | | #+END_SRC
|
| | |
|
| | | *** Helm git
|
| | | Give helm git awareness.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package helm-ls-git
|
| | | :bind (("C-x C-d" . helm-browse-project)))
|
| | | #+END_SRC
|
| | | ** Projectile
|
| | | Projectile is project management framework for emacs.
|
| | | Helps in navigation and management of projects.
|
| | |
| | | ("M-RET" . 'srefactor-refactor-at-point)))
|
| | | #+END_SRC
|
| | |
|
| | | ** Tree sitter
|
| | | Parser library.
|
| | | Provides better syntax highlighting and some other neat features.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package tree-sitter
|
| | | :diminish t)
|
| | | (use-package tree-sitter-langs
|
| | | :config
|
| | | (global-tree-sitter-mode)
|
| | | (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
| | | #+END_SRC
|
| | |
|
| | | ** Language specific configs
|
| | | *** C/C++
|
| | | **** Flycheck
|