Skip to content

upamune/esa.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🐤 vimscript for esa.io 🐤

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published