Pokemon might be in your open file....
Inspired by awesome Emacs hacker gongo's Pokémon-Emacs.
Vim7.4
🍕 Good luck! 🍕
Set pokemon#getdaze()
to your statusline setting.
set statusline=%<[%n]%m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).':'.&ff.']'}%y%{'[Gotta\ Pokemon\:'.pokemon#getdaze().']'}\ %f%=%{fugitive#statusline()}%l,%c%V\ %P
Pokémon is determined uniquely by your open filename (or buffer-name).
If you using Lightline.vim.
let g:lightline = {
\ 'active': {
\ 'left': [
\ ['mode', 'paste'],
\ ['pokemon']
\ ]
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))',
\ },
\ 'component_function': {
\ 'fugitive': 'LightLineFugitive',
\ 'pokemon': 'Pokemon',
\ 'mode': 'LightLineMode'
\ },
\ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '⮁', 'right': '⮃' }
function! Pokemon()
return pokemon#getdaze()
endfunction
MIT