#vim #vimovember
#Vimovember Day 2- Move
Using % to warp between matching brackets is really useful, and can also work in languages like Lua that have specific tokens to begin/end blocks!
#Vimovember Day 2- Move
Using % to warp between matching brackets is really useful, and can also work in languages like Lua that have specific tokens to begin/end blocks!
#Vimovember Day 2 - Move
I like using zt to move the line I'm reading to the top of the screen. zz moves it to the middle and zb to the bottom.
I also often use the H, M and L keys to move my cursor to the High, Middle or Lower part of the screen without scrolling.
The [Flash plugin](https://github.com/folke/flash.nvim) is also a great move plugin : hitting s then the searched letter, which then gets labeled with a target letter to move there in a… flash !
Today, for #Vimovember : moves!
Join us, and share some tips, thoughts about how you use #vim moves :)
The original post about the challenge:
https://lazybea.rs/vim-adp/
#Vimovember Day 1 - Modes
Hitting v gets you into visual mode, where you can select text like a traditional text editor, however you can also access Visual Block mode (ctrl-v) to block-select and (my favorite) Visual Line mode (shift-v) to select entire lines at once!
#Vim modes can be awkward for many users.
The modes are: normal, visual, insert, command, and replace.
One of the thing I use really often, and is unknown to many is to use in Insert mode, ctrl-o.
1/2
Insert mode (hitting 'i', but not only) is the usual mode expected from unaware users : your document gets what you type.
But 'normal' mode is the key ! The keyboard becomes the true language : each key plays a role to boost your interaction with your document. And 'visual' mode (hitting 'v', but not only) is also your selection friend. But wait ! The 'command-line' mode is also there ! So confusing at first (like my post ?), but so great once you get use to it !