summaryrefslogtreecommitdiffstats
path: root/vim/files/ftplugin/tex.vim
blob: 72097c47b68cc11e6a86a49216d0bf0b467aa802 (plain)
1
2
3
4
5
setl lbr
nnoremap <expr> j v:count ? 'j' : 'gj'
vnoremap <expr> j v:count ? 'j' : 'gj'
nnoremap <expr> k v:count ? 'k' : 'gk'
vnoremap <expr> k v:count ? 'k' : 'gk'