====== VI/VIM ====== * Video: [[http://video.google.com/videoplay?docid=2538831956647446078|Braam Moolenaar: Habits For Effective Text Editing 2.0]] * [[http://www.ibiblio.org/web-gentoo/images/vicheat-final.png|The Semi-Official IBM developerWorks vi-Cheat-Sheet]] * [[http://de.wikibooks.org/wiki/Learning_the_vi_editor|Learning the vi editor]] (deutsch) * [[http://www.pro-linux.de/t_programme/vim_fold.html|VIM kannste knicken! Code Folding mit VIM]] * http://www.nitidelo.de/vim.php * Augen-freundliches Farbschema: [[http://slinky.imukuppi.org/zenburnpage/|zenburn]]((aktuelle Diskusion auf [[http://developers.slashdot.org/article.pl?sid=08/07/03/1249246|Slashdot]])) * [[http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/index-pl.html|andere Farbschemen]] * Eine [[http://stevelosh.com/blog/2010/09/coming-home-to-vim/|moderne VIM-Anleitung]] eines von VIM-zu-TextMate-zurück-zu-VIM-Users ((via [[http://identi.ca/conversation/65175531#notice-65999811|identica]])) * [[http://vim.runpaint.org/|Vim Recipes - Free Cookbook]] ===== OS spezifisch ===== * [[os:solaris#vim|vim in Solaris]] ===== Rezepte ===== * Dateien konvertieren Dox <-> Unix * :set ff=dos * set fileformat=unix ===== Plugins (VIM) ===== ==== Taglist ==== * [[http://vim-taglist.sourceforge.net/|Taglist]] #Reference Card :TlistOpen :TlistClose :TlistToggle Taste F8 wenn nnoremap :TlistToggle mit Fokus auf Tags wenn let Tlist_GainFocus_On_ToggleOpen = 1) Eintrag in.vimrc: nnoremap :TlistToggle let Tlist_GainFocus_On_ToggleOpen = 1 let TlistHighlightTag = 1 * [[http://www.vim.org/scripts/script.php?script_id=365|bash-support.vim : BASH-IDE]] ==== SuperTab (wird auch durch snippetsEmu ersetzt, siehe unten) ==== * [[http://www.vim.org/scripts/script.php?script_id=1643|SuperTab continued. : Do all your insert-mode completion with Tab! ]] #Reference Card STRG+X in den 'x' Mode STRG+N Variable STRG+K Keyword ==== snippetsEmu : An attempt to emulate TextMate's snippet expansion ==== * http://www.vim.org/scripts/script.php?script_id=1318 * erfordert [[http://vim.sourceforge.net/scripts/script.php?script_id=1502|vimball]] * vim [path-to-snippetsEmu.vba] * :VimballList * :so % * Nachfolger ist snipMate, siehe unten ==== snipMate : TextMate-style snippets for Vim ==== * http://www.vim.org/scripts/script.php?script_id=2540 * [[software:vim:snipmate_beamer|snipMate-snippets für LaTeX-Beamer]] ==== Versionskontrolle ==== Mit einer Integration für Systeme zur Versionskontrolle bietes //vim// auch Funktionen einer ausgewachsenen IDE. * [[http://www.vim.org/scripts/script.php?script_id=90|vcscommand.vim : CVS/SVN/SVK/git integration plugin]] * [[http://www.vim.org/scripts/script.php?script_id=1898|vcsnursery : Additional backends for vcscommand (backends für Mercurial und SCCS)]] ==== Python ==== * Eine umfangreiche [[http://wiki.python.de/Python-Programmieren_mit_Vim|Sammlung ]] an Tips === Syntax nach PEP8 === * von [[http://moinmoin.wikiwikiweb.de/CodingStyle|MoinMoin]] die Datei [[http://moinmoin.wikiwikiweb.de/CodingStyle?action=AttachFile&do=get&target=python.vim|python.vim]] unter ~/.vim/syntax/ speichern === python.vim === * [[http://vim.sourceforge.net/scripts/script.php?script_id=30|python.vim]] #Reference Card [[ -- Jump to beginning of block ]] -- Jump to end of block ]v -- Select (Visual Line Mode) block ]< -- Shift block to left ]> -- Shift block to right ]# -- Comment selection ]u -- Uncomment selection ]c -- Select current/previous class ]f -- Select current/previous function ] -- Jump to previous line with the same/lower indentation ] -- Jump to next line with the same/lower indentation === Integration Pylint und Pychecker === * [[http://vim.wikia.com/wiki/VimTip949|Tip]] aus dem [[http://vim.wikia.com/wiki/Main_Page|vim-Bereich]] von http://wikia.com === runscript - Skripte ausführen und Debugen === * [[http://www.petersblog.org/node/461| Vim Python development]] mit [[http://www.vim.org/scripts/script.php?script_id=127|runscript]] #Reference Card F11 -- Set current as run F12 -- Run F9 -- Toggle Output ==== PHP ==== * Drupal http://drupal.org/node/29325 * Sam Ghods: [[http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/|How to Debug PHP with Vim and XDebug on Linux]] * [[http://www.vim.org/scripts/script.php?script_id=1929|vim: DBGp client]] ==== GPG ==== * [[http://vim.sourceforge.net/scripts/script.php?script_id=661|gnupg : Plugin for transparent editing of gpg encrypted files.]] {{tag>linux console development}}