From d1f054ef1a601b81054f74e18520a2bc8075c3d8 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 9 Sep 2015 17:29:01 +0200 Subject: 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. --- doc/shortcuts.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/shortcuts.txt') 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 @@ [visual mode] - with selected lines -gq - format text so that it fits in whatever :set textwidth was set +gq - format text so that it fits in whatever :set textwidth was set [commands] :spell [word] - adds a word to the current dictionary (no mistake any more) :set list - display non printable characters :retab - replaces tabs with spaces :set expandtab - in insert mode: replace tab with spaces + +[navigation] + - go to tag under the cursor (help links as well) + - return back from tag under the cursor -- cgit v1.2.3