From e9eb3d44a4368ebd70c893c5f1b6d590aaa1571a Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 7 Jan 2024 12:53:07 +0800 Subject: [PATCH] docs: neovim & emacs --- home/base/desktop/editors/README.md | 2 +- home/base/desktop/editors/emacs/README.md | 17 ++++++++--------- home/base/desktop/editors/neovim/README.md | 10 +++++----- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/home/base/desktop/editors/README.md b/home/base/desktop/editors/README.md index 8d7a4e57..8e97c44f 100644 --- a/home/base/desktop/editors/README.md +++ b/home/base/desktop/editors/README.md @@ -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: +> Here only record my commonly used keyboard keys, to see **a more comprehensive cheetsheet**: Both Emacs-Evil & Neovim are compatible with vim, sothe key-bindings described here are common in both Emacs-Evil, Neovim & vim. diff --git a/home/base/desktop/editors/emacs/README.md b/home/base/desktop/editors/emacs/README.md index 0082e669..bc9dbf27 100644 --- a/home/base/desktop/editors/emacs/README.md +++ b/home/base/desktop/editors/emacs/README.md @@ -13,6 +13,12 @@ - Emacs Wiki: - Awesome Emacs: +## 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` | diff --git a/home/base/desktop/editors/neovim/README.md b/home/base/desktop/editors/neovim/README.md index e6393958..8c89048a 100644 --- a/home/base/desktop/editors/neovim/README.md +++ b/home/base/desktop/editors/neovim/README.md @@ -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.