All Projects → rhysd → vimwasm-try-plugin

rhysd / vimwasm-try-plugin

Licence: MIT license
Try Vim plugin on your browser without installing it using vim.wasm!

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to vimwasm-try-plugin

cake.vim
Utility for CakePHP developers.
Stars: ✭ 35 (+66.67%)
Mutual labels:  vim-plugin
rclc
Mathematical expression calculator with big integers, floats, common fractions, and complex numbers support
Stars: ✭ 24 (+14.29%)
Mutual labels:  command-line-tool
vim-syntaxMarkerFold
Markers while using syntax fold method
Stars: ✭ 16 (-23.81%)
Mutual labels:  vim-plugin
WeConnect-cli
Commandline Interface to interact with the Volkswagen WeConnect Services
Stars: ✭ 27 (+28.57%)
Mutual labels:  command-line-tool
iconset
A nifty command-line tool to customize macOS icons
Stars: ✭ 29 (+38.1%)
Mutual labels:  command-line-tool
gtd.vim
Getting things done with Vim
Stars: ✭ 42 (+100%)
Mutual labels:  vim-plugin
vim-jukit
Jupyter-Notebook inspired Neovim/Vim Plugin
Stars: ✭ 55 (+161.9%)
Mutual labels:  vim-plugin
ut-cli
A command line tool to handle a unix timestamp.
Stars: ✭ 13 (-38.1%)
Mutual labels:  command-line-tool
wholesome-cli
Command Line Tool for managing Flutter projects
Stars: ✭ 57 (+171.43%)
Mutual labels:  command-line-tool
fontman
Manage and update your installed fonts.
Stars: ✭ 20 (-4.76%)
Mutual labels:  command-line-tool
minimal gdb
🐛 Lightweight vim -> gdb broker which uses .gdbinit gdb config file to export breakpoints
Stars: ✭ 16 (-23.81%)
Mutual labels:  vim-plugin
okcli
An Oracle-DB command line client
Stars: ✭ 47 (+123.81%)
Mutual labels:  command-line-tool
swift-commandlinekit
Framework supporting the development of command-line tools in Swift on macOS and Linux. The framework supports managing command-line arguments, provides lightweight functions to deal with escape sequences, and defines an API for reading strings from the terminal.
Stars: ✭ 38 (+80.95%)
Mutual labels:  command-line-tool
vim-iawriter
iAwriter's Focus mode for vim
Stars: ✭ 23 (+9.52%)
Mutual labels:  vim-plugin
gee
🏵 Gee is tool of stdin to each files and stdout. It is similar to the tee command, but there are more functions for convenience. In addition, it was written as go
Stars: ✭ 65 (+209.52%)
Mutual labels:  command-line-tool
raisin
A simple lightweight set of implementations and bindings for compression algorithms written in Go.
Stars: ✭ 17 (-19.05%)
Mutual labels:  command-line-tool
easybuffer.vim
easybuffer.vim - vim plugin to quickly switch between buffers
Stars: ✭ 50 (+138.1%)
Mutual labels:  vim-plugin
metronome
A set of tools for modifying and randomizing Pokémon games
Stars: ✭ 23 (+9.52%)
Mutual labels:  command-line-tool
Infinite-File-Curtailer
Curtail is a utility program that reads stdin and writes to a file bound by size.
Stars: ✭ 23 (+9.52%)
Mutual labels:  command-line-tool
cert human
SSL Certificates for Humans
Stars: ✭ 34 (+61.9%)
Mutual labels:  command-line-tool

vimwasm-try-plugin

Linux CI Status Windows CI status

vimwasm-try-plugin is a command line tool to try a Vim plugin hosted on GitHub using vim.wasm. You can instantly try Vim plugin and colorscheme without installing it on browser. About vim.wasm, please visit the repository.

screenshot

Installation

Download and unzip an executable from release page for your platform and put it in some $PATH directory.

Or build from source using Go toolchain.

go get -u github.com/rhysd/vimwasm-try-plugin

Usage

vimwasm-try-plugin [{flags}] 'owner/name' [-- {args}]

For {flags}, please read -help output for more details. {args} are passed to command line arguments of Vim run in Web Worker.

For example,

vimwasm-try-plugin 'rhysd/clever-f.vim'

This command opens:

https://rhysd.github.io/vim.wasm/?dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f&dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f%2Fmigemo&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fautoload%2Fclever_f.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f%2Fcompat.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fautoload%2Fclever_f%2Fcompat.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f%2Fmigemo%2Fcp932.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fautoload%2Fclever_f%2Fmigemo%2Fcp932.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f%2Fmigemo%2Feucjp.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fautoload%2Fclever_f%2Fmigemo%2Feucjp.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fclever_f%2Fmigemo%2Futf8.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fautoload%2Fclever_f%2Fmigemo%2Futf8.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fplugin%2Fclever-f.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Frhysd%2Fclever-f.vim%2Fmaster%2Fplugin%2Fclever-f.vim

You can try clever-f.vim in your browser without installing it.

For example,

vimwasm-try-plugin 'morhetz/gruvbox' -- -c colorscheme\ gruvbox /home/web_user/tryit.js

This command opens:

https://rhysd.github.io/vim.wasm/?arg=-c&arg=colorscheme+gruvbox&arg=%2Fhome%2Fweb_user%2Ftryit.js&dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fairline&dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fairline%2Fthemes&dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Flightline&dir=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Flightline%2Fcolorscheme&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fairline%2Fthemes%2Fgruvbox.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fmorhetz%2Fgruvbox%2Fmaster%2Fautoload%2Fairline%2Fthemes%2Fgruvbox.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Fgruvbox.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fmorhetz%2Fgruvbox%2Fmaster%2Fautoload%2Fgruvbox.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fautoload%2Flightline%2Fcolorscheme%2Fgruvbox.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fmorhetz%2Fgruvbox%2Fmaster%2Fautoload%2Flightline%2Fcolorscheme%2Fgruvbox.vim&file=%2Fusr%2Flocal%2Fshare%2Fvim%2Fcolors%2Fgruvbox.vim%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fmorhetz%2Fgruvbox%2Fmaster%2Fcolors%2Fgruvbox.vim

gruvbox is applied by default and tryit.js source is opened. You can preview colorscheme without installing it.

All files are fetched on memory. So they are cleaned up automatically when a browser tab is closed. vim.wasm is a Vim fork to run it on browser by compiling it to WebAssembly.

Limitation

vim.wasm is a Vim compiled to WebAssembly. So Vim is running on your browser and has some limitation.

  • Shell commands are not available. So if the Vim plugin uses system() or other stuffs which try to execute shell commands, it does not work.
  • The Vim is built with 'normal' feature set configuration. Some functionalities enabled in 'big' or 'huge' feature set are not available. For example, sign, conceal or profile.
  • vim.wasm fetches all plugin files before starting Vim. Fetching many files or a large file may slows Vim start up.

TODO

  • Add -local string option to specify local directory instead of using GitHub API
  • Consider symlinks

License

This repository is distributed under the 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].