diff options
author | johannst <stoelp@eit.uni-kl.de> | 2017-06-14 10:03:58 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2017-06-14 10:03:58 +0200 |
commit | da812c03a668e9b22a07a277510e73c0585d3faf (patch) | |
tree | 1ffee40cde898db5ef8ea74f73d2b8b29899a83e | |
parent | 1fb322dd4753ba0564ce664ee2ee860d351e4cef (diff) | |
download | dotfiles-da812c03a668e9b22a07a277510e73c0585d3faf.tar.gz dotfiles-da812c03a668e9b22a07a277510e73c0585d3faf.zip |
vimrc: Move wrapped lines line by line in aync buffer
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -512,6 +512,9 @@ if v:version>=800 execute 'setlocal noswapfile' execute 'setlocal wrap' nnoremap <buffer> <CR> :call <SID>OpenFirstFileNameMatch()<CR> + " go line by line in wrapped lines + nnoremap <buffer> j gj + nnoremap <buffer> k gk return l:buffer_num endfunction |