Blogger.vim is a vim plugin for interfacing with Google’s Blogger. Below I will use my workspace git repository. To use this plugin we need pretty new ruby >= 1.9.2 and gems nokogiri and net-https-wrapper. Let’s install latest possible ruby for Debian, before that make sure you have latest updates:
|
|
And ruby:
|
|
Before we install gems , we need to resolve some dependencies:
|
|
Latest nokogiri 1.5.2 have some issues, so we need to use 1.5.0 which is stable:
|
|
And the wrapper for https:
|
|
Finally also pandoc will be needed to display web pages in vim:
|
|
Right now we are able to run vim with blogger support. First we need to configure vim, add below lines to your $HOME/.vimrc file:
|
|
Run vim and try to list your blogger posts by typing:
|
|
If list of you see all your posts than it seems that plugin works good. Finally check writing feature. Create file with some text and type:
|
|
Few things doesn’t work as it should. Maybe I will find enough time to fix it. This article was created by using blogger.vim script.