annotate runtime/doc/howto.txt @ 10712:74f2182dc1d9 v8.0.0246

patch 8.0.0246: compiler warnings for int to pointer conversion commit https://github.com/vim/vim/commit/3a118be1501549a7a9b8f52618fd0a967470d0a1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 27 21:22:19 2017 +0100 patch 8.0.0246: compiler warnings for int to pointer conversion Problem: Compiler warnings for int to pointer conversion. Solution: Fix macro for mch_memmove(). (John Marriott)
author Christian Brabandt <cb@256bit.org>
date Fri, 27 Jan 2017 21:30:05 +0100
parents 9f48eab77d62
children 1174611ad715
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10198
9f48eab77d62 commit https://github.com/vim/vim/commit/bb76f24af2010943387ce696a7092175b4ecccf2
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
1 *howto.txt* For Vim version 8.0. Last change: 2006 Apr 02
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 How to ... *howdoi* *how-do-i* *howto* *how-to*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 |tutor| get started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 |:quit| exit? I'm trapped, help me!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 |initialization| initialize Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 |vimrc-intro| write a Vim script file (vimrc)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 |suspend| suspend Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 |usr_11.txt| recover after a crash
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 |07.4| keep a backup of my file when writing over it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 |usr_07.txt| edit files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 |23.4| edit binary files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 |usr_24.txt| insert text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 |deleting| delete text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 |usr_04.txt| change text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 |04.5| copy and move text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 |usr_25.txt| format text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 |30.6| format comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 |30.2| indent C programs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 |25.3| automatically set indent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 |usr_26.txt| repeat commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 |02.5| undo and redo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 |usr_03.txt| move around
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 |word-motions| word motions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 |left-right-motions| left-right motions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 |up-down-motions| up-down motions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 |object-motions| text-object motions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 |various-motions| various motions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 |object-select| text-object selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 |'whichwrap'| move over line breaks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 |'virtualedit'| move to where there is no text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 |usr_27.txt| specify pattern for searches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 |tags-and-searches| do tags and special searches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 |29.4| search in include'd files used to find
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 variables, functions, or macros
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 |K| look up manual for the keyword under cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 |03.7| scroll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 |'sidescroll'| scroll horizontally/sideways
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 |'scrolloff'| set visible context lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 |mode-switching| change modes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 |04.4| use Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 |'insertmode'| start Vim in Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 |40.1| map keys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 |24.7| create abbreviations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 |ins-expandtab| expand a tab to spaces in Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 |i_CTRL-R| insert contents of a register in Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 |24.3| complete words in Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 |25.1| break a line before it gets too long
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 |20.1| do command-line editing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 |20.3| do command-line completion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 |'cmdheight'| increase the height of command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 |10.3| specify command-line ranges
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 |40.3| specify commands to be executed automatically
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 before/after reading/writing entering/leaving a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 buffer/window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 |'autowrite'| write automatically
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 |30.1| speedup edit-compile-edit cycle or compile and fix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 errors within Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 |options| set options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 |auto-setting| set options automatically
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 |term-dependent-settings| set options depending on terminal name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 |save-settings| save settings
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 810
diff changeset
78 |:quote| comment my .vim files
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 |'helpheight'| change the default help height
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 |'highlight'| set various highlighting modes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 |'title'| set the window title
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 |'icon'| set window icon title
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 |'report'| avoid seeing the change messages on every line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 |'shortmess'| avoid |hit-enter| prompts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 |mouse-using| use mouse with Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 |usr_08.txt| manage multiple windows and buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 |gui.txt| use the gui
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 |You can't! (yet)| do dishes using Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 |usr_06.txt| switch on syntax highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 |2html.vim| convert a colored file to HTML
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 |less| use Vim like less or more with syntax highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 vim:tw=78:ts=8:ft=help:norl: