Skip to content

Instantly share code, notes, and snippets.

@b0o b0o/vim-airline.vim
Last active Dec 9, 2018

Embed
What would you like to do?
function! ReggieStatus()
let l:pasteReg = g:GetPasteReg()
let l:yankReg = g:GetYankReg()
if l:pasteReg == l:yankReg
if l:pasteReg == '"'
return
endif
return 'yp="'.l:pasteReg
endif
return 'y="'.l:yankReg.',p="'.l:pasteReg
endfunction
let g:airline_section_z = airline#section#create(['%n ', '%{ReggieStatus()}%3p%%%4l/%L:%-3v '])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.