Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Neovim plugin to read, write and post articles on dev.to

License

NotificationsYou must be signed in to change notification settings

Massolari/devto.nvim

Repository files navigation

This plugin integrates Neovim withdev.to

Gravacao.de.Tela.2022-06-25.as.00.01.26.mov
Gravacao.de.Tela.2022-06-25.as.00.04.27.mov

Summary

Features

  • View and edit your articles
  • Create a new article
  • View the feed of articles
  • View an article from the feed

Dependencies

You can use the plugin without any dependencies, but if you have any of the following plugins installed, the plugin will use them to enhance the experience:

Installation

Usinglazy:

{"Massolari/devto.nvim",dependencies= {-- Optional-- "nvim-telescope/telescope.nvim",-- or "ibhagwan/fzf-lua"    }}

Usingpacker:

use {"Massolari/devto.nvim",requires= {-- Optional-- "nvim-telescope/telescope.nvim",-- or "ibhagwan/fzf-lua"    }}

Setup

First, you need to generate an API key for the DEV platform.

For dev.to, you can do it inthe end of the extension's page

With your API key, you just need to set it into theDEVTO_API_KEY environment variable.

Usage

The plugin has the following commands and functions available indevto-nvim module:

functioncommanddescription
feed():Devto feedShows fresh articles from the feed, then you can read it in Neovim or open it in the browser
my_articles():Devto my_articlesShows all your articles, then you can pick one to edit
new_article():Devto new_articleAsks for a title, then creates an article with the given title and open it to edit
open_by_url():Devto open_by_urlAsks for a URL, then opens the article

After you save the buffer it'll automatically be saved in the cloud.

Contributing

Please, don't hesitate in contributing by creating issues and opening pull requests.

Credits

This plugin design and idea was inspired byocto.nvim


[8]ページ先頭

©2009-2025 Movatter.jp