Nicola
未讀,2015年12月12日 上午11:39:292015/12/12登入以回覆作者
登入以轉寄訊息
你的權限不足,無法在這個群組刪除訊息
該群組的電子郵件地址為匿名,或你需要檢視成員電子郵件地址的權限才能查看原始貼文
收件者:vim...@googlegroups.com
I have encountered the following problem: when I open netrw in a split window,
pressing `-` (zero or more times) to go up in the directory tree makes the
cursor jump to a different window. Besides, when this happens, mappings like
`ctrl-w l` stop working. I have to close all but the current window to make
them functional again. I can reproduce this with a fairly minimal vimrc:
set nocompatible
filetype on
filetype plugin on
filetype indent on
Note that I use Pathogen, so the above does not load my plugins.
Steps to reproduce:
1. Open Vim.
2. :Ex and open a file (it is important that you use :Ex).
2. Split the window vertically and move to the right split (i.e., the
new split).
3. :Ex
4. Press - (possibly several times).
Sometimes the cursor jumps even without pressing `-`.
This seems to happen when I open netrw in different splits at different
times, as in the steps above. Can you suggest a fix?
Using Vim 7.4.963 on OS X.
Nicola