From 2cff9f47ea75670cb7189219bea3e0ec7ed3abb0 Mon Sep 17 00:00:00 2001 From: coja Date: Sun, 31 Aug 2025 22:45:22 +0200 Subject: [PATCH] [Vim] nano alternative --- writing/vim.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/writing/vim.md b/writing/vim.md index 110ec2d..cabfd63 100644 --- a/writing/vim.md +++ b/writing/vim.md @@ -3,6 +3,13 @@ title: "vim basics" tags: [ "vim", "basic" ] --- +## Instant nano replacement + +`vim -y` - will start vim but like other editors like nano, there will be syntax highlighting, etc +Keybind to exit this mode is `Ctrl+q` + +## Steps + 1. Insert text by pressing `a`. 1. Stop inserting text by pressing `Ctrl+[`. 1. Exit with `ZZ`.