$30 off During Our Annual Pro Sale. View Details »

IdeaVim is a king by Nemanja Vasic [INIT 2022]

IdeaVim is a king by Nemanja Vasic [INIT 2022]

In this presentation I will speak about my experience with using IdeaVim, how I started, why I am using it and why I think that IdeaVim is a King. I will go through some basic Vim features and at the end I will do a small demo to demonstrate IdeaVim.

About the speaker:
Full-stack developer with 5+ years of professional experience. Motivated to try different technologies in order to contribute to the development of his clients and accelerate their growth.

INIT conference

September 28, 2022
Tweet

More Decks by INIT conference

Other Decks in Programming

Transcript

  1. None
  2. IDEA VIM IS A KING

  3. $ WHOAMI https://github.com/GoodbyePlanet

  4. PRODUCTDOCK

  5. WHAT THIS TALK IS NOT ABOUT

  6. VIM

  7. IDEA VIM

  8. HOW MY VIM JOURNEY STARTED

  9. VIM AS LANGUAGE Verbs (operators), nouns, adverbs Verbs => d:

    delete, c: change, y: yank/copy, p: paste, v:visual Nouns => w: word, s: sentence, b: block, t: tag, p: paragraph Adverbs => i: inside, a: around, t: until something, f: find something, num: number
  10. TEXT OBJECTS iw => inner word aw => a word

    ip => inner paragraph i” => inner quotes it => inner tag at => a tag
  11. BUILDING COMMANDS dw => delete word d3w => delete three

    words dt. => delete until dot ci( => change inside parentheses ct} => change until closing curly bracket yip => copy inside paragraph
  12. VIM ESSENTIAL MODES NORMAL MODE => Esc INSERT MODE =>

    i: Insert, a: Append VISUAL MODEL => v, V COMMAND MODE => :, /
  13. BASIC MOVEMENTS k => move up one line j =>

    move down one line h => move left one character l => move right one character w => move by one word forward b => move by one word back 0 => move to beginning of the line $ => move to the end of the line
  14. COMBINING WITH NUMBERS 3j => move three lines down 3k

    => move three lines up 3w => move three words forward 5$ => move to the end of the fifth line down 6+ => move six lines down to first non-blank character
  15. BASICS :w => write changes to file :wq => write

    changes and exit vim :q! => get out of vim (quit), but without saving your changes (!) Or better/faster way ZZ => write changes and exit vim ZQ => get out of vim without saving your changes
  16. DEMO

  17. HOW TO START WITH VIM Vim tutor Vim adventures Copy

    someone’s .vimrc or .ideavimrc
  18. THANK YOU!

  19. None