My Emacs config. Includes a cheat sheet.
- Download the repository. You can use git clone for that.
mkdir ~/emacs_config
cd ~/emacs_config
git clone https://github.com/bormoge/.emacs.d
- Open the directory .emacs.d through the terminal using the cd command.
cd ./.emacs.d
- Once inside .emacs.d, use the make command to copy the directory to Home (~/.emacs.d).
A warning, before you go any further: if you have an ~/.emacs.d directory it will get replaced with the contents of this repository.
make
- (Optional) Remove the emacs_config directory.
cd ~/
rm -rf ~/emacs_config
- For packages installed from ELPA and MELPA:
M-x list-packages
U
x
Alternatively:
M-x package-upgrade PACKAGE-NAME
Where PACKAGE-NAME is replaced with the actual name of the package.
Also, if you want to upgrade all packages:
M-x package-upgrade-all
- For packages installed from source using package-vc-install:
M-x package-vc-upgrade PACKAGE-NAME
Where PACKAGE-NAME is replaced with the actual name of the package.
If you want to upgrade all packages installed using the command package-vc-install:
M-x package-vc-upgrade-all
To install, update, or uninstall a language server / linter / formatter / debug adapter use the following commands inside Emacs:
M-x mason-install
M-x mason-update
M-x mason-uninstall
SPDX-License-Identifier: GPL-3.0-or-later
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 https://www.gnu.org/licenses/.