This is my first dive into configuring a proper setup for Emacs. It's probably not efficient yet, it's organized in a way that makes sense to me and might not make sense to you. Please let me know if you have a suggestion (For anything!) through a github issue, also please report any bugs/issues through an issue as well!
The end goal is something that's easy to configure and use for anyone - not just current Emacs users, so feedback in regards to advancing farther towards this goal will be greatly appreciated!
Awoo Emacs should work on Windows and Linux, I'd love to say MacOS as well but I have no way of testing that. All commands will be assuming linux usage, adjust accordingly for other platforms!
-
Install/configure prerequisites (possibly incomplete, testing)
1.1) For C/C++ support:
A)
cclslanguage server * By default ccls location is set to/usr/bin/ccls, if this is not correct (Such as on Windows) you MUST change it inemacs.d/awoo/languages/awoo-c-cpp.el.B)
cmake, andlibclang(Ensure you have a valid ClangConfig.cmake available for the install command)1.2)
node.jsfor TypeScript support1.3)
rust,rustfmt, and rust-analyzer for Rust support.1.4)
luafor Lua support (Obviously...)1.5) Any desired Flycheck languages
-
Backup your current emacs configuration:
mv .emacs.d .emacs.d.backup- Clone Awoo Emacs
git clone https://github.com/CodeBizarre/awoo-emacs.git .emacs.d-
Configure Awoo Emacs
4.1) The main configuration file is
.emacs.d/awoo/awoo-config.el4.2) General Plugin-specific configuration files are located in
.emacs.d/awoo/plugins/config-<plufin>.el(Note that not all plugins have a file here by default)4.3) Language-specific configuration files are contained within
.emacs.d/awoo/languages/awoo-<language>.elfor easy management. If you would like to remove support for a language you don't use, simply remove its file, the opposite applies for adding a language. All files in this directory will be loaded second-to-last, right beforeawoo-custom.el.4.4) Add any desired post-init additions/overrides to
~/.emacs.d/awoo/awoo-custom.el -
Launch emacs and allow the plugins to download
-
Run required post-setup
6.1)
M-x all-the-icons-install-fontsto install the required all-the-icons fonts6.2)
M-x irony-install-serverto build and install the C/C++ irony-server
A proper list is coming soon, for now see .emacs.d/awoo/package-list.el
Most of the default bindings are used for plugins, specifically overriden/specified are as follows:
- Whitespace Mode:
C-c w - Smartparens Mode:
C-x p s - Treemacs:
C-x t t- treemacsM-0- treemacs-select-windowC-x t 1- treemacs-delete-other-windowsC-x t B- treemacs-bookmarkC-x t M-f- treemacs-find-fileC-x t M-t- treemacs-find-tag
- Projectile:
s-pANDC-c p- projectile-command-map
- Helpful:
C-h f- helpful-callableC-h v- helpful-variableC-h k- helpful-keyC-c C-d- helpful-at-pointC-h F- helpful-functionC-h C- helpful-command
- Centaur Tabs:
C-<prior>- centaur-tabs-backwardC-<next>- centaur-tabs-forward

