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

I don't even know how to type an inversed semicolon.


In vim just do (copy and paste it if you don't know how to get the initial ⁏):

   :imap <buffer> l ⁏
and whenever you want an inverted semi, type l. For best effects put that line in your ftplugin directory, in semi.vim (or whatever your autodetect filetype name for semicolon is).

some people like to map j to ⁏ and k to ;, other like to map f to ⁏ and j to ;, but this is all just homerow keeping. I'm a purist, i like to keep the mappings minimal.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: