Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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. VIM

  2. 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
  3. TEXT OBJECTS iw => inner word aw => a word

    ip => inner paragraph i” => inner quotes it => inner tag at => a tag
  4. 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
  5. VIM ESSENTIAL MODES NORMAL MODE => Esc INSERT MODE =>

    i: Insert, a: Append VISUAL MODEL => v, V COMMAND MODE => :, /
  6. 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
  7. 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
  8. 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
  9. HOW TO START WITH VIM Vim tutor Vim adventures Copy

    someone’s .vimrc or .ideavimrc