Re: awkembed.vim

2019-07-14 Thread Christian Brabandt
On So, 14 Jul 2019, 'J S' via vim_use wrote: > > Have a look at :h sh-embed for the general principle. > > I'm assuming that you either didn't read the OP or read it very > quickly, since it (the OP) makes it very clear that I had already done > that. You are making it unnecessary hard to

Re: How can I define a shell function (named `:` would be neat) from a terminal buffe and send commands to current vim clientr?

2019-07-14 Thread Salman Halim
-- Salman On Sun, Jul 14, 2019, 09:18 Christian Brabandt wrote: > > On Sa, 13 Jul 2019, 陈世用 wrote: > > > Like in a terminal buffer, typing: > > > > ``` > > $ :vsp demo.file > > ``` > > > > `:` is the custom shell function's name. > > > > It's expand to `:vsp demo.file` or something. > > I

Re: awkembed.vim

2019-07-14 Thread arocker
> Perl is off-topic in this thread. > > I do not want any discussion of Perl in this thread. > OK, just trying to offer a solution. -- -- 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

awkembed.vim

2019-07-14 Thread 'J S' via vim_use
> Have a look at :h sh-embed for the general principle. I'm assuming that you either didn't read the OP or read it very quickly, since it (the OP) makes it very clear that I had already done that. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: vim crashes in windows when trying to execute python 3 command

2019-07-14 Thread Christian Brabandt
On So, 14 Jul 2019, skeept wrote: > I confirmed that is the case. When I try using another python distribution it > doesn't crash. > I hope at some point vim or conda can fix the issue, for now my best choice > is to find time to compile vim without python. It is probably an implementation

Re: vim crashes in windows when trying to execute python 3 command

2019-07-14 Thread skeept
> Although nowhere stated explicitly, I believe Vims python implementation > is not exactly compatible with conda. Please try with a normal python > distribution. > > > Best, > Christian > -- > Man soll die lieben, über die man befielt, aber man soll es ihnen > nicht sagen. >

Re: execute an alias with vim

2019-07-14 Thread Christian Brabandt
On Mi, 10 Jul 2019, Mathieu Roux wrote: > Hello, > > I use many text files to write many things on my laptop, and i use > aliases to access them. > For exemple, suppose that i have the alias "foo" to access ~/bar with > vim. > > alias foo='vim ~/bar' > > So it works when i write "foo"

Re: Code folding not working for restructuredText (.rst) after 8.1-153

2019-07-14 Thread Christian Brabandt
On Mo, 01 Jul 2019, Steve Canny wrote: > After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working > for restructuredText (rst) file-type. Reverting to version 8.1-153 restores > that functionality. > > :e foobar.rst > > -> file opens with text fully expanded > > zc > >

Re: awkembed.vim

2019-07-14 Thread Christian Brabandt
On Sa, 13 Jul 2019, 'J S' via vim_use wrote: > (On the subject of syntax highlighting languages embedded in other languages) > > I frequently write (bash) shell scripts with embedded AWK scripts, and I've > found the awkembed.vim script quite useful. I have it installed at: > >

Re: vim crashes in windows when trying to execute python 3 command

2019-07-14 Thread Christian Brabandt
On Sa, 13 Jul 2019, skeept wrote: > I had to change computers recently. In my previous computer I was compiling > vim with python to avoid this issue also, but I had no time to compile it yet > so I downloaded a 64 bit build of vim for windows: > > MS-Windows 64-bit console version > Included

Re: How can I define a shell function (named `:` would be neat) from a terminal buffe and send commands to current vim clientr?

2019-07-14 Thread Christian Brabandt
On Sa, 13 Jul 2019, 陈世用 wrote: > Like in a terminal buffer, typing: > > ``` > $ :vsp demo.file > ``` > > `:` is the custom shell function's name. > > It's expand to `:vsp demo.file` or something. I think it is unclear, what you are asking exactly. Please clarify. Best, Christian --

Jumplist oddity

2019-07-14 Thread Axel Bender
Given two files A, and B, with the following jump lists: A: 3: Text A2 2: Text A1 1: > B: 3: Text in B2 2: Text in B1 1: > Starting from B, how would I ever be able to reach position "Text in B1" using ? And - as this is a rhetorical question - how could we improve this

How can I define a shell function (named `:` would be neat) from a terminal buffe and send commands to current vim clientr?

2019-07-14 Thread 陈世用
Like in a terminal buffer, typing: ``` $ :vsp demo.file ``` `:` is the custom shell function's name. It's expand to `:vsp demo.file` or something. -- -- 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