https://github.com/augustunderground/vim-skill

SKILL / SKILL++ Syntax highlighting for vim

https://github.com/augustunderground/vim-skill

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.8%) to scientific vocabulary

Keywords

cadence cadence-virtuoso skill syntax-highlighting vim-plugin
Last synced: 5 months ago · JSON representation

Repository

SKILL / SKILL++ Syntax highlighting for vim

Basic Info
  • Host: GitHub
  • Owner: AugustUnderground
  • License: bsd-3-clause
  • Language: Vim script
  • Default Branch: master
  • Size: 19.5 KB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Topics
cadence cadence-virtuoso skill syntax-highlighting vim-plugin
Created over 6 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

vim-skill

SKILL / SKILL++ syntax highlighting for vim, based on vim-hy.

SKILL / Virtuoso REPL integration (only NeoVim).

Installation

Any vim plugin approach should work. For Vim-Plug just put

vim Plug 'augustunderground/vim-skill'

in your init.vim and then run

vim :PlugInstall

Usage

Open any skill/skill++ file and press F12 to launch a Skill REPL with the command defined in g:skill_repl. To (re)load the file in the current buffer press <leader>R. Where <leader> is bound to \ by default.

<leader>l will send the current line to the Skill REPL, and <leader>r will send the paragraph in which the cursor is. A paragraph in this case means a block of code without empty lines inbetween.

Pressing F11 will run/execute the script in the current buffer non-interactively with the command defined in g:skill_cmpl

Settings

Default key mappings are:

vim map <F11> :call SkillRun()<CR> map <F12> :call SkillOpen()<CR> nnoremap <silent> <leader>l :SkillSendLine<cr> nnoremap <silent> <leader>r :SkillSendRegion<cr> nnoremap <silent> <leader>R :SkillReloadFile<cr>

When calling SkillOpen a new neovim terminal is opened and a SKILL REPL is launched. Set g:skill_repl to the appropriate SKILL Interpreter.

vim let g:skill_repl = 'rlwrap virtuoso -nographE'

Calling SkillRun executes the script in the current buffer with the command defined in g:skill_cmpl.

vim let g:skill_cmpl = 'virtuoso -nographE -restore'

They can be overwritten in your init.vim.

Owner

  • Name: ynk
  • Login: AugustUnderground
  • Kind: user
  • Location: Innsmouth
  • Company: @electronics-and-drives

PhD Student at Reutlingen University

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels