From 64e384c18a0399983a1da50da0bc2f3b5ff0fb0e Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Fri, 14 Jul 2023 15:29:55 +0800 Subject: [PATCH] docs: comment - astronvim --- home/base/desktop/neovim/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/home/base/desktop/neovim/default.nix b/home/base/desktop/neovim/default.nix index d15eb4ba..ed81b9b0 100644 --- a/home/base/desktop/neovim/default.nix +++ b/home/base/desktop/neovim/default.nix @@ -23,8 +23,8 @@ # # Switching between windows: ` + h/j/k/l` # Resizing windows: ` + Up/Down/Left/Right` -# Note that on macOS, this is conflict with system's default shortcuts. -# You need disable them in System Preferences -> Keyboard -> Shortcuts -> Mission Control. +# Note that on macOS, this is conflict with system's default shortcuts. +# You need disable them in System Preferences -> Keyboard -> Shortcuts -> Mission Control. # Horizontal Split: `\` # Vertical Split: `|` # Next Buffer(Tab): `]b` @@ -32,9 +32,12 @@ # Close Buffer: ` + c` # # Format Document: ` + lf` +# Comment Line: ` + /` # Code Actions: ` + la` # Rename: ` + lr` -# +# Open filepath/URL at cursor: `gc` +# This is a neovim builtin command +# # Save Session: ` + Ss` # Last Session: ` + Sl` # Delete Session: ` + Sd`