idanarye / vim-dutyl

Coordinate D tools to work together for you
http://www.vim.org/scripts/script.php?script_id=5003
79 stars 13 forks source link

Jumping to a buffer that's open in another window #6

Closed idanarye closed 9 years ago

idanarye commented 9 years ago

Discovered by @shachar

  1. Open two windows
  2. :DUjump somewhere in the first window
  3. Move the the second window
  4. :DUjump to the same place

The cursor will move to the first window, but the second window will also move to the same file.

idanarye commented 9 years ago

Actually, the cursor moves to the first window(ordered by Vim's window numbers) that has that file open