Skip to content
Matthias Günther edited this page Oct 12, 2015 · 5 revisions

Vimfest: Notes

tmux

  • tmux statusline anpassen
  • tmux-vim-navigator
  • vmux

Desktop-Manager

Vim: Writing

Titanpad

= Event =

Vimfest am Sa+So 10.+11. Okt 2015 in der Thoughtworks Werkstatt 1.stock, Hofgebäude, Mülhauserstr. 6, 10405, Berlin http://osm.org/go/0MbFnL1hZ?node=2874106613

hashtag: #vimfest https://twitter.com/search?q=vimfest

IRC: /connect irc.freenode.net /join #vimberlin-20151010 /join #vimberlin (generell. but has topic restriction)

Textpad: (you are here) https://events.titanpad.com/63

topics: vim, mutt, newsbeuter

= kalender =

2015 10 10 00 Sat 10-20:30h Day1/2 @Thoughtworks VimFest 2015 10 11 00 Sun 10-17:00h Day2/2 @Thoughtworks VimFest

= Teilnehmer =

@wikimatze Matthias Günther http://wikimatze.de/about write a rails-vim plugin for Padrino Get mutt up and running @tqmz Tim Quellmalz https://github.com/tqmz newsbeuter, vimperator & co. Vim with Zim (and more wiki-like stuff) @koehr Benjamin Köhr Vim + todo.txt + ? = Profit! Vim Keybindings @blueyed Daniel Hahler, http://daniel.hahler.de/, https://github.com/blueyed @guckes Sven Guckes http://www.guckes.net/ agrep, i3, mutt, screen, vim, zsh

Adam Claudia Max

= Sonntag =

Plan für Sonntag: 10h Beginn 12h (ausgefallen) wechsel zum restaurant "Punjab" http://www.openstreetmap.org/node/1976439627 all-you-can-eat buffet für 17h Ende

Vimfest: Notes

themensammlung:

word counter

klassenarbeiten tutory.de

live linux - knoppix! :-P

fish - friendly interactive shell

SvenG

Sven Guckes (irc:SvenG) @guckes http://www.guckes.net

i3 window manager/ http://www.guckes.net/Setup/i3-config

vim buch von steve oualline: http://www.truth.sk/vim/vimbook-OPL.pdf

buch von kurt pfeifle über PDFs: http://leanpub.com/pdfkungfoo

polyglot PDF+WAV: https://www.alchemistowl.org/pocorgtfo/

Sven's Minimal Vim Config: http://www.guckes.net/vim/setup.html

Starter File für Tags: http://www.guckes.net/Setup/vimtags.txt

notes/signatures with agrep http://www.guckes.net/agrep

to show:

sven.vim colourings for books

":so 2html.vim"

calendar editing and aliases

mutt workshop setup file http://www.guckes.net/Setup/muttrc.workshop.de.txt

Tim Quellmalz:

Tab & Trailing Whitespace

" shortcuts for replacing tabs / removing trailing whitespace nmap ct :%s/\t/ /g:%s/\s+$//g nmap cs :%s/\s+$//g

" alternative :help retab

Firefox

start multiple profiles (instances) at the same time (open profiles of current topics only):

  • firefox -no-remote -P %u
  • iceweasel -no-remote -P %u

Jabber

irssi

Chrome

  • PostMan: Restclient

Zsh

Blogging

  • static site generators
  • flat filebased cms, z. B. KirbyCMS

Markdown

Vim Sessions

project-wise sessions path/to/project/.vimrc:

" restore actions (tab selection, window resizing etc.)
source .vimsession
" restore buffers ... and history of commands, searches, buffers etc.
exec "set viminfo=%,'50,<1000,s100,:50,@10,/50,n" . g:proj_path . ".viminfo"
" map F10 to save & exit
exec   "nmap <silent> <F10> :mksession! " . g:proj_path .   ".vimsession<CR>:wviminfo! " . g:proj_path .   ".viminfo<CR>:qa!<CR>"

Vim backups

" Backups {{{

if !isdirectory($HOME . '/.vim/backup') call mkdir($HOME . '/.vim/backup') endif

set backupext=~ " backup file extension set backupdir=$HOME/.vim/backup " directory of backups set backupcopy=yes " keep attributes of the original file set backup " save files after close set writebackup " make a backup of the original file when writing

" }}}

i3 beautification and setup

Hat mir sehr geholfen, alles noch ein bissle hübscher zu machenJJ http://blog.tunnelshade.in/2014/05/making-i3-beautiful.html https://tribaal.io/using-i3.html http://askubuntu.com/questions/598943/how-to-de-uglify-i3-wm

Vim Colors

Cursor "Fadenkreuz" set cursorcolumn " highlight the current column – disturbs autocompletetion background! set cursorline " highlight current line

BufExplorer

BufExplorer (Plugin for Buffers)

tig

newsbeuter

Zim

