diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/INSTALL | 46 | ||||
-rw-r--r-- | doc/UPDATE | 4 | ||||
-rw-r--r-- | doc/coderonline-vim.png | bin | 91868 -> 0 bytes | |||
-rw-r--r-- | doc/git | 2 | ||||
-rw-r--r-- | doc/gitignore | 50 | ||||
-rw-r--r-- | doc/gtk.css | 7 | ||||
-rw-r--r-- | doc/list-of-filetypes.txt | 175 | ||||
-rw-r--r-- | doc/readme.md | 8 | ||||
-rw-r--r-- | doc/screen.txt | 9 | ||||
-rw-r--r-- | doc/shortcuts.txt | 205 |
10 files changed, 0 insertions, 506 deletions
diff --git a/doc/INSTALL b/doc/INSTALL deleted file mode 100644 index 9cab2dd..0000000 --- a/doc/INSTALL +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | # INSTALL | ||
2 | # this should briefly show you how to install this bundle | ||
3 | |||
4 | |||
5 | # [required steps] | ||
6 | |||
7 | # Download the current version using git (probably you already have!) | ||
8 | git clone http://git.entwicklerseite.de/vim ~/.vim | ||
9 | |||
10 | # Get the required submodule(s) | ||
11 | git submodule update --init --recursive | ||
12 | |||
13 | # start vim for the first time and use the plugin manager to install required plugins | ||
14 | vim -c ":PlugInstall" | ||
15 | |||
16 | # build YouCompleteMe | ||
17 | cd ~/.vim/plugged/YouCompleteMe | ||
18 | python ./install.py --clang-completer | ||
19 | |||
20 | |||
21 | |||
22 | |||
23 | # [optional steps] | ||
24 | # create a symbolic link to the downloaded vim.rc in you $HOME-directory | ||
25 | ln -s ~/.vim/vimrc ~/.vimrc | ||
26 | |||
27 | # gvim: make menu bar more fancy | ||
28 | ln -s ~/.vim/gtk-3.0.css ~/.config/gtk-3.0/gtk.css | ||
29 | |||
30 | # if you do not have working gvim start menu entries, try: | ||
31 | ln -s ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | ||
32 | update-desktop-database ~/.local/share/applications/ | ||
33 | |||
34 | # Thunar file manager specific: create an entry in the sendto menu... | ||
35 | mkdir -p ~/.local/share/Thunar/sendto/ | ||
36 | ln -s ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | ||
37 | |||
38 | |||
39 | |||
40 | # [random/unfinished stuff] | ||
41 | # download plugins and spell file for your language | ||
42 | # vim -c ":set spell" | ||
43 | # vim +set\ spell # < maybe that works as well | ||
44 | # :call spellfile#LoadFile(expand("de")) | ||
45 | |||
46 | # vim: noai:ts=2:sw=2 filetype=csh nolist | ||
diff --git a/doc/UPDATE b/doc/UPDATE deleted file mode 100644 index 6321b85..0000000 --- a/doc/UPDATE +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | git submodule -q foreach git pull -q origin master | ||
2 | |||
3 | In Vim: | ||
4 | :VundleUpdate | ||
diff --git a/doc/coderonline-vim.png b/doc/coderonline-vim.png deleted file mode 100644 index 156ff3a..0000000 --- a/doc/coderonline-vim.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/doc/git b/doc/git deleted file mode 100644 index 1205d00..0000000 --- a/doc/git +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | undo last commit: git reset HEAD~ | ||
2 | diff two branches: git diff branch1 branch2 path/to/file | ||
diff --git a/doc/gitignore b/doc/gitignore deleted file mode 100644 index 1d8dd28..0000000 --- a/doc/gitignore +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | # Byte-compiled / optimized / DLL files | ||
2 | __pycache__/ | ||
3 | *.py[cod] | ||
4 | |||
5 | # C extensions | ||
6 | *.so | ||
7 | |||
8 | # Distribution / packaging | ||
9 | bin/ | ||
10 | build/ | ||
11 | develop-eggs/ | ||
12 | dist/ | ||
13 | eggs/ | ||
14 | lib/ | ||
15 | lib64/ | ||
16 | parts/ | ||
17 | sdist/ | ||
18 | var/ | ||
19 | *.egg-info/ | ||
20 | .installed.cfg | ||
21 | *.egg | ||
22 | |||
23 | # Installer logs | ||
24 | pip-log.txt | ||
25 | pip-delete-this-directory.txt | ||
26 | |||
27 | # Unit test / coverage reports | ||
28 | .tox/ | ||
29 | .coverage | ||
30 | .cache | ||
31 | nosetests.xml | ||
32 | coverage.xml | ||
33 | |||
34 | # Translations | ||
35 | *.mo | ||
36 | |||
37 | # Mr Developer | ||
38 | .mr.developer.cfg | ||
39 | .project | ||
40 | .pydevproject | ||
41 | |||
42 | # Rope | ||
43 | .ropeproject | ||
44 | |||
45 | # Django stuff: | ||
46 | *.log | ||
47 | *.pot | ||
48 | |||
49 | # Sphinx documentation | ||
50 | docs/_build/ | ||
diff --git a/doc/gtk.css b/doc/gtk.css deleted file mode 100644 index 5f15661..0000000 --- a/doc/gtk.css +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | /* to be saved as ~/.config/gtk-3.0/gtk.css | ||
2 | * thanks to http://stackoverflow.com/users/6899000/proprefenetre */ | ||
3 | @define-color YOUR_BACKGROUND_COLOR #rrggbb; | ||
4 | |||
5 | window#vim-main-window { | ||
6 | background-color: @YOUR_BACKGROUND_COLOR; | ||
7 | } | ||
diff --git a/doc/list-of-filetypes.txt b/doc/list-of-filetypes.txt deleted file mode 100644 index 9752c6a..0000000 --- a/doc/list-of-filetypes.txt +++ /dev/null | |||
@@ -1,175 +0,0 @@ | |||
1 | # this list can be generated with ':setfiletype <C-d>'. I have copied it to | ||
2 | # make it searchable. | ||
3 | |||
4 | 2html erlang master sinda | ||
5 | HGAnnotate eruby matlab sindacmp | ||
6 | PKGBUILD esmtprc maxima sindaout | ||
7 | a2ps esqlc mel sisu | ||
8 | a65 esterel messages skill | ||
9 | aap eterm mf sl | ||
10 | abap euphoria3 mgl slang | ||
11 | abaqus euphoria4 mgp slice | ||
12 | abc eviews mib slim | ||
13 | abel exim mix slpconf | ||
14 | acedb expect mma slpreg | ||
15 | ada exports mmix slpspi | ||
16 | aflex falcon mmp slrnrc | ||
17 | ahdl fan modconf slrnsc | ||
18 | alsaconf fasm model sm | ||
19 | amiga fdcc modsim3 smarty | ||
20 | aml fetchmail modula2 smcl | ||
21 | ampl fgl modula3 smil | ||
22 | ansible fish monk smith | ||
23 | ansible_hosts flexwiki moo sml | ||
24 | ansible_template focexec mp snnsnet | ||
25 | ant form mplayerconf snnspat | ||
26 | antlr forth mrxvtrc snnsres | ||
27 | apache fortran msidl snobol4 | ||
28 | apachestyle foxpro msmessages solidity | ||
29 | aptconf framescript msql spec | ||
30 | arch freebasic mupad specman | ||
31 | arduino fstab mush spice | ||
32 | art fvwm mustache splint | ||
33 | asciidoc fvwm2m4 muttrc spup | ||
34 | asm gdb mysql spyce | ||
35 | asm68k gdmo named sql | ||
36 | asmh8300 gedcom nanorc sqlanywhere | ||
37 | asn git nasm sqlforms | ||
38 | aspperl gitcommit nastran sqlhana | ||
39 | aspvbs gitconfig natural sqlinformix | ||
40 | asterisk gitolite ncf sqlj | ||
41 | asteriskvm gitrebase netrc sqloracle | ||
42 | atlas gitsendemail netrw sqr | ||
43 | augeas gkrellmrc nginx squid | ||
44 | autohotkey glsl nim srec | ||
45 | autoit gnash ninja sshconfig | ||
46 | automake gnomecat nix sshdconfig | ||
47 | ave gnuplot nosyntax st | ||
48 | avra go nqc stata | ||
49 | awk godefstack nroff stp | ||
50 | ayacc godoc nsis strace | ||
51 | b gohtmltmpl obj stylus | ||
52 | baan gotexttmpl objc sudoers | ||
53 | basic gp objcpp svg | ||
54 | bc gpg ocaml svn | ||
55 | bdf gprof occam swift | ||
56 | bib grads octave syncolor | ||
57 | bib_latexSuite gretl omnimark synload | ||
58 | bindzone groff opencl syntax | ||
59 | blade groovy openroad sysctl | ||
60 | blank group opl systemd | ||
61 | bst grub ora systemverilog | ||
62 | btm gsp pamconf tads | ||
63 | bzl gtkrc papp tags | ||
64 | bzr haml pascal tak | ||
65 | c hamster passwd takcmp | ||
66 | cabal handlebars pcap takout | ||
67 | calendar haskell pccts tap | ||
68 | catalog haste pdf tar | ||
69 | cdl hastepreproc perl taskdata | ||
70 | cdrdaoconf haxe perl6 taskedit | ||
71 | cdrtoc haxe_extended pf tasm | ||
72 | cf hb pfmain tcl | ||
73 | cfg help pgsql tcsh | ||
74 | ch hercules php teraterm | ||
75 | chaiscript hex phtml terminfo | ||
76 | change hgcommit pic tex | ||
77 | changelog hitest pike tex_LatexBox | ||
78 | chaskell hog pilrc tex_latexSuite | ||
79 | cheetah hostconf pine texinfo | ||
80 | chill hostsaccess pinfo texmf | ||
81 | chordpro hss plaintex text | ||
82 | cl html plantuml textile | ||
83 | clean html5 pli tf | ||
84 | clipper htmlcheetah plm thrift | ||
85 | clojure htmldjango plp tidy | ||
86 | cmake htmlm4 plsql tilde | ||
87 | cmake-indent htmlos po tli | ||
88 | cmake-syntax hxml pod tmux | ||
89 | cmusrc ia64 postscr tomdoc | ||
90 | cobol ibasic pov toml | ||
91 | coco icemenu povini tpp | ||
92 | coffee icon ppd trasys | ||
93 | color_coded idl ppwiz treetop | ||
94 | colortest idlang prescribe trustees | ||
95 | conaryrecipe indent privoxy tsalt | ||
96 | conf inform procmail tsscl | ||
97 | config initex progress tssgm | ||
98 | context initng prolog tssop | ||
99 | cpp inittab promela tt2 | ||
100 | cql ipfilter proto tt2html | ||
101 | crm ishd protocols tt2js | ||
102 | crontab iss ps1 twig | ||
103 | cryptol ist ps1xml typescript | ||
104 | crystal j psf uc | ||
105 | cs jal ptcap udevconf | ||
106 | csc jam pug udevperm | ||
107 | cscope_plus jargon puppet udevrules | ||
108 | csdl jasmine purescript uil | ||
109 | csh java purifylog updatedb | ||
110 | csp javacc pyrex upstart | ||
111 | css javascript python upstreamdat | ||
112 | cterm jess qf upstreaminstalllog | ||
113 | ctrlh jgraph qml upstreamlog | ||
114 | cucumber jinja2 quake upstreamrpt | ||
115 | cuda jovial r usserverlog | ||
116 | cupl jproperties racc usw2kagtlog | ||
117 | cuplsim json radiance vala | ||
118 | cuda jovial r usserverlog | ||
119 | cupl jproperties racc usw2kagtlog | ||
120 | cuplsim json radiance vala | ||
121 | cvs jsp ragel valgrind | ||
122 | cvsrc jst ratpoison vb | ||
123 | cweb jsx rc vbnet | ||
124 | cynlib julia rcs vcl | ||
125 | cynpp kconfig rcslog velocity | ||
126 | d kivy readline vera | ||
127 | dart kix rebol verilog | ||
128 | datascript kotlin redif verilogams | ||
129 | dcd kscript registry vgrindefs | ||
130 | dcl kwt remind vhdl | ||
131 | debchangelog lace resolv vim | ||
132 | debcontrol latextoc reva vimgo | ||
133 | debsources latte rexx viminfo | ||
134 | def ld rhelp virata | ||
135 | denyhosts ldapconf rib vmasm | ||
136 | desc ldif rmd voscm | ||
137 | desktop less rnc vrml | ||
138 | dictconf lex rng vroom | ||
139 | dictdconf lftp rnoweb vsejcl | ||
140 | diff lhaskell robots vundlelog | ||
141 | dircolors libao rpcgen wdiff | ||
142 | dirpager lifelines rpl web | ||
143 | diva lilo rrst webmacro | ||
144 | django limits rspec wget | ||
145 | dns liquid rst whitespace | ||
146 | dnsmasq lisp rtf winbatch | ||
147 | docbk lite ruby wml | ||
148 | docbksgml litestep rust wsh | ||
149 | docbkxml logcheck samba wsml | ||
150 | dockerfile loginaccess sas wvdial | ||
151 | dosbatch logindefs sass xbl | ||
152 | dosini logtalk sather xdefaults | ||
153 | dot lotos sbt xf86conf | ||
154 | doxygen lout scala xhtml | ||
155 | dracula lpc scala.xpt xinetd | ||
156 | dsl lprolog scheme xkb | ||
157 | dtd lscript scilab xmath | ||
158 | dtml lsl screen xml | ||
159 | dtrace lss scss xmodmap | ||
160 | dts lua sd xpm | ||
161 | dylan lynx sdc xpm2 | ||
162 | dylanintr m4 sdl xquery | ||
163 | dylanlid mail sed xs | ||
164 | ecd mailaliases sendpr xsd | ||
165 | edif mailcap sensors xsl | ||
166 | eelixir make services xslt | ||
167 | eiffel mallard setserial xxd | ||
168 | elf man sgml yacc | ||
169 | elinks manconf sgmldecl yaml | ||
170 | elixir manual sgmllnx z8a | ||
171 | elm maple sh zimbu | ||
172 | elmfilt markdown sicad zsh | ||
173 | ember-script masm sieve | ||
174 | emblem mason simula | ||
175 | |||
diff --git a/doc/readme.md b/doc/readme.md deleted file mode 100644 index 68bd20b..0000000 --- a/doc/readme.md +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <h1>vim configuration</h1> | ||
2 | This is the configuration I am using. | ||
3 | |||
4 | |||
5 | <h2>Screenshot</h2> | ||
6 | <a href="/vim/plain/doc/coderonline-vim.png"> | ||
7 | <img src="/vim/plain/doc/coderonline-vim.png" width="720" alt="screenshot of vim" /> | ||
8 | </a> | ||
diff --git a/doc/screen.txt b/doc/screen.txt deleted file mode 100644 index 5c375d2..0000000 --- a/doc/screen.txt +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | To run vim inside a screen session: | ||
2 | |||
3 | TERM=vte-256color screen vim | ||
4 | |||
5 | works very well. But if you are using another terminal you may be interested in | ||
6 | other possibilities, like this: | ||
7 | |||
8 | find /usr/share/terminfo/ | grep screen | grep 256 | ||
9 | |||
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt deleted file mode 100644 index 4d58590..0000000 --- a/doc/shortcuts.txt +++ /dev/null | |||
@@ -1,205 +0,0 @@ | |||
1 | :viusage = summary of all keyboard shortcuts | ||
2 | :options = shows currently :set options (with descriptions) | ||
3 | leader key = usually set to backslash expects a quick command | ||
4 | |||
5 | |||
6 | [normal mode] | ||
7 | f{char} = move cursor to the character {char} | ||
8 | gf = open file under cursor | ||
9 | <C-w>gf = open file under cursor in a tab | ||
10 | <C-w>] = jump to the tag under the cursor in a new window | ||
11 | <C-t> = jump back from where that ^ brought you | ||
12 | K = keyword lookup for the word under the cursor (see :help kp) | ||
13 | w = next word | ||
14 | e = end of word (=inner word) | ||
15 | |||
16 | |||
17 | @see: :h text-objects | ||
18 | ci' = change between single quote | ||
19 | ci" = change between double quote | ||
20 | ci( = change between brace | ||
21 | cit = change XML Tag | ||
22 | ciw = select inner word | ||
23 | caw = select 'a word' | ||
24 | " where c can be replaced by v for visual mode | ||
25 | |||
26 | :%s/foo/bar/g = replace all foo with bar | ||
27 | :g/foo/s/bar//g = on lines with foo replace bar with nothing | ||
28 | :g!/foo/s/bar//g = on lines not containing foo replace bar with nothing | ||
29 | :g!/^foo/execute("normal dd") delete lines starting with foo | ||
30 | |||
31 | flags, end: after the last / | ||
32 | g = replace globally (all occurances on the current line) | ||
33 | c = confirm each replace, also allows to switch to g (use the flag to see the help message) | ||
34 | e = places the cursor in the end of the selection | ||
35 | |||
36 | flags, within the search string: | ||
37 | \v = use very magic search (more like perl) | ||
38 | \V = use no very magic, more like searching verbatim | ||
39 | \zs .. \ze = mark begin and end of a sub pattern (like perl lookaround assertions) | ||
40 | |||
41 | |||
42 | |||
43 | [visual mode] # with selected lines | ||
44 | gq = formats text so that it fits in whatever :set textwidth was set | ||
45 | iB = select block between curly braces (:help object-select) | ||
46 | |||
47 | |||
48 | [commands] | ||
49 | command line mode begins with : and has its own key mappings starting with c like in cnormap | ||
50 | |||
51 | :spell [word] = adds a word to the current dictionary (no mistake any more) | ||
52 | :set list = display non printable characters | ||
53 | :retab = replaces tabs with spaces | ||
54 | :set expandtab = in insert mode: replace tab with spaces | ||
55 | :Explore = cli version open file dialog (file explorer) | ||
56 | :Lex = use netrw as project drawer (stays open in its own window) | ||
57 | :only = 'maximize' current buffer | ||
58 | |||
59 | <c-r><c-w> = auto completion with the word under the cursor (interesting with incsearch) | ||
60 | |||
61 | |||
62 | [navigation] | ||
63 | <CTRL-]> = look up the tag under the cursor (help links as well) | ||
64 | <CTRL-T> = return back from tag under the cursor | ||
65 | gd = jump to the declaration of the variable under the cursor | ||
66 | |||
67 | |||
68 | [macros] # record and play back a series of vim commands | ||
69 | qa = start (q) macro recording in register a (can be anything) | ||
70 | q = stop macro recording | ||
71 | @a = replay macro a | ||
72 | :'<,'>normal @a = apply a to every line in the current selection | ||
73 | :reg = lists all registers (including those with macros in them) | ||
74 | |||
75 | [registers] | ||
76 | notice, that registers get used for both: macro recordings and copying text | ||
77 | |||
78 | :reg = shows contents of all registers | ||
79 | "0p = pasts from register 0, which is the same as "", but not overwritten by dd | ||
80 | "ap = same for register a | ||
81 | "0yy = yanks to register 0 (same as y by itself) | ||
82 | "ay = yanks current selection to register a (in visual mode) | ||
83 | |||
84 | |||
85 | [marker] | ||
86 | ma = set marker a-z (a in this case) | ||
87 | mA = create a session persistent file marker which can be used to reopen a file (not bound to the buffer) | ||
88 | `a = go to marker a (line & column) | ||
89 | 'a = go to marker a (line, first non blank), same as `a^ | ||
90 | |||
91 | |||
92 | |||
93 | [hotkeys] | ||
94 | <C-A>, <C-X> = increment, decrement number under the cursor | ||
95 | |||
96 | |||
97 | [windows] | ||
98 | <C-W>v = splits buffer vertically (screen uses |) | ||
99 | <C-W>s = splits buffer horizontally (same as screen) | ||
100 | <C-W>w = moves the cursor to the next window and back | ||
101 | <C-W>[dir] = moves the cursor in that direction (use hjkl or arrow keys) | ||
102 | <C-W>[HK] = make a vertical split horizontal and vice versa | ||
103 | <C-W>o = only: close all other windows | ||
104 | <C-W>c = close: current window in which the cursor sits | ||
105 | |||
106 | |||
107 | [vimdiff] | ||
108 | do = get changes from other window into the current | ||
109 | dp = put changes from current window into the other | ||
110 | ]c = jump to the next change | ||
111 | [c = jump to the prevous change | ||
112 | |||
113 | [folds] | ||
114 | za = toggle a fold | ||
115 | zM = close all folds | ||
116 | zR = opens all folds (unfold all) | ||
117 | zE = eliminates all folds | ||
118 | |||
119 | |||
120 | [buffers] | ||
121 | :bn = buffer next | ||
122 | :bp = buffer previous | ||
123 | :bd = buffer dispatch (close) | ||
124 | :b <tab> = switch buffer by name (use <tab> and <return>) | ||
125 | :set nobuflisted = hide buffer in buffer list (great for neovim's terminal) | ||
126 | |||
127 | [args] | ||
128 | :n **/*.c = opens all files with that name or type in buffers and also fills the argument list | ||
129 | |||
130 | |||
131 | [special] | ||
132 | g CTRL-g = display file properties including word and char count | ||
133 | q: = show command history and use it like a normal buffer | ||
134 | z= = show spellcheck suggestions | ||
135 | |||
136 | |||
137 | [completions] | ||
138 | CTRL-O = display completions: omnicomplete (context dependant completions) | ||
139 | |||
140 | CTRL-X CTRL-F = display completions: file name (using vim-internals omnicomplete) | ||
141 | CTRL-N CTRL-P = display completions: file keywords | ||
142 | CTRL-K = display completions: dictionary | ||
143 | CTRL-T = display completions: thesaurus | ||
144 | CTRL-I = display completions: include files | ||
145 | CTRL-] = display completions: tags | ||
146 | CTRL-D = display completions: (marcro-) definitions | ||
147 | CTRL-V = display completions: vim command line | ||
148 | CTRL-U = display completions: user-defined | ||
149 | |||
150 | |||
151 | [annoyances] | ||
152 | gv = visual mode: reselect last selection | ||
153 | CTRL-o = lets the caret jump back to the previous location | ||
154 | CTRL-L = redraws the complete screen | ||
155 | CTRL-R<register> = in insert mode and command line: paste contents of <register> (e.g. : for last command, * for clipboard) | ||
156 | CTRL-R = in normal mode: redoes what has been undone with u | ||
157 | "<register>p = in normal mode: paste paste contents of <register> | ||
158 | |||
159 | [registers] | ||
160 | "/ = last search expression | ||
161 | ": = last command entered | ||
162 | "= = expression register (to do calculations or call vim functions) | ||
163 | |||
164 | |||
165 | |||
166 | [netrw] | ||
167 | :Lex = open the netrw-view as project drawer | ||
168 | gn = makes the directory under the cursor the root directory | ||
169 | a = toggles display of hidden files | ||
170 | |||
171 | [filetype:css] | ||
172 | viB:sort = sort inner block by name | ||
173 | |||
174 | [vim commands] | ||
175 | :for i in range(1,12) | put ='2016-'.i | endfor | ||
176 | |||
177 | [fancy utf-8 symbols] | ||
178 | ௵ | ||
179 | |||
180 | [debugging] | ||
181 | :profile! start /tmp/profile.log | ||
182 | :profile func * | ||
183 | :profile file * | ||
184 | " At this point do slow actions | ||
185 | :profdel * | ||
186 | :e /tmp/profile.log | ||
187 | " add a break point to a vim script (like vimrc) to invoke the internal debugger | ||
188 | :breakadd here | ||
189 | |||
190 | :finish = from within a viml-script: stop sourcing it | ||
191 | |||
192 | [substitutions] | ||
193 | delete all comments: %s/\/\*\*< [^(\*\/)]*\*\///g | ||
194 | remove empty lines: global/^$/d | ||
195 | remove non-empty lines: v/^$/d | ||
196 | |||
197 | [programs] | ||
198 | gpm - cut and paste helper for the linux console (to get text from CTRL-ALT-F2 to CTRL-ALT-F3) | ||
199 | |||
200 | |||
201 | [vim modeline] | ||
202 | filetype can have multiple values, like python.django | ||
203 | The last line can be a mode line, which holds settings like tab width: | ||
204 | |||
205 | # vim: noai:ts=2:sw=2 filetype=dosini.text | ||