Home

Awesome

mstdn-editor.vim

Editor-window opener for mstdn.vim.

output

Usage

Use the API and open the window, edit the content, and send it with :w, ZZ or etc.

Installation

Read this.

API

For more information, read the doc.

Keybinding(s)

KeyDescription
<Plug>(mstdn-editor-open)Open editor window according to the current window.

Function(s)

FunctionDescription
mstdn#editor#open(user, opts = {})Open editor window with specified user and options.
mstdn#editor#set_user(user)Change editing user of the current editor window.
mstdn#editor#get_statusparams({bufnr})Get current CreateStatusParams of the editor.

Variable(s)

VariableDescription
g:mstdn_editor_openerCommand used to open the windows. Default is 4new.

Related projects