aboutsummaryrefslogtreecommitdiff
path: root/doc/shortcuts.txt
diff options
context:
space:
mode:
authorMax Christian Pohle2015-09-09 17:29:01 +0200
committerMax Christian Pohle2015-09-09 17:29:01 +0200
commitd1f054ef1a601b81054f74e18520a2bc8075c3d8 (patch)
treece7f1e14b81d40ee066f0f8d26c46ba8635df8a4 /doc/shortcuts.txt
parent2572ae93322fc8cde33beb54e92290d1831836df (diff)
downloadvim-d1f054ef1a601b81054f74e18520a2bc8075c3d8.tar.bz2
vim-d1f054ef1a601b81054f74e18520a2bc8075c3d8.zip
added modeline to vimrc, commented vimrc further
modeline says, that the window should be 160 columns width. It is usually bad habit to write lines that long, but in this case it improves the situation, because comments and corresponding commands can stay together in this way.
Diffstat (limited to 'doc/shortcuts.txt')
-rw-r--r--doc/shortcuts.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt
index c0911e1..9f4325f 100644
--- a/doc/shortcuts.txt
+++ b/doc/shortcuts.txt
@@ -1,9 +1,13 @@
1 1
2[visual mode] - with selected lines 2[visual mode] - with selected lines
3gq - format text so that it fits in whatever :set textwidth was set 3gq - format text so that it fits in whatever :set textwidth was set
4 4
5[commands] 5[commands]
6:spell [word] - adds a word to the current dictionary (no mistake any more) 6:spell [word] - adds a word to the current dictionary (no mistake any more)
7:set list - display non printable characters 7:set list - display non printable characters
8:retab - replaces tabs with spaces 8:retab - replaces tabs with spaces
9:set expandtab - in insert mode: replace tab with spaces 9:set expandtab - in insert mode: replace tab with spaces
10
11[navigation]
12<CTRL-]> - go to tag under the cursor (help links as well)
13<CTRL-T> - return back from tag under the cursor
..