summaryrefslogtreecommitdiffhomepage
path: root/vim.html.markdown
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-04-20 00:57:37 -0700
committerBoris Verkhovskiy <boris.verk@gmail.com>2024-04-20 00:57:37 -0700
commit33e7713577dde61d9d902d94953842f7b8bb9658 (patch)
treea4fdd6ed3554da701009ea9e824fef5198ba5a4d /vim.html.markdown
parent962dfca8175fdd1e98a8d54e282788c6717d55e1 (diff)
[vim/*] highlight vimrc
Diffstat (limited to 'vim.html.markdown')
-rw-r--r--vim.html.markdown10
1 files changed, 4 insertions, 6 deletions
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 <topic>`.
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