Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vimput

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vimput

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

vimput

Status on Travis CI

Easy way to get input from Vim (or another editor) in Ruby.

Usage

require 'vimput'

my_variable = Vimput.gets # Uses $VISUAL or $EDITOR if set, defaulting to Vim

my_variable = Vimput.gets(editor: :atom) # Specify your editor of choice. Adds necessary arguments for GUI editors (in this case, `--wait`)

my_variable = Vimput.gets(editor: 'atom') # You can also supply the name of the editor as a string

my_variable = Vimput.gets(command: 'pico') # If your editor of choice isn't supported, just supply the relevant command to use it with Vimput

FAQs

Package last updated on 15 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc