Monday, October 2, 2017

Re: Can't append line from unnamed buffer to file opened

Workaround (not found by me): 

.w !cat >> f1.txt

Le lun. 2 oct. 2017 à 17:17, alexandre viau <alexandreviau@gmail.com> a écrit :
:edit f1.txt
:new
write some text on current line
:.w! >> f1.txt
Then there is the error message "E139: File is loaded in another buffer"

Le lun. 2 oct. 2017 à 17:07, Christian Brabandt <cblists@256bit.org> a écrit :

On Mo, 02 Okt 2017, av wrote:

> Hi,
>
> Does somebody know why I cannot append a line from a unnamed buffer (current buffer) to a file that is opened in another buffer? I get the message that the file is opened in another buffer, even if I add the !
>
> Thanks,

Please give exact reproduction steps.

Christian
--
*Optische Täuschungen II*

Welches Dreieck ist am dreieckigsten?

a) ein Dreieck           c) ein Dreieck mit den Winkeln 60-55-65=180
b) ein anderes Dreieck   d) ein Dreieck mit den Maßen 90-60-90

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/GU5yrKXTyrQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment