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

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