diff options
author | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-21 19:19:17 +0000 |
---|---|---|
committer | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-21 19:19:17 +0000 |
commit | 8bbdcbb2d0711134a68bd80ae541edbfb4f472ad (patch) | |
tree | 22f61dfa3335fbc7b96a11f06a6d0b7eb9988fa9 /public/articals/neovim/3Basic | |
parent | 7ef03c449fc051b5fdf91f2d203af7b8696ea3cf (diff) |
Changed all files to .html and new post!
Diffstat (limited to 'public/articals/neovim/3Basic')
-rw-r--r-- | public/articals/neovim/3Basic | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/public/articals/neovim/3Basic b/public/articals/neovim/3Basic deleted file mode 100644 index 48da7fe..0000000 --- a/public/articals/neovim/3Basic +++ /dev/null @@ -1,72 +0,0 @@ -<!DOCTYPE html> -<html lang="en-GB"> - <head> - <meta charset="UTF-8"> - <meta name="author" content="Shipwreckt"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Basic commands</title> - <link rel="stylesheet" href="../../styles.css"> - <link rel="icon" href="../../Images/favi.png" type="image/x-icon"> - </head> - <body> - <header> - <nav> - <ul> - <li><a href="../../index.html">Home</a></li> - <li><a href="../../links.html">Links</a></li> - <li><a href="../../projects.html">Projects</a></li> - <li><a href="../../contact.html">Contact</a></li> - </ul> - </nav> - </header> - <main> - - <h1>Basic Commands</h1><hr> - - <p>There are over 100 commands in Neovim, and thankfully, you don't need to know all of them to use the text editor—just a few basic commands are enough.</p><hr> - - <h3>Copy and Paste in Neovim</h3> - <p>Instead of using <kbd>Ctrl</kbd> + <kbd>C</kbd> and <kbd>Ctrl</kbd> + <kbd>V</kbd>, Neovim uses <kbd>y</kbd> and <kbd>p</kbd> for copying and pasting lines:</p> - <ul> - <li><kbd>yy</kbd> - Copies an entire line in normal mode</li> - <li><kbd>y3</kbd> - Copies 3 lines in normal mode</li> - <li><kbd>y</kbd> - Copies selected text in visual mode</li> - </ul> - <hr> - - <h3>Deleting Lines</h3> - <ul> - <li><kbd>dd</kbd> - Deletes a single line in normal mode</li> - <li><kbd>d3</kbd> - Deletes 3 lines in normal mode</li> - <li><kbd>d</kbd> - Deletes selected text in visual mode</li> - </ul> - <hr> - - <h3>Undo and Redo</h3> - <ul> - <li><kbd>u</kbd> - Undo the last change</li> - <li><kbd>Ctrl</kbd> + <kbd>r</kbd> - Redo the undone change</li> - </ul> - <hr> - - <h3>Saving and Quitting</h3> - <ul> - <li><kbd>:w</kbd> - Save the current file</li> - <li><kbd>:wq</kbd> or <kbd>ZZ</kbd> - Save and quit</li> - <li><kbd>:q</kbd> - Quit (only if no unsaved changes)</li> - <li><kbd>:q!</kbd> or <kbd>ZQ</kbd> - Quit without saving changes</li> - </ul> - <hr> - - <h3>Searching</h3> - <ul> - <li><kbd>/Linux</kbd> - Search for 'Linux' (case-sensitive)</li> - <li><kbd>n</kbd> - Go to the next found 'Linux'</li> - <li><kbd>N</kbd> - Go to the previous 'Linux'</li> - </ul> - <hr> - - <pre style="text-align: center;"><a href="../neovimlist">Back</a></pre> - </main> - </body> -</html> |