Creating markdown style links in markdown

2022-08-07 Thread Eric Weir
Previously I have been able to set markdown style links—[name](name.md)--to a new file by doing on a word or visual selection of words and then navigate back to the file in which the link was set. That experience has been with vimwiki and, more recently, wiki.vim. Difficulties executing wik

Creating markdown style links in markdown

2022-08-07 Thread Eric Weir
Previously I have been able to set markdown style links—[name](name.md)--to a new file by doing on a word or visual selection of words and then navigate back to the file in which the link was set. That experience has been with vimwiki and, more recently, wiki.vim. Difficulties executing wik

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Maxim Kim
And this is actually cursorhold, and I can filter it out with if key == "\" return true ... Full snippet: vim9script def Test() var prompt: string = '' const wid: number = popup_create('', { minwidth: 20, maxheight: 1, mapping: false,

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Maxim Kim
The issue is with windows gvim 9.0.133 I have tried the same in fedora36 vim 9.0.161 and it doesn't have this. воскресенье, 7 августа 2022 г. в 18:49:03 UTC+3, Maxim Kim: > > It looks like it happens on cursorhold event, not 100% sure though. > > Indeed, if I change `set updatetime=1000` then I

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Maxim Kim
It looks like it happens on cursorhold event, not 100% sure though. Indeed, if I change `set updatetime=1000` then I get this every second: vim9script def Test()     var prompt: string = ''     const wid: number = popup_create('', {     minwidth: 20,     maxheight: 1,     mappin

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Maxim Kim
On 2022-08-07 17:53, Bram Moolenaar wrote: Don't see it in the GIF. in the message area at the end of gif <80>` here probably is a third byte that you don't see. Third byte is ` 0x80 0xfd is a prefix for a special key. There is a list in src/keymap.h, "enum key_extra". I have checke

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Salman Halim
Salman On Sun, Aug 7, 2022, 10:53 Bram Moolenaar wrote: > > Maxim Kim wrote: > > > Hi, currently there is no built-in way to have a prompt in a popup > window > > so am trying to fake it with filtering. > > > > While in the early stages, I found out that the filter func constantly > gets > > <80

Re: popup window filter, what is <80>` ?

2022-08-07 Thread Bram Moolenaar
Maxim Kim wrote: > Hi, currently there is no built-in way to have a prompt in a popup window > so am trying to fake it with filtering. > > While in the early stages, I found out that the filter func constantly gets > <80>` value. > > What is this? > How can I properly filter it out? > > Wit

popup window filter, what is <80>` ?

2022-08-07 Thread Maxim Kim
Hi, currently there is no built-in way to have a prompt in a popup window so am trying to fake it with filtering. While in the early stages, I found out that the filter func constantly gets <80>` value. What is this? How can I properly filter it out? With the following code: vim9script expor