Vim from a ...
...bla bla bla

MAD · NOV 23-24 · 2018

@Jimeno0

begginer/junior/hypster/dummy web developer

 

Jimeno0

Carlos P. Jimeno

MAD · NOV 23-24 · 2018

@Jimeno0

About the title

MAD · NOV 23-24 · 2018

@Jimeno0

Vim from a

Beginner

Junior

Hypster

Dummy

Web developer

MAD · NOV 23-24 · 2018

@Jimeno0

WHAT & WHY

🤔

Extensibility

Composability

💥

MAD · NOV 23-24 · 2018

@Jimeno0

Extensibility

forward-word

move-end-of-line

end-of-file

begin-of-file

moveCursorToBeginningOfNextWord()

moveCursorToEndOfLine()

moveCursorToBottom()

moveCursorToBeggin()

MAD · NOV 23-24 · 2018

@Jimeno0

Composability

forward-word

move-end-of-line

end-of-file

begin-of-file

w

$

G

gg

MAD · NOV 23-24 · 2018

@Jimeno0

Extensibility

delete-word

delete-line

delete-end-line

deleteToEndOfWord()

deleteLine()

deleteToEndOfLine()

MAD · NOV 23-24 · 2018

@Jimeno0

Composability

delete-word

delete-line

delete-end-line

d

MAD · NOV 23-24 · 2018

@Jimeno0

MAD · NOV 23-24 · 2018

@Jimeno0

Composability

delete-word

delete-line

delete-end-line

delete-to-end-file

delete-to-begin-file

delete-4-lines-bellow

delete-inside-quotes

delete-32-words-above

delete-till-next-dot

...

d

w

d

d$

G

gg

4j

i"

32k

t.

...

MAD · NOV 23-24 · 2018

@Jimeno0

Operators & Motions

function concat (wat, man) {
  return `${wat}${man}`;
}

MAD · NOV 23-24 · 2018

@Jimeno0

MAD · NOV 23-24 · 2018

@Jimeno0

Operators & Motions

c
i)
d
y
i}
ip
iw
3j

MAD · NOV 23-24 · 2018

@Jimeno0

The dark side of Vim

MAD · NOV 23-24 · 2018

@Jimeno0
Learning vim is too hard

MAD · NOV 23-24 · 2018

@Jimeno0

Three modes

  • Normal mode
  • Insert mode
  • Visual mode
  • Line mode

MAD · NOV 23-24 · 2018

@Jimeno0
But can Vim do...

Linter

Syntax highlint

Autocomplete

Find in files

Use a files tree

Find and replace

Snippets

MAD · NOV 23-24 · 2018

@Jimeno0
Vim is not as cool as my editor

MAD · NOV 23-24 · 2018

@Jimeno0
...But its not cool by default
.vimrc

MAD · NOV 23-24 · 2018

@Jimeno0

MAD · NOV 23-24 · 2018

@Jimeno0

Get started with .vimrc

Git it

Steal from others

Even mine 🤪

MAD · NOV 23-24 · 2018

@Jimeno0

Vim is everywhere

  • Cross platform
  • Launches from terminal
  • All config in .vimrc

MAD · NOV 23-24 · 2018

@Jimeno0

Grandma tips

MAD · NOV 23-24 · 2018

@Jimeno0

Get started

MAD · NOV 23-24 · 2018

@Jimeno0

Get started

vimtutor

MAD · NOV 23-24 · 2018

@Jimeno0

Break up with your mouse

(Even with those sexy arrow keys)

MAD · NOV 23-24 · 2018

@Jimeno0

Hack your keyboard

Increase key repeat

&

Decrease delay until repeat

MAD · NOV 23-24 · 2018

@Jimeno0

Hack your keyboard

Remap Caps lock to Control

MAD · NOV 23-24 · 2018

@Jimeno0

Hack your keyboard

Use US Qwerty

MAD · NOV 23-24 · 2018

@Jimeno0

Final thoughts

MAD · NOV 23-24 · 2018

@Jimeno0

Practise

(a lot)

MAD · NOV 23-24 · 2018

@Jimeno0

Dont break up with your editor

...yet 😏

MAD · NOV 23-24 · 2018

@Jimeno0

The oni project

MAD · NOV 23-24 · 2018

@Jimeno0

Check the help

MAD · NOV 23-24 · 2018

@Jimeno0

Learn something new every week

MAD · NOV 23-24 · 2018

@Jimeno0

Dont give up

Hard learning curve

 

Easy to be efficient

 

Never stop learning

 

Side effects: More efficient from terminal

MAD · NOV 23-24 · 2018

@Jimeno0

Efficient

MAD · NOV 23-24 · 2018

@Jimeno0

Tmux ❤ Vim

Bonus

MAD · NOV 23-24 · 2018

@Jimeno0

Resources

MAD · NOV 23-24 · 2018

@Jimeno0

Resources

Articles

MAD · NOV 23-24 · 2018

@Jimeno0

Talks

Resources

MAD · NOV 23-24 · 2018

@Jimeno0

Resources

Others

MAD · NOV 23-24 · 2018

@Jimeno0

🎉

Vim from a

By Carlos Pérez Jimeno