Personalized Development Environment(PDE)
- Transparency first.
- For coding
Rust
,Vue3
,Go
,Python
.
Language | LSP | Formatter | Linter |
---|---|---|---|
Go | gopls | goimports & gopls | - |
Rust | rust-analyzer | rustfmt | clippy |
Python | pyright | ruff | ruff |
Vue/TS/JS | Volar | eslint_d & stylelint | eslint_d & stylelint |
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git lazygit neovim ripgrep fd fzf sqlite-dev python3 go npm alpine-sdk --update
git clone https://github.com/emxxjnm/nvim.git ~/.config/nvim
cd ~/.config/nvim
nvim
'
A few fonts that I personally like.
docker run --rm \
-v /path/to/font:/in \
-v /path/for/output:/out \
nerdfonts/patcher \
--careful \
--complete \
--progressbars
Key | Description | Mode |
---|---|---|
H | To the first char of the line | n, v |
L | To the end of the line | n, v |
jj | Exit insert mode | i |
Up | Increase window height | n |
Down | Decrease window height | n |
Left | Decrease window width | n |
Right | Increase window width | n |
C-h | Go to left window | n |
C-j | Go to lower window | n |
C-k | Go to upper window | n |
C-l | Go to right window | n |
M-j | Move down | n, i, v |
M-k | Move up | n, i, v |
leader + w | Save file | n |
leader + W | Save files | n |
leader + q | Quit | n |
leader + Q | Force quit | n |
leader + _ | Split below | n |
leader + | | Split right | n |
Key | Description | Mode |
---|---|---|
gd | Goto Definition | n |
gD | Goto Declaration | n |
gr | References | n |
gi | Goto Implementation | n |
gt | Goto Type Definition | n |
K | Hover | n |
gK | Signature Help | n |
C-k | Signature Help | i |
[d | Next Diagnostic | n |
]d | Prev Diagnostic | n |
leader + ca | Code Action | n |
leader + cd | Line Diagnostic | n |
leader + cf | Format Document/Range | n, v |
leader + cr | Rename | n |
leader + ll | Lsp log | n |
leader + li | Lsp info | n |
leader + lr | Lsp restart | n |
Key | Description | Mode |
---|---|---|
leader + fb | List buffers | n |
leader + fc | Fuzzy search | n |
leader + fd | List diagnostics | n |
leader + ff | Find files | n |
leader + fg | Find in files (grep) | n |
leader + fn | Neovim Config file | n |
leader + fr | Recent files | n |
leader + fR | Resume | n |
leader + fs | Find symbols | n |
leader + fS | Find symbols(workspace) | n |
leader + fT | Find todos | n |
leader + fw | Find word | n |
Key | Description | Mode |
---|---|---|
[b | Prev buffer | n |
]b | Next buffer | n |
leader + bc | Pick close | n |
leader + bd | Delete buffer | n |
leader + bD | Delete other | n |
leader + bH | Close to the left | n |
leader + bL | Close to the right | n |
leader + bp | Buffer pick | n |
Key | Description | Mode |
---|---|---|
[g | Prev hunk | n |
]g | Next hunk | n |
leader + gb | Blame line | n |
leader + gd | Diff this | n |
leader + gg | Lazygit | n |
leader + gp | Preview hunk | n |
ig | Select hunk | o, x |
Key | Description | Mode |
---|---|---|
leader + db | Toggle breakpoint | n |
leader + dc | Continue | n |
leader + dC | Run to cursor | n |
leader + dt | Terminate | n |
leader + dr | Restart | n |
leader + dp | Pause | n |
leader + dO | Step over | n |
leader + di | Step into | n |
leader + do | Step out | n |
leader + du | Toggle DAP UI | n |
Key | Description | Mode |
---|---|---|
leader + od | Diagnostic | n |
leader + of | Format(Global) | n |
leader + oF | Format(Buffer) | n |
leader + oh | Hints | n |
leader + ol | Line Number | n |
leader + oL | Relative Number | n |
leader + os | Spell | n |
leader + ot | Treesitter | n |
leader + ow | Wrap | n |
Key | Description | Mode |
---|---|---|
C-n | Toggle file explorer | n |
Key | Description | Mode |
---|---|---|
leader + tn | Run | n |
leader + ta | Attach | n |
leader + tf | Run file | n |
leader + tl | Run last | n |
leader + tx | Stop | n |
leader + to | Toggle output | n |
leader + ts | Toggle summaryu | n |
leader + tp | Toggle output panel | n |
[t | Prev failed test | n |
]t | Next failed test | n |
Key | Description | Mode |
---|---|---|
C-o | Select options | i |