🐤 vimscript for esa.io 🐤
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
doc
plugin
README.md

README.md

esa.vim

This is a vimscript for esa (https://esa.io/).

For the latest version please see https://github.com/upamune/esa.vim.

Usage:

Implemented 🚀

  • Post current buffer to esa

      :Esa path/to/category/name
    
  • Post selected text to esa

      :'<,'>Esa path/to/category/name
    
  • Create a public (sharing post) esa.

      :Esa -p path/to/category/name
    
  • Open the esa on browser after you post

      :Esa -b
    
  • Copy the URL after you post

      :Esa -c
    
  • Create a wip post.

      :Esa -w
    

Install with vim-plug

Add the following lines to your .vimrc.

Plug 'mattn/webapi-vim' | Plug 'upamune/esa.vim'

Now restart Vim and run :PlugInstall.

Install with NeoBundle

Add the following line to your .vimrc.

NeoBundle 'upamune/esa.vim', {'depends': 'mattn/webapi-vim'}

Requirements:

Setup:

You should set a team name.

let g:esa_team = 'docs'

The plugin stores its credentials in ~/.esa-vim.

The token is stored in ~/.esa-vim. If you stop using the plugin, you can easily remove this file.