mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-09 06:05:10 +02:00
docs: neovim & emacs
This commit is contained in:
@@ -14,7 +14,7 @@ Type `:tutor`(`:Tutor` in Neovim) to learn the basics usage of vim/neovim.
|
|||||||
|
|
||||||
## VIM's Cheetsheet
|
## 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.
|
Both Emacs-Evil & Neovim are compatible with vim, sothe key-bindings described here are common in both Emacs-Evil, Neovim & vim.
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,12 @@
|
|||||||
- Emacs Wiki: <https://www.emacswiki.org/emacs/SiteMap>
|
- Emacs Wiki: <https://www.emacswiki.org/emacs/SiteMap>
|
||||||
- Awesome Emacs: <https://github.com/emacs-tw/awesome-emacs#lsp-client>
|
- 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
|
## Install or Update
|
||||||
|
|
||||||
After deploying this nix flake, run the following command to install or update emacs:
|
After deploying this nix flake, run the following command to install or update emacs:
|
||||||
@@ -37,15 +43,6 @@ just emacs-reload
|
|||||||
just emacs-clear
|
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
|
## 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.
|
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.
|
> 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 |
|
| Action | Shortcut |
|
||||||
| ---------------------- | ------------- |
|
| ---------------------- | ------------- |
|
||||||
| Popup Terminal(vterm) | `SPC + o + t` |
|
| Popup Terminal(vterm) | `SPC + o + t` |
|
||||||
|
|||||||
@@ -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.
|
This document outlines neovim's configuration structure and various shortcuts/commands for efficient usage.
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Configuration Structure
|
## Configuration Structure
|
||||||
|
|
||||||
| Description | Standard Location | My Location |
|
| Description | Standard Location | My Location |
|
||||||
@@ -40,11 +45,6 @@ just nvim-test
|
|||||||
just nvim-clear
|
just nvim-clear
|
||||||
```
|
```
|
||||||
|
|
||||||
## Screenshots
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## Cheetsheet
|
## 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.
|
Here is the cheetsheet related to my Neovim configs. Please read vim's common cheetsheet at [../README.md](../README.md) before reading the following.
|
||||||
|
|||||||
Reference in New Issue
Block a user