voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.47k stars 78 forks source link

我想在不隐藏floaterm窗口的情况下,重新进入vim下编辑,请问我应该怎么做。 #371

Closed Timemanagerplus closed 2 years ago

Timemanagerplus commented 2 years ago

Environment

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

" Configuration example                                                                                                                                                                                                                                                                                                     
let g:floaterm_keymap_new    = '<F7>'                                                                                                                                                                                                                                                                                       
let g:floaterm_keymap_prev   = '<F8>'                                                                                                                                                                                                                                                                                       
let g:floaterm_keymap_next   = '<F9>'                                                                                                                                                                                                                                                                                       
let g:floaterm_keymap_toggle = '<F12>'    

Describe your question, feature request, or bug.

我想在不隐藏floaterm窗口的情况下,重新进入vim下编辑,请问我应该怎么做。

Steps to reproduce

voldikss commented 2 years ago

先回到 normal 模式,然后要么

:wincmd p

要么 ctrl-w p

Timemanagerplus commented 2 years ago

如果不Hide窗口的话,我该怎么进入normal模式呢?

voldikss commented 2 years ago

<Ctrl->

Timemanagerplus commented 2 years ago

请问是没有打全吗? image 我看到的是这样的。

voldikss commented 2 years ago

抱歉被当成 markdown 注释了

<Ctrl-\><Ctrl-n>
Timemanagerplus commented 2 years ago

非常感谢您前面的回答,但是我按您说的去做了以后,他报了下面的错误

E21: Cannot make changes, 'modifiable' is off
Timemanagerplus commented 2 years ago

Peek 2022-09-03 23-45