I use vim a lot to edit tex files.
When I have lines spanning multiple display lines, most of the time I want to navigate through them with
j (i.e. according to displayed lines, not physical lines).
I tried putting the following lines in my
.vimrc but, not surprisingly, got an error message
nmap j gj nmap gj j
How do I properly swap the effects of two commands?