> ## Content Index
> Fetch the complete content index at: https://lucas-schiavini.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Daily Dispatch 23 - VI Improved (VIM)
- URL: https://lucas-schiavini.com/daily-dispatch-23-vi-improved-vim/
- Published: 2022-04-29T00:47:26.000Z
- Updated: 2022-08-16T14:43:05.000Z
- Author: Lucas Schiavini
- Tags: vim, dailydispatch, #Import 2026-08-11 14:49

So I’ve been playing around with [Vim](https://www.vim.org/?ref=lucas-schiavini.com), the improved version of [VI](https://www.howtogeek.com/102468/a-beginners-guide-to-editing-text-files-with-vi/?ref=lucas-schiavini.com) from old operational systems.

---

It’s been very challenging so far, I haven’t really wrapped my head around all the neat commands, and switching from the 3 modes (VISUAL, NORMAL, INSERT) is still taking some time.

But as soon I have more confidence on what I’m doing around with VIM, I might drop a post about it.

So far what I’ve learned, I learned from [Fireship](https://www.youtube.com/watch?v=-txKSRn0qeA&list=PLR9M6ZvFAyEx8hgO0IButmn0GM-3JOPm8&index=31&ref=lucas-schiavini.com) and some playing around on [VSCodeVim](https://vimforvscode.com/?ref=lucas-schiavini.com) extension alongside with [LearnVim](https://marketplace.visualstudio.com/items?itemName=vintharas.learn-vim&ref=lucas-schiavini.com).

So there are three basic modes when editing with vim.

- Visual -> some magical mode I’ve barely played with. (Selection and editing text)
- Normal -> where you feel lost because typing doesn’t seem to work. (Moving around and editing)
- Insert -> regular text editor (type text)

So why is the Normal mode not just text mode? Some research indicated that when dealing with code, people tend to spend most of the time editing or navigating it, NOT writing it.

So Vim came up with the idea of different modes of operation that allows your keyboard to manipulate all the text as needed, and navigate easily.

Here’s some commands on Normal mode:

- :q -> exit vim (hahahha I remember rebooting computers because I couldn’t exit it)
- hjkl (left, down, up, right)
- iIaA – editing in line
- xr – making changes while in command mode
- w – move to beginning of next word
- y – yank (copy)
- p – paste
- w – to move word by word
- b – to move backwards word by word
- W – to move word by WORD
- B – to move backwards WORD by WORD
- e – to jump to the end of a word
- ge – to jup to the end of the previous word
- `E` is like `e` but operates on WORDS
- `gE` is like `ge` but operates on WORDS
- Previous command – : then ctrl+p shows your previous command, i.e., moving backward through your vim command history. ctrl+n moves forward.

That is it for today I believe, I hope I can get to multi-line editing soon.