Last active
December 9, 2018 03:13
-
-
Save b0o/a16d68c958a86e066c038304f1555eba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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