Skip to content

🤗 A vim plugin for JavaScript to console.log out whatever you have in the register.

License

Notifications You must be signed in to change notification settings

WayneCYChang/consolation-vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consolation

Build Status

This is a simple plugin to just console.log() out whatever you currently have in your register on the line above your current line.

Usage

Yank something that you want to console.log into your register and then run:

:Consolate

Or you can add a mapping to your .vimrc like this:

nnoremap <leader>c :Consolate<cr>

Installation

To install, you can use your favorite package manager.

For Vundle users:

Add Plugin 'agarrharr/consolation-vim' to your ~/.vimrc and then:

within Vim, run: :PluginInstall

Testing

I'm using vim-vspec.

How to set up vim-vspec

How to use Travis CI

Introduction to vspec on vimcasts

The unit tests have to be written in the t directory with the extension .vim.

About

🤗 A vim plugin for JavaScript to console.log out whatever you have in the register.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 72.7%
  • Ruby 27.3%