←back to thread

143 points sathishmanohar | 1 comments | | HN request time: 0s | source
Show context
bondarchuk ◴[] No.35530993[source]
Nice. There are also WriteRoom (mac) and DarkRoom (win), and on Linux PyRoom, whose website is defunct but which does have a wikipedia page: https://en.wikipedia.org/wiki/PyRoom.

I would just use nano or vim, but their disadvantage is that word wrap, and moving around between wrapped lines, don't work (by default) like you'd want from a plaintext editor.

replies(5): >>35531275 #>>35531691 #>>35533162 #>>35534597 #>>35534665 #
noloblo ◴[] No.35534597[source]
:set wrap would make it work in vim or neovim ?
replies(1): >>35535017 #
1. bongobingo1 ◴[] No.35535017[source]
You also probably want

    :noremap j gj
    :noremap k gk
So j/k operate on "one display line" instead of ignoring wrapping.