From fe89b5671d65560b57d51485789c23c38885e28d Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Tue, 24 May 2016 14:14:54 +0200 Subject: 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 --- doc/list-of-filetypes.txt | 175 ++++++++++++++++++++++++++++++++++++++++++++++ doc/shortcuts.txt | 64 ++++++++++------- 2 files changed, 212 insertions(+), 27 deletions(-) create mode 100644 doc/list-of-filetypes.txt (limited to 'doc') 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 @@ +# this list can be generated with ':setfiletype '. I have copied it to +# make it searchable. + +2html erlang master sinda +HGAnnotate eruby matlab sindacmp +PKGBUILD esmtprc maxima sindaout +a2ps esqlc mel sisu +a65 esterel messages skill +aap eterm mf sl +abap euphoria3 mgl slang +abaqus euphoria4 mgp slice +abc eviews mib slim +abel exim mix slpconf +acedb expect mma slpreg +ada exports mmix slpspi +aflex falcon mmp slrnrc +ahdl fan modconf slrnsc +alsaconf fasm model sm +amiga fdcc modsim3 smarty +aml fetchmail modula2 smcl +ampl fgl modula3 smil +ansible fish monk smith +ansible_hosts flexwiki moo sml +ansible_template focexec mp snnsnet +ant form mplayerconf snnspat +antlr forth mrxvtrc snnsres +apache fortran msidl snobol4 +apachestyle foxpro msmessages solidity +aptconf framescript msql spec +arch freebasic mupad specman +arduino fstab mush spice +art fvwm mustache splint +asciidoc fvwm2m4 muttrc spup +asm gdb mysql spyce +asm68k gdmo named sql +asmh8300 gedcom nanorc sqlanywhere +asn git nasm sqlforms +aspperl gitcommit nastran sqlhana +aspvbs gitconfig natural sqlinformix +asterisk gitolite ncf sqlj +asteriskvm gitrebase netrc sqloracle +atlas gitsendemail netrw sqr +augeas gkrellmrc nginx squid +autohotkey glsl nim srec +autoit gnash ninja sshconfig +automake gnomecat nix sshdconfig +ave gnuplot nosyntax st +avra go nqc stata +awk godefstack nroff stp +ayacc godoc nsis strace +b gohtmltmpl obj stylus +baan gotexttmpl objc sudoers +basic gp objcpp svg +bc gpg ocaml svn +bdf gprof occam swift +bib grads octave syncolor +bib_latexSuite gretl omnimark synload +bindzone groff opencl syntax +blade groovy openroad sysctl +blank group opl systemd +bst grub ora systemverilog +btm gsp pamconf tads +bzl gtkrc papp tags +bzr haml pascal tak +c hamster passwd takcmp +cabal handlebars pcap takout +calendar haskell pccts tap +catalog haste pdf tar +cdl hastepreproc perl taskdata +cdrdaoconf haxe perl6 taskedit +cdrtoc haxe_extended pf tasm +cf hb pfmain tcl +cfg help pgsql tcsh +ch hercules php teraterm +chaiscript hex phtml terminfo +change hgcommit pic tex +changelog hitest pike tex_LatexBox +chaskell hog pilrc tex_latexSuite +cheetah hostconf pine texinfo +chill hostsaccess pinfo texmf +chordpro hss plaintex text +cl html plantuml textile +clean html5 pli tf +clipper htmlcheetah plm thrift +clojure htmldjango plp tidy +cmake htmlm4 plsql tilde +cmake-indent htmlos po tli +cmake-syntax hxml pod tmux +cmusrc ia64 postscr tomdoc +cobol ibasic pov toml +coco icemenu povini tpp +coffee icon ppd trasys +color_coded idl ppwiz treetop +colortest idlang prescribe trustees +conaryrecipe indent privoxy tsalt +conf inform procmail tsscl +config initex progress tssgm +context initng prolog tssop +cpp inittab promela tt2 +cql ipfilter proto tt2html +crm ishd protocols tt2js +crontab iss ps1 twig +cryptol ist ps1xml typescript +crystal j psf uc +cs jal ptcap udevconf +csc jam pug udevperm +cscope_plus jargon puppet udevrules +csdl jasmine purescript uil +csh java purifylog updatedb +csp javacc pyrex upstart +css javascript python upstreamdat +cterm jess qf upstreaminstalllog +ctrlh jgraph qml upstreamlog +cucumber jinja2 quake upstreamrpt +cuda jovial r usserverlog +cupl jproperties racc usw2kagtlog +cuplsim json radiance vala +cuda jovial r usserverlog +cupl jproperties racc usw2kagtlog +cuplsim json radiance vala +cvs jsp ragel valgrind +cvsrc jst ratpoison vb +cweb jsx rc vbnet +cynlib julia rcs vcl +cynpp kconfig rcslog velocity +d kivy readline vera +dart kix rebol verilog +datascript kotlin redif verilogams +dcd kscript registry vgrindefs +dcl kwt remind vhdl +debchangelog lace resolv vim +debcontrol latextoc reva vimgo +debsources latte rexx viminfo +def ld rhelp virata +denyhosts ldapconf rib vmasm +desc ldif rmd voscm +desktop less rnc vrml +dictconf lex rng vroom +dictdconf lftp rnoweb vsejcl +diff lhaskell robots vundlelog +dircolors libao rpcgen wdiff +dirpager lifelines rpl web +diva lilo rrst webmacro +django limits rspec wget +dns liquid rst whitespace +dnsmasq lisp rtf winbatch +docbk lite ruby wml +docbksgml litestep rust wsh +docbkxml logcheck samba wsml +dockerfile loginaccess sas wvdial +dosbatch logindefs sass xbl +dosini logtalk sather xdefaults +dot lotos sbt xf86conf +doxygen lout scala xhtml +dracula lpc scala.xpt xinetd +dsl lprolog scheme xkb +dtd lscript scilab xmath +dtml lsl screen xml +dtrace lss scss xmodmap +dts lua sd xpm +dylan lynx sdc xpm2 +dylanintr m4 sdl xquery +dylanlid mail sed xs +ecd mailaliases sendpr xsd +edif mailcap sensors xsl +eelixir make services xslt +eiffel mallard setserial xxd +elf man sgml yacc +elinks manconf sgmldecl yaml +elixir manual sgmllnx z8a +elm maple sh zimbu +elmfilt markdown sicad zsh +ember-script masm sieve +emblem mason simula + 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 @@ +leader key = usually set to backslash expects a quick command + + [normal mode] -f{char} - move cursor to the character {char} +f{char} = move cursor to the character {char} -[visual mode] - with selected lines -gq - formats text so that it fits in whatever :set textwidth was set -iB - select block between curly braces (:help object-select) +[visual mode] # with selected lines +gq = formats text so that it fits in whatever :set textwidth was set +iB = select block between curly braces (:help object-select) [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 +: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 +:Explore = cli version open file dialog [navigation] - - look up the tag under the cursor (help links as well) - - return back from tag under the cursor + = look up the tag under the cursor (help links as well) + = return back from tag under the cursor +gd = jump to the declaration of the variable under the cursor -[macros] - record and play back a series of vim commands -qa - start (q) macro recording in register a (can be anything) -q - stop macro recording -@a - replay macro a -:'<,'>normal @a - apply a to every line in the current selection +[macros] # record and play back a series of vim commands +qa = start (q) macro recording in register a (can be anything) +q = stop macro recording +@a = replay macro a +:'<,'>normal @a = apply a to every line in the current selection [marker] -ma - set marker a-z (a in this case) -'a - go to marker a +ma = set marker a-z (a in this case) +'a = go to marker a [hotkeys] -, - increment, decrement number under the cursor +, = increment, decrement number under the cursor [windows] -v - splits buffer vertically (screen uses |) -s - splits buffer horizontally (same as screen) -w - moves the cursor to the next window and back -[dir] - moves the cursor in that direction (use hjkl or arrow keys) +v = splits buffer vertically (screen uses |) +s = splits buffer horizontally (same as screen) +w = moves the cursor to the next window and back +[dir] = moves the cursor in that direction (use hjkl or arrow keys) [vimdiff] -do - get changes from other window into the current -dp - put changes from current window into the other -]c - jump to the next change -[c - jump to the prevous change -zR - opens all folds (unfold all) +do = get changes from other window into the current +dp = put changes from current window into the other +]c = jump to the next change +[c = jump to the prevous change +zR = opens all folds (unfold all) + +[vim modeline] +the last line can be a mode line, which holds settings like tab width: + +# vim: noai:ts=2:sw=2 filetype=dosini -- cgit v1.2.3