be93c28e01
subrepo: subdir: "dotfiles/.vim/plugged/vim-carbon-now-sh" merged: "31a18d26" upstream: origin: "https://github.com/kristijanhusak/vim-carbon-now-sh.git" branch: "master" commit: "31a18d26" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
60 lines
1.8 KiB
Text
60 lines
1.8 KiB
Text
*vim-carbon-now-sh.txt* Open selected text in https://carbon.now.sh
|
|
|
|
Open selected text in https://carbon.now.sh
|
|
|
|
Author: Kristijan <husakkristijan at gmail.com>
|
|
License: MIT
|
|
|
|
vim-carbon-now-sh *vim-carbon-now-sh*
|
|
|
|
1. Introduction |vim-carbon-now-sh-introduction|
|
|
2. Install |vim-carbon-now-sh-install|
|
|
3. Commands |vim-carbon-now-sh-commands|
|
|
4. Settings |vim-carbon-now-sh-settings|
|
|
|
|
==============================================================================
|
|
1. Introduction *vim-carbon-now-sh-introduction*
|
|
|
|
(n)vim implementation plugin for opening selected content in https://carbon.now.sh
|
|
|
|
==============================================================================
|
|
2. Install *vim-carbon-now-sh-install*
|
|
|
|
Install with `Plug`
|
|
`Plug 'kristijanhusak/vim-carbon-now-sh'`
|
|
|
|
Add mapping:
|
|
`vnoremap <F5> :CarbonNowSh`
|
|
|
|
==============================================================================
|
|
3. Commands *vim-carbon-now-sh-commands*
|
|
|
|
CarbonNowSh *:CarbonNowSh*
|
|
Used for sending seleted text to https://carbon.now.sh
|
|
|
|
`:CarbonNowSh`
|
|
|
|
==============================================================================
|
|
4. Settings *vim-carbon-now-sh-settings*
|
|
|
|
*g:carbon_now_sh_options*
|
|
g:carbon_now_sh_options
|
|
Options passed as query string when opening
|
|
https://carbon.now.sh. Must not contain `?`.
|
|
|
|
Default value: `{}`
|
|
|
|
g:carbon_now_sh_base_url
|
|
Protocol, host name, and port for the carbon.now.sh
|
|
instance to send code snippets to. Note: no trailing slash.
|
|
|
|
Default value: 'https://carbon.now.sh'
|
|
|
|
g:carbon_now_sh_browser
|
|
Browser used to open url. If nothing is set, it tries to
|
|
detect default browser by operating system.
|
|
|
|
Default value: ''
|
|
|
|
==============================================================================
|
|
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet:
|