docs: neovim & emacs

This commit is contained in:
Ryan Yin
2024-01-07 12:53:07 +08:00
parent b492ffa227
commit e9eb3d44a4
3 changed files with 14 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ Type `:tutor`(`:Tutor` in Neovim) to learn the basics usage of vim/neovim.
## VIM's Cheetsheet
> Here only record my commonly used keyboard keys, to see a more comprehensive cheetsheet: <https://github.com/rtorr/vim-cheat-sheet>
> Here only record my commonly used keyboard keys, to see **a more comprehensive cheetsheet**: <https://github.com/rtorr/vim-cheat-sheet>
Both Emacs-Evil & Neovim are compatible with vim, sothe key-bindings described here are common in both Emacs-Evil, Neovim & vim.

View File

@@ -13,6 +13,12 @@
- Emacs Wiki: <https://www.emacswiki.org/emacs/SiteMap>
- Awesome Emacs: <https://github.com/emacs-tw/awesome-emacs#lsp-client>
## Why emacs?
1. Explore the unknown, just for fun!
2. Org Mode
3. Lisp Coding
## Install or Update
After deploying this nix flake, run the following command to install or update emacs:
@@ -37,15 +43,6 @@ just emacs-reload
just emacs-clear
```
## Notes
1. we can run any emacs command via `M-x`(Alt + x).
## Why emacs?
1. Explore the unknown, just for fun!
2. Org Mode
## Cheetsheet
Here is the cheetsheet related to my DoomEmacs configs. Please read vim's common cheetsheet at [../README.md](../README.md) before reading the following.
@@ -54,6 +51,8 @@ Here is the cheetsheet related to my DoomEmacs configs. Please read vim's common
> Terminal(vterm) is useful in GUI mode, I use Zellij instead in terminal mode.
> We can run any emacs command via `M-x`(Alt + x).
| Action | Shortcut |
| ---------------------- | ------------- |
| Popup Terminal(vterm) | `SPC + o + t` |

View File

@@ -5,6 +5,11 @@ For more details, visit the [AstroNvim website](https://astronvim.com/).
This document outlines neovim's configuration structure and various shortcuts/commands for efficient usage.
## Screenshots
![](/_img/astronvim_2023-07-13_00-39.webp)
![](/_img/hyprland_2023-07-29_2.webp)
## Configuration Structure
| Description | Standard Location | My Location |
@@ -40,11 +45,6 @@ just nvim-test
just nvim-clear
```
## Screenshots
![](/_img/astronvim_2023-07-13_00-39.webp)
![](/_img/hyprland_2023-07-29_2.webp)
## Cheetsheet
Here is the cheetsheet related to my Neovim configs. Please read vim's common cheetsheet at [../README.md](../README.md) before reading the following.