E994: Not allowed in a popup window

閲覧: 63 回
最初の未読メッセージにスキップ

mckel...@gmail.com

未読、
2021/01/18 10:03:462021/01/18
To: vim_use
Hi,

If I use vifm in a vim terminal window and I use <C-w>w to switch to preview window to scroll the file preview I get this -

E994: Not allowed in a popup window

Does anyone know if there is any way to get this to work ?

thx,
-m

mckel...@gmail.com

未読、
2021/01/18 12:13:542021/01/18
To: vim_use
Hi,

I just wanted to add, I am not trying to go back to main window - I am just wanting to send <C-w>w in app in terminal window for it to use internally.

thx,
-m

Bram Moolenaar

未読、
2021/01/18 12:55:592021/01/18
To: vim...@googlegroups.com、mckel...@gmail.com

> I just wanted to add, I am not trying to go back to main window - I am
> just wanting to send <C-w>w in app in terminal window for it to use
> internally.

Try using CTRL-W . w
The dot means "this terminal". See ":help t_CTRL-W_."

--
The CIA drives around in cars with the "Intel inside" logo.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

mckel...@gmail.com

未読、
2021/01/18 13:08:462021/01/18
To: vim_use
Bram, hi

Thanks so much!  That works great.
If <C-w>w in a vim terminal will always get me E994 then do you see a reason to not add something like:

tnoremap <C-w>w  <C-w>.w

to my .vimrc ?

thx for vim,
-m

mckel...@gmail.com

未読、
2021/01/18 15:29:572021/01/18
To: vim_use
Hi again,

Specifically for vifm, I just discovered <S-Tab> works to switch to/from preview window.

take care,
-m
全員に返信
投稿者に返信
転送
新着メール 0 件