Re: How to keep the cursorline consistent in vim diff?

2019-03-21 Thread Christian Brabandt
On Do, 21 Mär 2019, DwigtArmyOfChampions wrote: > It probably was Vim airline, but I'm not skilled enough to know for sure. I doubt it. vim-airline does only provide a statusline, it doesn't know about cursorline. Best, Christian -- Ist Weltfrieden ohne religiöse Abrüstung überhaupt möglich

Re: Get highest Vim buffer number

2019-03-21 Thread Tony Mechelynck
On Thu, Mar 21, 2019 at 4:53 PM DwigtArmyOfChampions wrote: > > I have the following line in my vimrc file. This is for vimdiff: > > " dp will send middle pane changes to right pane and then immediately > " update. > nnoremap dp :diffput 3 :diffupdate > > However, this only works if I'm using vim

Get highest Vim buffer number

2019-03-21 Thread DwigtArmyOfChampions
I have the following line in my vimrc file. This is for vimdiff: " dp will send middle pane changes to right pane and then immediately " update. nnoremap dp :diffput 3 :diffupdate However, this only works if I'm using vimdiff with three files. If I am diff'ing two files, then calling "diffput 3

Re: How to keep the cursorline consistent in vim diff?

2019-03-21 Thread DwigtArmyOfChampions
On Thursday, March 21, 2019 at 9:45:21 AM UTC-4, Paul wrote: > On Fri, Mar 15, 2019 at 09:20:12AM -0700, DwigtArmyOfChampions wrote: > >I’m using vimdiff on a three-way diff. I first open Vim using the command > >“vimdiff file1.txt file2.txt file3.txt”. I have set cursorline enabled and > >as I a

ex

2019-03-21 Thread Paul
I see that starting Vim as "ex -s", while 'compatible' is set, doesn't open an rc file (as per POSIX ex), but does load plugins. Is that intentional? Should it not be as POSIX like as possible so that one-liners (eg., "ex -s file <<< $'s/foo/bar\nw'") are as compatible and as lightweight as poss

Re: v8.1 indentation change?

2019-03-21 Thread Paul
On Tue, Mar 19, 2019 at 05:24:33AM -0700, Keith wrote: If I have a line that starts, say, one tab in, and then insert a '#' char in col 1, in v8.0 that would be that, but in v8.1, the '#' char gets auto-indented to one tab in, and the remainder of the line is shifted over accordingly. Could t

Re: How to keep the cursorline consistent in vim diff?

2019-03-21 Thread Paul
On Fri, Mar 15, 2019 at 09:20:12AM -0700, DwigtArmyOfChampions wrote: I’m using vimdiff on a three-way diff. I first open Vim using the command “vimdiff file1.txt file2.txt file3.txt”. I have set cursorline enabled and as I arrow down the cursor stays consistent through each of the three window