Monday, October 4, 2021

Re: opening utf-16 fileencoded ucs-2 Little Endian

On Fr, 01 Okt 2021, Ni Va wrote:

> Already tested, no more result.

I am not sure what you are trying to say. FWIW: a regular UTF16 file
usually comes with a BOM, which allows Vim to detect the encoding
properly. If I use a testfile without a BOM I still can successfully
load it using `:e! ++enc=utf16le`

If this does not work for you can you please show an example file? Or do
you see any error message?

Best,
Christian
--
Besser heimlich schlau als unheimlich blöd.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211004092518.GA1619457%40256bit.org.

Manual join function and encoding

Hey,


I'd like to write some scripts which will act like a join function but manually.


If we open some file, let's say in the computer it's in some binary code where each character is a string of digits. Then I assume these strings get mapped to characters via the encoding; the most standard is UTF-8. I believe in UTF-8 the end of a line would just be a newline character "\n" rather than there being an end of line character "$" and then a newline character "\n", is this correct? Does Vim insert the end of line character "$"? I tried to perform a substitution function on the EOL character "$" but I found nothing was substituted. For this reason I am thinking this is not a character in the actual file. Is this true?


Best,

Julius

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAEsMKX3s8_D%3D4vrC%3DLFKRgQKVqSTJ2PccAcWfHJt3dUw-aPsqg%40mail.gmail.com.

Sunday, October 3, 2021

Re: vim terminal normal mode place cursor with ?

Hi,

I think it might be popup related.
Things are good in a full sized terminal in another tab, but not ok in a popup terminal.

On Friday, October 1, 2021 at 8:59:06 AM UTC-4 mckel...@gmail.com wrote:
Hi,

I think this is a plugin issue.
I am using floaterm and its only inside the floaterm this issue happens.
A full size terminal in another tab works ok.
Sorry for the traffic.

take care,
-m

On Saturday, September 4, 2021 at 10:26:38 AM UTC-4 mckel...@gmail.com wrote:
Hi,

Inside a terminal in vim, when the terminal is in normal mode,
I cannot seem to place the cursor where I left click with the mouse.
I have mouse=a and this works fine in vim when not in a vim-terminal.
A double-click in the vim-terminal in normal mode selects a word but not where I clicked but where the cursor is/was.
Is there a mapping or setting to allow placing the cursor where the click was when inside a vim-terminal in normal mode ?

thx for all things vim,
-m

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/61557470-97f9-44d1-864d-38c957489d07n%40googlegroups.com.

Friday, October 1, 2021

Re: opening utf-16 fileencoded ucs-2 Little Endian

Already tested, no more result.

Le ven. 1 oct. 2021 à 20:18, Christian Brabandt <cb@256bit.org> a écrit :
Sorry only on a phone, but you can use :e ++enc=utf16le filename or similar 

Am 01.10.2021 um 17:38 schrieb Ni Va <nivaemail@gmail.com>:

Hi All,


Got NLOG facility which encode in unicode a logfile that i am unable to open in vim whereas configuration I made.

This screenshot show the properly encoding format sawn by notepad++ (first taskbar with ucs) and the result in Vim with preconfiguration in vimrc

<Capture.PNG>


--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ca62bdf8-28df-4489-93ad-38e59e030ad4n%40googlegroups.com.
<Capture.PNG>

--
--
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/92aX9rHFCeE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/528F969C-E7BF-4CE0-8069-512B2B5A37B8%40256bit.org.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOKxv4G6GdJUgh1s33VRRTcYdo7nN-67u5KEa85_tuvoYWfW6g%40mail.gmail.com.

Re: opening utf-16 fileencoded ucs-2 Little Endian

Sorry only on a phone, but you can use :e ++enc=utf16le filename or similar 

Am 01.10.2021 um 17:38 schrieb Ni Va <nivaemail@gmail.com>:

Hi All,


Got NLOG facility which encode in unicode a logfile that i am unable to open in vim whereas configuration I made.

This screenshot show the properly encoding format sawn by notepad++ (first taskbar with ucs) and the result in Vim with preconfiguration in vimrc

<Capture.PNG>


--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ca62bdf8-28df-4489-93ad-38e59e030ad4n%40googlegroups.com.
<Capture.PNG>

opening utf-16 fileencoded ucs-2 Little Endian

Hi All,


Got NLOG facility which encode in unicode a logfile that i am unable to open in vim whereas configuration I made.

This screenshot show the properly encoding format sawn by notepad++ (first taskbar with ucs) and the result in Vim with preconfiguration in vimrc

Capture.PNG

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ca62bdf8-28df-4489-93ad-38e59e030ad4n%40googlegroups.com.

Re: vim terminal normal mode place cursor with ?

Hi,

I think this is a plugin issue.
I am using floaterm and its only inside the floaterm this issue happens.
A full size terminal in another tab works ok.
Sorry for the traffic.

take care,
-m

On Saturday, September 4, 2021 at 10:26:38 AM UTC-4 mckel...@gmail.com wrote:
Hi,

Inside a terminal in vim, when the terminal is in normal mode,
I cannot seem to place the cursor where I left click with the mouse.
I have mouse=a and this works fine in vim when not in a vim-terminal.
A double-click in the vim-terminal in normal mode selects a word but not where I clicked but where the cursor is/was.
Is there a mapping or setting to allow placing the cursor where the click was when inside a vim-terminal in normal mode ?

thx for all things vim,
-m

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/7486b767-0a3c-4a43-9ca4-613c91ed8d26n%40googlegroups.com.