Pergunta

Eu configurei a Macvim para trabalhar com o NetRW para edição remota (yaaay!), Mas sempre que salvo um arquivo, recebo o seguinte erro:

:!scp -q '/var/folders/PN/PNhWJAr5GGC0WfeLdFgWV++++TU/-Tmp-/v771493/0' 'remot_host:path/remote_file.css'

Press ENTER or type command to continue

Batendo Digitar Remove e posso editar novamente. Não sei o que é e é irritante, mas talvez não quebrado.

Pontas?

Foi útil?

Solução

I realized this problem wasn't unique to MacVim and thus looked in the pi_netrw documentation (help netrw-p10).

set cmdheight=3 in .vimrc removes the prompt when saving a file, but not when opening. That is an enough solution for me.

Outras dicas

It's probably much better to change it temporary, while reading new file:

au BufReadPre   * set cmdheight=3
au BufReadPost  * set cmdheight=1
au BufWritePre  * set cmdheight=3
au BufWritePost * set cmdheight=1
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top