summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2016-01-22 01:58:36 +0100
committeryushyin <yushyin@saga>2016-01-22 01:58:36 +0100
commitb8f0e4519c291c81b8f4d48827045f772ae10a55 (patch)
treec78eadf674bc17610a593f544fcc8f1fafd11aba /vim
parent56d22bed1b7ef27a06e5aef3cf3fcf870cd7f989 (diff)
downloaddotfiles-b8f0e4519c291c81b8f4d48827045f772ae10a55.tar.gz
dotfiles-b8f0e4519c291c81b8f4d48827045f772ae10a55.tar.xz
Vim: Set linebreak option for tex files
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/tex.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim
index d3ea831..72097c4 100644
--- a/vim/ftplugin/tex.vim
+++ b/vim/ftplugin/tex.vim
@@ -1,3 +1,4 @@
+setl lbr
nnoremap <expr> j v:count ? 'j' : 'gj'
vnoremap <expr> j v:count ? 'j' : 'gj'
nnoremap <expr> k v:count ? 'k' : 'gk'