Wednesday, February 21, 2018

Re: vimdiff - how to jump to next difference in long line - shortcut ]c does not work

@ZyX, I tested:
1. c is ASCII character also ]c can be typed in. I actually do not need
mapping, I would just like to get ]c working. I did the mapping just to test if
something is wrong with the keyboard.

2. Just to make a simple test I created two files with content.
a) create files
file1:
aaa bbb

file2:
aaa ccc

b) open Vim with: gvim -u NONE -N
c) :e file1
d) :vert diffsp file2
e) ]c --> it does nothing. I expect cursor jumps to first letter of bbb.

3. Other diff commands work fine. Like :diffget and :diffput I use all the time
without a problem.

Additionally: It may not be a Windows problem. Now I did a test on Ubuntu 16.04
Server. I did the test from step 2 above and the same problem. Strange... Do I
understand correctly what ]c should do? As I understand the CURSOR should jump
to the first letter of bbb string. Is it?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: