Top Banner
Vim & Tmux
66

Vim and tmux

Aug 05, 2015

Download

Technology

Zhann_
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Vim and tmux

Vim & Tmux

Page 2: Vim and tmux

Opinionated

Page 3: Vim and tmux
Page 4: Vim and tmux

Vim Learning Curve

Page 5: Vim and tmux

self-investment

💰

Page 6: Vim and tmux

hardcore vim hacker lore

• caps lock to escape

• no mouse

• no arrow keys

• truly hardcore: no hjkl keys

• speed !11!11!!!

Page 7: Vim and tmux

hardcore vim hacker lore

• caps lock to escape

• no mouse

• no arrow keys

• truly hardcore: no hjkl keys

• speed !11!11!!!

Page 8: Vim and tmux
Page 9: Vim and tmux
Page 10: Vim and tmux

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/

Page 11: Vim and tmux

Vim speed is not really the point

http://bit.ly/1BdVMKP

Page 12: Vim and tmux
Page 13: Vim and tmux
Page 14: Vim and tmux

Upgrade Vim

$ brew install vim

Page 15: Vim and tmux

Vim Basics

$ vimtutor

Page 16: Vim and tmux

Vim Adventures

Page 17: Vim and tmux

Vim Modes

• Normal: navigation & text manipulation

• Insert: type text

• Visual: selecting text & text manipulation

Page 18: Vim and tmux
Page 19: Vim and tmux

ci(

Page 20: Vim and tmux

ci”

Page 21: Vim and tmux

di(

Page 22: Vim and tmux

ct”

Page 23: Vim and tmux

ctw

Page 24: Vim and tmux

{command}{motion and/or object}

dw

dtw

Page 25: Vim and tmux

Amazing . (dot)

Page 26: Vim and tmux

.

Page 27: Vim and tmux

Amazing . (dot)

Page 28: Vim and tmux
Page 29: Vim and tmux
Page 30: Vim and tmux

:earlier 2mins

Page 31: Vim and tmux

self-investment

💰

Page 32: Vim and tmux

Config & Plugins

Page 33: Vim and tmux

~/.vimrc

Page 34: Vim and tmux

~/.vim/

Page 35: Vim and tmux

pathogen.vim

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

Page 36: Vim and tmux

Vim-sensible

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

Page 37: Vim and tmux

Vim-sensible

Page 38: Vim and tmux

Clipboard sharing

Page 39: Vim and tmux

CtrlP

Page 40: Vim and tmux

NERDTree

Page 41: Vim and tmux

Syntastic

Page 42: Vim and tmux

Vim is Personal

Page 43: Vim and tmux

Steven

Page 44: Vim and tmux

Frederik

Page 45: Vim and tmux

Thomas

Page 46: Vim and tmux

Joren

Page 47: Vim and tmux

Vic

Page 48: Vim and tmux

Mike

Page 49: Vim and tmux

Dotfiles

https://dotfiles.github.io

Page 50: Vim and tmux

Practical Vim

Page 51: Vim and tmux

Vim cheat sheet

Page 52: Vim and tmux

Key repeat

Page 53: Vim and tmux
Page 54: Vim and tmux

$ brew install tmux

Page 55: Vim and tmux

Terminal Multiplexer

Page 56: Vim and tmux
Page 57: Vim and tmux

demo

Page 58: Vim and tmux

.tmux.conf

Page 59: Vim and tmux

.tmux.conf

Page 60: Vim and tmux

.tmux.conf

Page 61: Vim and tmux
Page 62: Vim and tmux
Page 63: Vim and tmux

remote pairing

Page 64: Vim and tmux

tmux pairing

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

Page 65: Vim and tmux

Thank you!

Page 66: Vim and tmux

Questions?