blob: eb9124ed339ef905da5cb2821436656d0f2d4412 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Emacs Configuration file
My emacs configuration file. This configuration only works with Emacs version 28.
## Keybinds
### General
- Copy: `M-w`
- Cut: `C-w`
- Paste: `C-y`
- Jump to symbol: `M-.`
- Jump back from symbol: `M-,`
- Open project: `C-c p o`
- Find file in project: `C-c p p`
- Grep in project: `C-c p f`
- Refactor : `F2`
- Move line up/down: `M-<UP/DOWN>`
- Find references: `M-?`
- Kill buffer: `C-x k`
- Autocomplete: `C-.`
## Fonts
- I make use of `monaco` and `iosevka`.
## Org mode
- The configuration assumes that you have an `~/OrgRoam` folder and an `~/OrgRoam/daily` folder at the root of your home directory.
## Per-language Features
### JavaScript/TypeScript
Must have installed the Typescript language server: https://github.com/typescript-language-server/typescript-language-server
### Python
```
sudo pip install python-lsp-server
```
### Go
Make sure you have installed `gopls`! On arch, this is:
```sh
sudo pacman -S gopls
```
### Text
`hunspell` is used to provide spell check on `.txt` files. Make sure to have install the hunspell package for your language. In my instance, I had to do:
```sh
sudo pacman -S hunspell hunspell-en_us
```
|