Xmodmap

~/.Xmodmap:

! map Capslock as additional Ctrl key
clear   Lock
clear   Control
keycode 66 = Control_L
add     Control = Control_L Control_R

=> xmodmap ~/.Xmodmap => xmodmap -pke for a list of all current

map [ and ] to other keys on German keyboard (?)

Tags

  • use multiple tag files:

    set tags=./tags;/,tags;/

Nerdtree

" Map NERDTreeToggle to convenient key nmap n :NERDTreeToggle

" Set local mapleader let mapleader = "_"

" a nice shortcut for ppl with french keyboard layout who don't write french " often; use r (replace) to type it nonetheless map! ç

;)

pandoc " make pdf (^m) :autocmd FileType pdc noremap :w!:!pandoc -s -f markdown -t latex % -o %.pdf

Daniel Hahler

(@blueyed); https://github.com/blueyed/dotfiles/blob/master/vimrc

Max

todo:

yankstack: https://github.com/maxbrunsfeld/vim-yankstack See https://github.com/maxbrunsfeld/vim-yankstack#compatibility if you also use vim-sneak.

Peek into register contents, e.g. from in insert mode: https://github.com/junegunn/vim-peekaboo

Copy & Paste

  • "+y into register clipboard/ctrl+v (+), yank (copy)

  • "+p from register clipboard, paste

  • "*y into register mouse middle click, yank

  • "*p paste ...

  • set clipboard=unnamed

  • set clipboard=unnamedplus

  • vmap "*y

NOTE: Vim unter X11 muss gegen X11 gelinkt sein, um auf Register +/* zuzugreifen. Unter Debian/Ubuntu: vim-gnome notfalls, vim-nox könnte reichen?!

Auto Complete (u.a. Ruby)

Matze (@wikimatze)

Syntaxdetection

  • vim-polyglot Loading language packs on demand - saves a lot of startup time.

Read the output of a Ex command and paste the output in the current

:r! (e.g. :r! ls)

Nice operating system

Startuptime

vim --startuptime /tmp/startup

Browser

wemux

http://martinbrochhaus.com/pair.html

Clipboard

Richard

Meine vimrc (Richard): https://github.com/oracle2025/.vim Goyo: 'junegunn/goyo.vim' WriteRoom, Distraction-free Writing, auch: shortcut um status bar unter tmux zu toggeln: bind h set-option -g status

pandoc make (Unter OSX: PDF-Reader: Skim)

Space as mapleader: http://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/

git client "tig": https://github.com/jonas/tig

Desktop-Manager

[herbstluftwm](http://www.herbstluftwm.org/)

[tmux](http://tmux.sourceforge.net/)

[awesomeWM](http://awesomewm.org/) - https://github.com/awesomeWM/awesome

Vim: Writing

Tricks

Re-load vimrc when changing it:

au BufWritePost $MYVIMRC,~/.dotfiles/vimrc,$MYVIMRC.local nested :source $MYVIMRC

Interessantes Drumherum :)

http://de.forvo.com/ Wörter, ausgesprochen von Menschen aus aller Welt http://youpronounce.it/ ebenfalls Wörter, ausgesprochen von Menschen aus aller Welt - diesmal per Youtube-Suche

= Fragen =

kommt jemand mit zu den Chemnitzer LinuxTagen (CLT)? möchtet ihr da einen track zu Vim aufmachen? und möchte jemand sogar einen stand zu Vim bespassen?

request for feedback: how was the location, food, timing? was habt ihr von dem event mitgenommen? was hat sich an eurem editieren geändert?

welche wünsche habt ihr? was kann man verbessern?

= ZUKUNFT =

das nächste VimFest:

Ort: derselbe. bei Thoughtwork Werstatt bleiben - bis der ort ausgelastet ist?

Zeit: Februar 2016 also noch vor den Chemnitzer Linux-tagen. sozusagen auch als test für die vorträge.

Dauer: drei tage - Freitag, Samstag, Sonntag. socialising am freitag abend. jeweils einen vortrag am Sa und So.

Teilnehmer: max 23. anmeldung per doodle.

Unterbringung: koordinierung über ein textpad. "wer nimmt wen auf?"

Futter: planA: in der nähe. zeit+ort festlegen. evtl reservieren. planB: beim NETTO um die ecke was einkaufen.

Sponsoring IN: firmen fragen. any takers?

Sponsoring OUT: spenden an die organisation geben, die von Bram Moolenaar unterstützt wird. (also http://www.iccf.nl)

Photos: default: okay. und natürlich hat jeder privatmensch ein widerspruchsrecht. aber er muss dann dem photographen bescheid geben.

Inhalt: Workshop für Einsteiger. evtl auch schon beim meetup im Januar+Februar.

Chemnitzer LinuxTage: vorträge einreichen bis zur deadline - voraussichtlich am 7.januar 2016. auch dort kann man workshops geben.