包装时移动 updown 显示的行

通常,J 和 K 上下移动文件行。但是当你打开包装时,你可能希望它们在显示的行上下移动。

set wrap " if you haven't already set it
nmap j gj
nmap k gk