aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Christian Pohle2016-05-24 14:14:54 +0200
committerMax Christian Pohle2016-05-24 14:14:54 +0200
commitfe89b5671d65560b57d51485789c23c38885e28d (patch)
treed2483b2b4d80631411fc54ab55609073085c8742 /doc
parent4c27c4e8a5d281427bc69fe442ea0f35bd4a53f9 (diff)
downloadvim-fe89b5671d65560b57d51485789c23c38885e28d.tar.bz2
vim-fe89b5671d65560b57d51485789c23c38885e28d.zip
major update: plugins, colorscheme, shortcuts, new git submodule!
* using nelstroms mac color scheme * 'fixed' some keyboard shortcuts to behave more like in other editors * added some plugins
Diffstat (limited to 'doc')
-rw-r--r--doc/list-of-filetypes.txt175
-rw-r--r--doc/shortcuts.txt64
2 files changed, 212 insertions, 27 deletions
diff --git a/doc/list-of-filetypes.txt b/doc/list-of-filetypes.txt
new file mode 100644
index 0000000..9752c6a
--- /dev/null
+++ b/doc/list-of-filetypes.txt
@@ -0,0 +1,175 @@
1# this list can be generated with ':setfiletype <C-d>'. I have copied it to
2# make it searchable.
3
42html erlang master sinda
5HGAnnotate eruby matlab sindacmp
6PKGBUILD esmtprc maxima sindaout
7a2ps esqlc mel sisu
8a65 esterel messages skill
9aap eterm mf sl
10abap euphoria3 mgl slang
11abaqus euphoria4 mgp slice
12abc eviews mib slim
13abel exim mix slpconf
14acedb expect mma slpreg
15ada exports mmix slpspi
16aflex falcon mmp slrnrc
17ahdl fan modconf slrnsc
18alsaconf fasm model sm
19amiga fdcc modsim3 smarty
20aml fetchmail modula2 smcl
21ampl fgl modula3 smil
22ansible fish monk smith
23ansible_hosts flexwiki moo sml
24ansible_template focexec mp snnsnet
25ant form mplayerconf snnspat
26antlr forth mrxvtrc snnsres
27apache fortran msidl snobol4
28apachestyle foxpro msmessages solidity
29aptconf framescript msql spec
30arch freebasic mupad specman
31arduino fstab mush spice
32art fvwm mustache splint
33asciidoc fvwm2m4 muttrc spup
34asm gdb mysql spyce
35asm68k gdmo named sql
36asmh8300 gedcom nanorc sqlanywhere
37asn git nasm sqlforms
38aspperl gitcommit nastran sqlhana
39aspvbs gitconfig natural sqlinformix
40asterisk gitolite ncf sqlj
41asteriskvm gitrebase netrc sqloracle
42atlas gitsendemail netrw sqr
43augeas gkrellmrc nginx squid
44autohotkey glsl nim srec
45autoit gnash ninja sshconfig
46automake gnomecat nix sshdconfig
47ave gnuplot nosyntax st
48avra go nqc stata
49awk godefstack nroff stp
50ayacc godoc nsis strace
51b gohtmltmpl obj stylus
52baan gotexttmpl objc sudoers
53basic gp objcpp svg
54bc gpg ocaml svn
55bdf gprof occam swift
56bib grads octave syncolor
57bib_latexSuite gretl omnimark synload
58bindzone groff opencl syntax
59blade groovy openroad sysctl
60blank group opl systemd
61bst grub ora systemverilog
62btm gsp pamconf tads
63bzl gtkrc papp tags
64bzr haml pascal tak
65c hamster passwd takcmp
66cabal handlebars pcap takout
67calendar haskell pccts tap
68catalog haste pdf tar
69cdl hastepreproc perl taskdata
70cdrdaoconf haxe perl6 taskedit
71cdrtoc haxe_extended pf tasm
72cf hb pfmain tcl
73cfg help pgsql tcsh
74ch hercules php teraterm
75chaiscript hex phtml terminfo
76change hgcommit pic tex
77changelog hitest pike tex_LatexBox
78chaskell hog pilrc tex_latexSuite
79cheetah hostconf pine texinfo
80chill hostsaccess pinfo texmf
81chordpro hss plaintex text
82cl html plantuml textile
83clean html5 pli tf
84clipper htmlcheetah plm thrift
85clojure htmldjango plp tidy
86cmake htmlm4 plsql tilde
87cmake-indent htmlos po tli
88cmake-syntax hxml pod tmux
89cmusrc ia64 postscr tomdoc
90cobol ibasic pov toml
91coco icemenu povini tpp
92coffee icon ppd trasys
93color_coded idl ppwiz treetop
94colortest idlang prescribe trustees
95conaryrecipe indent privoxy tsalt
96conf inform procmail tsscl
97config initex progress tssgm
98context initng prolog tssop
99cpp inittab promela tt2
100cql ipfilter proto tt2html
101crm ishd protocols tt2js
102crontab iss ps1 twig
103cryptol ist ps1xml typescript
104crystal j psf uc
105cs jal ptcap udevconf
106csc jam pug udevperm
107cscope_plus jargon puppet udevrules
108csdl jasmine purescript uil
109csh java purifylog updatedb
110csp javacc pyrex upstart
111css javascript python upstreamdat
112cterm jess qf upstreaminstalllog
113ctrlh jgraph qml upstreamlog
114cucumber jinja2 quake upstreamrpt
115cuda jovial r usserverlog
116cupl jproperties racc usw2kagtlog
117cuplsim json radiance vala
118cuda jovial r usserverlog
119cupl jproperties racc usw2kagtlog
120cuplsim json radiance vala
121cvs jsp ragel valgrind
122cvsrc jst ratpoison vb
123cweb jsx rc vbnet
124cynlib julia rcs vcl
125cynpp kconfig rcslog velocity
126d kivy readline vera
127dart kix rebol verilog
128datascript kotlin redif verilogams
129dcd kscript registry vgrindefs
130dcl kwt remind vhdl
131debchangelog lace resolv vim
132debcontrol latextoc reva vimgo
133debsources latte rexx viminfo
134def ld rhelp virata
135denyhosts ldapconf rib vmasm
136desc ldif rmd voscm
137desktop less rnc vrml
138dictconf lex rng vroom
139dictdconf lftp rnoweb vsejcl
140diff lhaskell robots vundlelog
141dircolors libao rpcgen wdiff
142dirpager lifelines rpl web
143diva lilo rrst webmacro
144django limits rspec wget
145dns liquid rst whitespace
146dnsmasq lisp rtf winbatch
147docbk lite ruby wml
148docbksgml litestep rust wsh
149docbkxml logcheck samba wsml
150dockerfile loginaccess sas wvdial
151dosbatch logindefs sass xbl
152dosini logtalk sather xdefaults
153dot lotos sbt xf86conf
154doxygen lout scala xhtml
155dracula lpc scala.xpt xinetd
156dsl lprolog scheme xkb
157dtd lscript scilab xmath
158dtml lsl screen xml
159dtrace lss scss xmodmap
160dts lua sd xpm
161dylan lynx sdc xpm2
162dylanintr m4 sdl xquery
163dylanlid mail sed xs
164ecd mailaliases sendpr xsd
165edif mailcap sensors xsl
166eelixir make services xslt
167eiffel mallard setserial xxd
168elf man sgml yacc
169elinks manconf sgmldecl yaml
170elixir manual sgmllnx z8a
171elm maple sh zimbu
172elmfilt markdown sicad zsh
173ember-script masm sieve
174emblem mason simula
175
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt
index 9c168f9..4e49e6d 100644
--- a/doc/shortcuts.txt
+++ b/doc/shortcuts.txt
@@ -1,50 +1,60 @@
1leader key = usually set to backslash expects a quick command
2
3
1[normal mode] 4[normal mode]
2f{char} - move cursor to the character {char} 5f{char} = move cursor to the character {char}
3 6
4 7
5[visual mode] - with selected lines 8[visual mode] # with selected lines
6gq - formats text so that it fits in whatever :set textwidth was set 9gq = formats text so that it fits in whatever :set textwidth was set
7iB - select block between curly braces (:help object-select) 10iB = select block between curly braces (:help object-select)
8 11
9 12
10[commands] 13[commands]
11:spell [word] - adds a word to the current dictionary (no mistake any more) 14:spell [word] = adds a word to the current dictionary (no mistake any more)
12:set list - display non printable characters 15:set list = display non printable characters
13:retab - replaces tabs with spaces 16:retab = replaces tabs with spaces
14:set expandtab - in insert mode: replace tab with spaces 17:set expandtab = in insert mode: replace tab with spaces
18:Explore = cli version open file dialog
15 19
16 20
17[navigation] 21[navigation]
18<CTRL-]> - look up the tag under the cursor (help links as well) 22<CTRL-]> = look up the tag under the cursor (help links as well)
19<CTRL-T> - return back from tag under the cursor 23<CTRL-T> = return back from tag under the cursor
24gd = jump to the declaration of the variable under the cursor
20 25
21 26
22[macros] - record and play back a series of vim commands 27[macros] # record and play back a series of vim commands
23qa - start (q) macro recording in register a (can be anything) 28qa = start (q) macro recording in register a (can be anything)
24q - stop macro recording 29q = stop macro recording
25@a - replay macro a 30@a = replay macro a
26:'<,'>normal @a - apply a to every line in the current selection 31:'<,'>normal @a = apply a to every line in the current selection
27 32
28 33
29[marker] 34[marker]
30ma - set marker a-z (a in this case) 35ma = set marker a-z (a in this case)
31'a - go to marker a 36'a = go to marker a
32 37
33 38
34[hotkeys] 39[hotkeys]
35<C-A>, <C-X> - increment, decrement number under the cursor 40<C-A>, <C-X> = increment, decrement number under the cursor
36 41
37 42
38[windows] 43[windows]
39<C-W>v - splits buffer vertically (screen uses |) 44<C-W>v = splits buffer vertically (screen uses |)
40<C-W>s - splits buffer horizontally (same as screen) 45<C-W>s = splits buffer horizontally (same as screen)
41<C-W>w - moves the cursor to the next window and back 46<C-W>w = moves the cursor to the next window and back
42<C-W>[dir] - moves the cursor in that direction (use hjkl or arrow keys) 47<C-W>[dir] = moves the cursor in that direction (use hjkl or arrow keys)
43 48
44 49
45[vimdiff] 50[vimdiff]
46do - get changes from other window into the current 51do = get changes from other window into the current
47dp - put changes from current window into the other 52dp = put changes from current window into the other
48]c - jump to the next change 53]c = jump to the next change
49[c - jump to the prevous change 54[c = jump to the prevous change
50zR - opens all folds (unfold all) 55zR = opens all folds (unfold all)
56
57[vim modeline]
58the last line can be a mode line, which holds settings like tab width:
59
60# vim: noai:ts=2:sw=2 filetype=dosini
..