Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

vim has it too, powerful indeed

select the block use v or ^v and navigate with hjkl, do commands like c,d

replace string in text selection -> v (or ^v) + hjkl + :s/old/new

comment a block of code (5 lines) with # -> 0 + ^v + 5j + I + # + Esc + j

as a plus, u don't need mouse ... fear the simplicity



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: