A lean and fast emacs setup.
- C++: autocomplete based on lsp-mod, clang, irony, cquery showing functional sigs.
- Clean and modern configuration structure:
|_init.el - theme, init chain.
|_site-lisp/init-custom.el - Custom variables and functions.
|_site-lisp/init-package.el - Emacs Package management configurations.
|_site-lisp/init-basic.el - Basic configuration, hotkeys.
|_site-lisp/init-ui.el - UI configuration.
|_site-lisp/init-lsp - Language Server Protocol configurations.
|_site-lisp/init-company.el - Company/autocomplete configuration.
|_site-lisp/init-c.el - C/C++ configuration.
|_site-lisp/init-vcs.el - Git/VCS configuration.
|_site-lisp/init-haskell.el - haskell configuration
- Inspired by Centaur Emacs, but all standard emacs without 'centaurization'.
Make sure that the following binaries are present on your system, that are needed and used by lsp server:
/usr/local/bin/cquery
/usr/local/bin/clang
/usr/local/bin/clang++
/usr/local/bin/clangd
(or the equivalents inside usr/bin/
)
$ cd ~
$ git clone https://github.com/madjestic/.emacs.d
$ emacs
After starting emacs, the update process should start automatically. No system paths used.
C-u 0 M-x byte-recompile-directory
-> ~/.emacs.d/
delete ~/.emacs.d/init-basic.elc
(there are some problems with :bind
package, making compile to fail.
Happy Hacking!