Last active
December 12, 2022 18:03
-
-
Save klebermagno/04056ff791a01f0d043aa43eb1adad63 to your computer and use it in GitHub Desktop.
Space vim navigation instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/Jackiexiao/10-minutes-to-SpaceVim | |
| Shortcuts | Description | | |
| ---------------- | ------------------------------------------------------| | |
| Basic | | |
| `<F3> / spc f t` | trigger file tree | | |
| `spc t t` | Open tab manager | | |
| `F2` | Open tagbar | | |
| `<Leader> [1-9]` | switch to different tabs or buffers | | |
| `spc [1-9]` | switch to different windows | | |
| `ctrl j/h/k/l` | switch to different windows | | |
| Filetree | [Link](https://spacevim.org/documentation/#file-tree) | | |
| `spc f o` | open file tree and locate to current directory | | |
| `s g` | open file and split window horizontally | | |
| `s v` | open file split window vertically | | |
| Comment code | [Link](https://spacevim.org/documentation/#commenting)| | |
| `spc c l` | comment/uncomment current line | | |
| `spc c p/P` | comment/uncomment current paragraph | | |
| `spc ; [num] j` | comment *num* lines | | |
| Tab Manager | [Link](https://spacevim.org/documentation/#tabline) | | |
| `spc t t` | open tab manager | | |
| `spc w F` | open a new tab, equal to `spc t t + n` | | |
| `spc w o` | switch tab | | |
| Display | [Link](https://spacevim.org/documentation/#ui-toggles)| | |
| `spc s c` | clear search highlight | | |
| `SPC t 8` | highlight any character past the 80th column | | |
| `SPC t h h` | toggle highlight of the current line | | |
| `SPC t h c` | toggle highlight indentation current column | | |
| Search | [Link](https://spacevim.org/documentation/#searching) | | |
| `spc s s` | Searching in current file | | |
| `spc s d` | Searching in current directory | | |
| `spc s b` | Searching in all loaded buffers | | |
| `spc s p` | Searching in current proj, equal to `spc /` | | |
| Useful shortcuts | [Link](https://spacevim.org/documentation/#unimpaired-| | |
| `[ spc` | insert space above | | |
| `] spc` | insert space below | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:%s/<\/gs:\(\w*\)>/<gs:\1y><\/gs:\1y>/g | |
:%s/[A-Z]/\L&/g | |
:%s/^/<gs:/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment