All Projects → 4513ECHO → vim-readme-viewer

4513ECHO / vim-readme-viewer

Licence: MIT license
📖 Viewing plugin's README easily like vim help

Programming Languages

Vim Script
2826 projects
typescript
32286 projects
lua
6591 projects

Projects that are alternatives of or similar to vim-readme-viewer

Vem Tabline
A lightweight Vim/Neovim plugin to display buffers and tabs in the tabline
Stars: ✭ 129 (+396.15%)
Mutual labels:  vim-plugin, neovim-plugin
qf helper.nvim
A collection of improvements for the quickfix buffer
Stars: ✭ 70 (+169.23%)
Mutual labels:  vim-plugin, neovim-plugin
Ale
Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Stars: ✭ 11,380 (+43669.23%)
Mutual labels:  vim-plugin, neovim-plugin
Neovim Fuzzy
Fuzzy file finding for neovim
Stars: ✭ 103 (+296.15%)
Mutual labels:  vim-plugin, neovim-plugin
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+630.77%)
Mutual labels:  vim-plugin, neovim-plugin
Nvim Treesitter Context
Show code context
Stars: ✭ 113 (+334.62%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Ghost
Vim/Nvim client for GhostText - Edit browser text areas in Vim/Neovim
Stars: ✭ 245 (+842.31%)
Mutual labels:  vim-plugin, neovim-plugin
Completor.vim
Async completion framework made ease.
Stars: ✭ 1,158 (+4353.85%)
Mutual labels:  vim-plugin, neovim-plugin
Animate.vim
A Vim Window Animation Library
Stars: ✭ 173 (+565.38%)
Mutual labels:  vim-plugin, neovim-plugin
Neotex
latex live preview - plugin for neovim and vim 8
Stars: ✭ 170 (+553.85%)
Mutual labels:  vim-plugin, neovim-plugin
Asyncrun.vim
🚀 Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
Stars: ✭ 1,332 (+5023.08%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+761.54%)
Mutual labels:  vim-plugin, neovim-plugin
Todoist.nvim
A todoist extension for neovim
Stars: ✭ 84 (+223.08%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Clap
👏 Modern performant fuzzy picker for Vim and NeoVim
Stars: ✭ 1,802 (+6830.77%)
Mutual labels:  vim-plugin, neovim-plugin
Fzf Mru.vim
Vim plugin that is using fzf.vim to display your most recently used files.
Stars: ✭ 79 (+203.85%)
Mutual labels:  vim-plugin, neovim-plugin
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+8030.77%)
Mutual labels:  vim-plugin, neovim-plugin
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (+2546.15%)
Mutual labels:  vim-plugin, neovim-plugin
Crease.vim
Easy foldtext customization for [neo]vim.
Stars: ✭ 19 (-26.92%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (+526.92%)
Mutual labels:  vim-plugin, neovim-plugin
Indent Blankline.nvim
Indent guides for Neovim
Stars: ✭ 203 (+680.77%)
Mutual labels:  vim-plugin, neovim-plugin

vim-readme-viewer

Please read help for details.

📖 Viewing plugin's README easily like vim help

screenshot

Created by gh-md-toc

About

vim-readme-viewer help you to view some installed plugins' README(.md) file easily like vim help file. Viewing vim help file is very easy. Only :help {topic}! This plugin usage is also easy. If you are using dein.vim, please try:

:DeinReadme dein.vim
:DeinReadme vim-readme-viewer
" ... and other plugins

If you are using other plugin managers, please try:

:PlugReadme vim-readme-viewer  " for vim-plug
:PackReadme vim-readme-viewer  " for minpac
:PackerReadme vim-readme-viewer  " for packer.nvim
:JetpackReadme vim-readme-viewer  " for vim-jetpack
" ... and other plugins

Why use this?

Vim help file is very useful and viewing it is very easy. However, some plugins, which is special such as colorschemes or tiny plugins, sometimes don't have vim help file. So, when you want to custom those plugins, you have to read README.md or look at plugins' inside code. It is not good for you because you have to do it outside vim.

Features

Installation

dein.vim

with vim script:

let g:readme_viewer#plugin_manager = 'dein.vim'
call dein#add('4513ECHO/vim-readme-viewer', {'on_cmd': 'DeinReadme'})

with toml:

[[plugins]]
repo = '4513ECHO/vim-readme-viewer'
on_cmd = ['DeinReadme']
hook_add = '''
let g:readme_viewer#plugin_manager = 'dein.vim'
'''

vim-plug

let g:readme_viewer#plugin_manager = 'vim-plug'
Plug '4513ECHO/vim-readme-viewer', { 'on': 'PlugReadme' }

minpac

let g:readme_viewer#plugin_manager = 'minpac'
call minpac#add('4513ECHO/vim-readme-viewer')

packer.nvim

use {
  '4513ECHO/vim-readme-viewer',
  opt = true,
  cmd = 'PackerReadme',
  config = function()
    vim.g['readme_viewer#plugin_manager'] = 'packer.nvim'
  end
}

vim-jetpack

let g:readme_viewer#plugin_manager = 'vim-jetpack'
Jetpack '4513ECHO/vim-readme-viewer', { 'on': 'JetpackReadme' }

Tips

General

Basically vim-readme-viewer automatically judge your using plugin manager. However, it sometimes may fail. I recommend that you set manually g:readme_viewer#plugin_manager to plugin manager.

let g:readme_viewer#plugin_manager = 'vim-plug'  " for vim-plug
let g:readme_viewer#plugin_manager = 'minpac'  " for minpac

vim-plug

On default, vim-plug is not register itself as a plugin. So, vim-readme-viewer cannot open vim-plug's README.md. If you want to view vim-plug's README.md, you register vim-plug as a plugin.

Plug 'junegunn/vim-plug'

packer.nvim

  • :PackerReadme require that executing :PackerCompile. If you don't execute it, vim-readme-viewer throws error.
  • plugin's path data is sometimes empty. See also wbthomason/packer.vim#765.

ddu.vim

Usage examples:

" Set kind default action
call ddu#custom#pathch_global({
      \ 'kindOptions': {
      \   'readme_viewer': {
      \     'defaultAction': 'open',
      \ }}})
" Use readme_viewer source.
call ddu#start({'sources': [{'name': 'readme_viewer'}]})

TODO

  • Improve README.md and doc/readme_viewer.txt
    • add new functions to doc/readme_viewer.txt
  • Support other plugin managers

Introduced Articles

If you wrote an article about the plugin, please send me Pull-Request 😃

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].