statusline, display hand-defined IPA or other arbitrary text for character under cursor

2018-05-30 Thread Kenneth Reid Beesley
In my 'set statusline' in .gvimrc, I have a very helpful 0x%04B code that displays the hex code point value (minimum four hex digits, zero padded) of the buffer character under the cursor. In addition to that, I'd like to be able to display an arbitrary hand-defined character or string of

Re: ANN: digraphs outside of Vim

2018-05-30 Thread Shlomi Fish
On Mon, 28 May 2018 20:00:09 +0100 "A. S. Budden" wrote: > All, > > As my job has changed over the years, I find myself spending less time > using Vim and (alas) more time using Outlook. However, one of my > favourite features of Vim for typing (with Pandoc or whatever) is > simplicity of

Re: conditional mapping of , depending on whether plugin exists

2018-05-30 Thread Bok Woon Chua
On Wednesday, 30 May 2018 22:02:53 UTC+8, Luc Hermitte wrote: > Hi, > > - Mail original - > > I use https://github.com/terryma/vim-smooth-scroll and so I bind > > & to ":call smooth_scroll#down(, 5, 2)" & > > ":call smooth_scroll#up(, 5, 2)" respectively. However I > > would like &

Re: vimdiff exit when files are identical?

2018-05-30 Thread Gary Johnson
On 2018-05-30, M Kelly wrote: > > Another way would be to check the fold regions. > > Any pointer/info/tip on how to determine the non-fold region is empty ? I think this will do it. if foldclosedend(1) == line("$") " Entire buffer is a closed fold endif See :help

Re: Bash in :shell vs :terminal

2018-05-30 Thread Jason Franklin
I am aware of "test -t", but I don't see how it helps here. I want the prompt to adjust based on whether I'm using :term or :sh. So, the method needs to work in interactive shell sessions. -- JF -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: conditional mapping of , depending on whether plugin exists

2018-05-30 Thread Luc Hermitte
Hi, - Mail original - > I use https://github.com/terryma/vim-smooth-scroll and so I bind > & to ":call smooth_scroll#down(, 5, 2)" & > ":call smooth_scroll#up(, 5, 2)" respectively. However I > would like & to default to their original behaviour if > the smooth scroll plugin isn't

Re: Bash in :shell vs :terminal

2018-05-30 Thread Chr. von Stuckrad
On Wed, 30 May 2018, Jason Franklin wrote: > I would like for bash to be able to discern whether it is being run with > :shell or with :term. I would assume this would need to be done with an > environment variable. Does this feature to do something like this already > exist? The method I

conditional mapping of , depending on whether plugin exists

2018-05-30 Thread Bok Woon Chua
I use https://github.com/terryma/vim-smooth-scroll and so I bind & to ":call smooth_scroll#down(, 5, 2)" & ":call smooth_scroll#up(, 5, 2)" respectively. However I would like & to default to their original behaviour if the smooth scroll plugin isn't loaded. I've tried this: if

ANN: digraphs outside of Vim

2018-05-30 Thread A. S. Budden
All, As my job has changed over the years, I find myself spending less time using Vim and (alas) more time using Outlook. However, one of my favourite features of Vim for typing (with Pandoc or whatever) is simplicity of entering symbols using Ctrl-K and a two-letter representation of the

Bash in :shell vs :terminal

2018-05-30 Thread Jason Franklin
I would like for bash to be able to discern whether it is being run with :shell or with :term. I would assume this would need to be done with an environment variable. Does this feature to do something like this already exist? -- Jason -- -- You received this message from the "vim_use"

Re: vimdiff exit when files are identical?

2018-05-30 Thread M Kelly
> Another way would be to check the fold regions. Any pointer/info/tip on how to determine the non-fold region is empty ? thx, mark -- -- 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