Presentation is loading. Please wait.

Presentation is loading. Please wait.

7enn.com.

Similar presentations


Presentation on theme: "7enn.com."— Presentation transcript:

1 7enn.com

2 Why VIM? Lightweight Everywhere Remote coding via ssh Pair programming (ssh + tmux) Important skill (like regex) Feel Stupid, Learn Something

3 Learning

4 versions 7.3+ Vi (vim) Gui-vim (macvim, gvim on windows\linux)

5 Configuration.vim file.vim directory Vim scripts and plugins Google “vim Janus” Github astrails dotvim

6

7

8

9

10 Favorite Plugins Surround plugin Rails Nerdtree Command-t (fuzzy finding)

11 Favorite keys Cw and ciw S) Shift-v to line selection Cc to change line Dd to delete line

12 Practice cw Load up piece of text Use / to find instance of ‘the’ Use ‘cw’ to change ‘the’ to ‘your’ Use ‘esc’ and then ‘n’ to move to next find Use ‘.’ to repeat Use ‘n’ and ‘.’ to repeat as many times as possible

13 Practice ciw Load up piece of text Use / to find instance of ‘he’ Use ‘ciw’ to change ‘the’ to ‘your’ Use ‘esc’ and then ‘n’ to move to next find Use ‘.’ to repeat Use ‘n’ and ‘.’ to repeat as many times as possible

14 Practice o and O Load up piece of text Use j to go to 2 nd line For each line use shift O to enter a line above and o to insert a line below Use. To repeat actions

15 Other vims vsVim for visual studio ViEmu for Word Vimium and vimperator for firefox and chrome Vi-like command line in zsh (configure yourself)

16


Download ppt "7enn.com."

Similar presentations


Ads by Google