From 33e7713577dde61d9d902d94953842f7b8bb9658 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sat, 20 Apr 2024 00:57:37 -0700 Subject: [vim/*] highlight vimrc --- vim.html.markdown | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'vim.html.markdown') diff --git a/vim.html.markdown b/vim.html.markdown index fb2fc81f..b3509934 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -7,7 +7,6 @@ contributors: filename: LearnVim.txt --- - [Vim](http://www.vim.org) (Vi IMproved) is a clone of the popular vi editor for Unix. It is a text editor designed for speed and increased productivity, and is ubiquitous in most @@ -16,7 +15,6 @@ specific points in the file, and for fast editing. `vimtutor` is a an excellent application that teaches you how to use `Vim`. It comes with the vim package during installation. You should be able to just run "vimtutor" on the command line to open this tutor. It will guide you through all the major features in `vim`. - ## Basics of navigating Vim ``` @@ -87,7 +85,7 @@ specific points in the file, and for fast editing. L # Move to the bottom of the screen ``` -## Help docs: +## Help docs Vim has built in help documentation that can accessed with `:help `. For example `:help navigation` will pull up documentation about how to navigate @@ -96,7 +94,7 @@ your workspace! `:help` can also be used without an option. This will bring up a default help dialog that aims to make getting started with vim more approachable! -## Modes: +## Modes Vim is based on the concept on **modes**. @@ -195,7 +193,7 @@ A few important examples of 'Verbs', 'Modifiers', and 'Nouns': u # Selected text to lower case U # Selected text to upper case J # Join the current line with the next line - + # Fold text zf # Create fold from selected text zd # Delete fold on the current line @@ -234,7 +232,7 @@ The .vimrc file can be used to configure Vim on startup. Here's a sample ~/.vimrc file: -``` +```vim " Example ~/.vimrc " 2015.10 -- cgit v1.2.3