I'm trying to learn vim, (finished vimtutor), and I figured since a lot of Jow Forums uses these type of editors, a friendly tutorial thread might be fun.
One question I have in regard to vim is, outside of the baseline tutorial, what do you recommend learning how to use first?
Friendly Text Editor /fte/
Carson Gonzalez
Wyatt Hughes
Why aren't you using GNU nano?
Adrian Perez
Chase Myers
Because you can't flex with it
Luke Allen
I'm still a vim newfag but these vimrc settings are necessary in my mind
set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
Henry Walker
Notepad++
Austin Green
how do vim people live without org-mode?
Jason Wright
I like to be able to comment out a block of code easily, by using visual to select it, then these to add the comment symbol; put these in your .vimrc
vmap # :s/^/#/
vmap r :s/^[;#]//
vmap ;; :s/^/;/
the first one adds an "#" to each line, like a bash script comments
the third one adds an ";" to each line, like AVR assembler comments
the second one removes those symbols to re-enable that code
Joseph Green
I dont document anything lmao
Liam Taylor
Any other vimrc tips?