About me
• Developer @ “Transact PRO”
• Unhappy with PHP
• In love with Ruby
• Believe in Linux
Slide 3
Slide 3 text
Backup plan
https://www.codebox.io
Slide 4
Slide 4 text
Intro
• Programmer's text editor
• Released publicly in 1991
• Based on the vi editor
• Vim is a tool, the use of which
must be learned.
• Shortcuts & no-mouse
Slide 5
Slide 5 text
My use cases
• Ruby (Rails) development (sometimes)
• One-time source editing (bugfixes, types and etc)
• Editing via SSH (nginx, apache, hosts and etc)
• Diff (rarely)
• Development (Intellij IDEA plugin)
Modes[Command]
• Write - <:>
• Quit - <:>
• Write and quit - <:>
• Write and quit - <:>
• Quit without save - <:>
• Search -
• Next / Prev - /
Slide 15
Slide 15 text
Useful
• § <“> - Delete all in “” and put in insert
mode.
• § <)> - Delete all till first ‘)’
• § <.> - Write some text and repeat
• § <(> - Move cursor to first ‘(‘, backwards
Slide 16
Slide 16 text
Learn vim
• http://www.viemu.com/
a_vi_vim_graphical_cheat_sheet_tutorial.html
• http://vim-adventures.com/
• https://www.shortcutfoo.com
Slide 17
Slide 17 text
Vim projects
• http://neovim.org/ - New next generation
• https://github.com/gmarik/Vundle.vim - Plugin
manager
• https://github.com/Valloric/YouCompleteMe -
Autocompletion
• https://github.com/FylmTM/dotfiles/blob/master/
vim/vimrc - Mine ‘.vimrc’