A simple VIM plugin that allows one to upload blogposts to write.as directly from the buffer.
Switch branches/tags
Nothing to show
Clone or download
Internationa1 Update writeas-vim.vim
Added Version Number
Latest commit 3d563b7 Feb 16, 2018
Failed to load latest commit information.
doc Update Vundle readme Feb 12, 2018
plugin Update writeas-vim.vim Feb 16, 2018
LICENSE.md Uploaded Liscense Jan 28, 2018
README.md Shorten password prompt Feb 12, 2018



Author: international 📧 Buy me a coffee

This is a simple plugin for vim that allows one to upload blogposts to write.as from the VIM Buffer.


The easiest way to install this plugin is, obviously, by a package manager like Pathogen or Vundle.

Plugin 'internationa1/write-as.vim'

Then, add this somewhere into your .vimrc:

" Writeas Blog Info
let g:writeas_b = 'YOUR BLOG'

Now open vim and run :WriteAsAuth

Username: janedoe
Password: *******
Success. Add to .vimrc:
let g:writeas_t = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

And add that line to your .vimrc:

" Writeas Blog Info
let g:writeas_b = 'YOUR BLOG'
let g:writeas_t = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

Optionally you can supply your username and password, instead.

" Writeas User Info
let g:writeas_u = 'YOUR_USERNAME'
let g:writeas_p = 'YOUR_PASSWORD'
let g:writeas_b = 'YOUR BLOG'


Make sure you're in the buffer that you intend to upload as a blog post.

Anonymous Posting

Post Uploaded.

It will then dump some information into the file, for later use:

posted: 2018-01-27 T 03:31:58 Z

Blog Posting

Blog Updated.

It will then dump some information in the file:

posted: 2018-01-27 T 03:33:29 Z

Couldn't be simpler.

Notes & The Future

You must have an account at write.as for this plugin to work. Experimentation with accountless access was tried, but I found that tracking tokens and slugs was a bit too much trouble then its worth, and didn't want to be the one at fault for clogging up write.as with uneditable posts.

Some things in the pipeline:

  1. Retrieving and editing posts
  2. Crossposting