Add 'pages/' from commit '8c13b4fcc9270f1e57a1dc1859f2e43df9f7ca97'
git-subtree-dir: pages git-subtree-mainline:d1a4c7ee07
git-subtree-split:8c13b4fcc9
This commit is contained in:
16
pages/docs/linux/commands.md
Normal file
16
pages/docs/linux/commands.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Commands
|
||||
## NixOS
|
||||
Update system
|
||||
```bash
|
||||
sudo nixos-rebuild switch --flake ~/system/#xv-desktop
|
||||
```
|
||||
|
||||
Update home manager
|
||||
```bash
|
||||
home-manager --flake ~/system/#xeovalyte@xv-desktop switch
|
||||
```
|
||||
|
||||
Refresh input URL's
|
||||
```bash
|
||||
nix flake update
|
||||
```
|
43
pages/docs/linux/shortcuts.md
Normal file
43
pages/docs/linux/shortcuts.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Keyboard Shortcuts
|
||||
|
||||
## Neovim
|
||||
|
||||
**Basic**
|
||||
|
||||
- ++ctrl+h++/++j++/++k++/++l++ : move to left / down / up / right window
|
||||
- ++alt+up++/++down++/++left++/++right++ : increase / decrease -> height / width
|
||||
- ++alt+h++/++j++/++k++/++l++ : move lines to left / down / up / right
|
||||
- ++n++/++shift+n++ : next / previous search result
|
||||
- ++ctrl+s++ : save file
|
||||
- ++space+f+n++ : new file
|
||||
|
||||
**Neotree**
|
||||
|
||||
- ++space+e++ : toggle neotree
|
||||
- ++period++ : change root to directory
|
||||
- ++a++ : add file
|
||||
- ++d++ : delete file
|
||||
- ++r++ : rename file
|
||||
- ++shift+h++ : toggle hidden
|
||||
- ++shift+i++ : toggle gitignore
|
||||
|
||||
**Telescope**
|
||||
|
||||
- ++space+f+f++ : find files
|
||||
- ++space+f+g++ : search files
|
||||
- ++space+f+b++ : switch buffers
|
||||
|
||||
**LSP**
|
||||
|
||||
- ++g+l++ : show diagnostics
|
||||
- ++g+d++ : go to definition
|
||||
- ++g+d++ : go to declaration
|
||||
- ++shift+k++ : preview
|
||||
|
||||
**Spell**
|
||||
|
||||
- ++z+equal++ : list suggestions
|
||||
- ++z+g++ : mark word as good
|
||||
- ++z+w++ : mark word as bad
|
||||
|
||||
## Minecraft
|
Reference in New Issue
Block a user