From f34bf79884d457395ce4c4463c18a34351867c71 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Fri, 14 Jul 2023 16:12:00 +0800 Subject: [PATCH] docs: comments - astronvim --- home/base/desktop/neovim/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/home/base/desktop/neovim/default.nix b/home/base/desktop/neovim/default.nix index faa2905b..54d0eed7 100644 --- a/home/base/desktop/neovim/default.nix +++ b/home/base/desktop/neovim/default.nix @@ -18,8 +18,10 @@ # Floating Terminal: ` + tf` # Horizontal Split Terminal: ` + th` # Vertical Split Terminal: ` + tv` +# Open IPython REPL: ` + tp` # Opening LSP symbols: ` + lS` -# Toggle buffer auto formatting: ` + uf` +# Show line diagnostics: `gl` +# Go to definition: `gd` # # Switching between windows: ` + h/j/k/l` # Resizing windows: ` + Up/Down/Left/Right` @@ -31,12 +33,15 @@ # Previous Buffer(Tab): `[b` # Close Buffer: ` + c` # +# Toggle buffer auto formatting: ` + uf` # Format Document: ` + lf` # Comment Line: ` + /` # Code Actions: ` + la` # Rename: ` + lr` # Open filepath/URL at cursor: `gx` # This is a neovim builtin command +# Find files by name(fzf): ` + ff` +# Grep string in files(repgrep): ` + fw` # # Save Session: ` + Ss` # Last Session: ` + Sl` @@ -44,7 +49,7 @@ # Search Session: ` + Sf` # Load Current Directory Session:` + S.` # -# Debugging: ... +# Debugging: press ` + D` to see the available bindings and options. # # ...... # See https://astronvim.com/Basic%20Usage/walkthrough