summaryrefslogtreecommitdiff
path: root/README.md
blob: 79a8f5987514e1b5c20ed1b268b13c7af042ff88 (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
# Emacs Configuration file
Emacs configuration file

## Keybinds
### General
- Copy: `M-w`
- Cut: `C-w`
- Paste: `C-y`
- Jump to symbol: `M-.`
- Jump back from symbol: `M-,`
- Open project: `s-o`
- Find file in project: `s-p`
- Grep in project: `s-F`
- Refactor : `F2`
- Move line up/down: `M-<UP/DOWN>`
- Find references: `M-?`
- Kill buffer: `C-x k`

## Fonts
- I make use of `monaco` and `iosevka`.

## Org mode
- The configuration assumes that you have an `~/OrgRoam` 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
```