Vim and tmux

66
Vim & Tmux

Transcript of Vim and tmux

Vim & Tmux

Opinionated

Vim Learning Curve

self-investment

đź’°

hardcore vim hacker lore

• caps lock to escape

• no mouse

• no arrow keys

• truly hardcore: no hjkl keys

• speed !11!11!!!

hardcore vim hacker lore

• caps lock to escape

• no mouse

• no arrow keys

• truly hardcore: no hjkl keys

• speed !11!11!!!

Everyone Who Tried to Convince Me to

use Vim was Wronghttp://yehudakatz.com/2010/07/29/everyone-who-

tried-to-convince-me-to-use-vim-was-wrong/

Vim speed is not really the point

http://bit.ly/1BdVMKP

Upgrade Vim

$ brew install vim

Vim Basics

$ vimtutor

Vim Adventures

Vim Modes

• Normal: navigation & text manipulation

• Insert: type text

• Visual: selecting text & text manipulation

ci(

ci”

di(

ct”

ctw

{command}{motion and/or object}

dw

dtw

Amazing . (dot)

.

Amazing . (dot)

:earlier 2mins

self-investment

đź’°

Config & Plugins

~/.vimrc

~/.vim/

pathogen.vim

https://github.com/tpope/vim-pathogen

Vim-sensible

https://github.com/tpope/vim-sensible

Vim-sensible

Clipboard sharing

CtrlP

NERDTree

Syntastic

Vim is Personal

Steven

Frederik

Thomas

Joren

Vic

Mike

Dotfiles

https://dotfiles.github.io

Practical Vim

Vim cheat sheet

Key repeat

$ brew install tmux

Terminal Multiplexer

demo

.tmux.conf

.tmux.conf

.tmux.conf

remote pairing

tmux pairing

http://collectiveidea.com/blog/archives/2014/02/18/a-simple-pair-programming-setup-with-ssh-and-tmux/

Thank you!

Questions?