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

in vim, you can also use ">>" command which indents a line. if you use python, your vim is probably already set up to indent four spaces, so the above can be done with "4>>" (=indent next four lines)


One of the few times I find myself in visual mode is when I'm indenting lines. v{motion}>> or <<. Super useful.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: