All Projects → hwartig → Vim Seeing Is Believing

hwartig / Vim Seeing Is Believing

Licence: mit

Labels

Projects that are alternatives of or similar to Vim Seeing Is Believing

Php Foldexpr.vim
Vim folding for PHP with foldexpr
Stars: ✭ 40 (-20%)
Mutual labels:  viml
One Dark.vim
A vim version of Atom's gorgeous one-dark color scheme
Stars: ✭ 43 (-14%)
Mutual labels:  viml
Unite Colorscheme
A unite.vim plugin
Stars: ✭ 45 (-10%)
Mutual labels:  viml
Vim Colors duotones
deprecated - please use Base2Tone-vim
Stars: ✭ 41 (-18%)
Mutual labels:  viml
Vimenv
Configure Vim environment
Stars: ✭ 42 (-16%)
Mutual labels:  viml
Vimrc1234567
Personalized vimrc with C++, Markdown, and text editing at its core.
Stars: ✭ 44 (-12%)
Mutual labels:  viml
Env
Stars: ✭ 39 (-22%)
Mutual labels:  viml
Vim Js Indent
JavaScript indentation for VIM
Stars: ✭ 49 (-2%)
Mutual labels:  viml
Vim Textobj Lastpat
Vim plugin: Text objects for the last searched pattern
Stars: ✭ 42 (-16%)
Mutual labels:  viml
Plaintasks.vim
An implementation of Sublime's PlainTasks plugin for Vim
Stars: ✭ 45 (-10%)
Mutual labels:  viml
Change Inside Surroundings.vim
vim plugin to change the contents of the innermost 'surrounding'
Stars: ✭ 41 (-18%)
Mutual labels:  viml
Vimstuff
Various bits and pieces that work with Vim
Stars: ✭ 42 (-16%)
Mutual labels:  viml
Vim Grepper
👾 Helps you win at grep.
Stars: ✭ 1,030 (+1960%)
Mutual labels:  viml
Minimum Awesome
A Vim setup that will get you into Vim and make it so that you don't want to pull your hair out.
Stars: ✭ 40 (-20%)
Mutual labels:  viml
Vim Debugger
🐾 Vim script debugger 🐛
Stars: ✭ 47 (-6%)
Mutual labels:  viml
Slack Memo Vim
Simple memo manager with Vim using Slack.
Stars: ✭ 40 (-20%)
Mutual labels:  viml
Vimrc
💺 Options for my preferred text editor.
Stars: ✭ 43 (-14%)
Mutual labels:  viml
Cscope.vim
create cscope database and connect to existing proper database automatically.
Stars: ✭ 49 (-2%)
Mutual labels:  viml
Vim Smartword
Vim plugin: Smart motions on words
Stars: ✭ 48 (-4%)
Mutual labels:  viml
Arua Meta
Standards, RFCs and discussion of the Arua language
Stars: ✭ 45 (-10%)
Mutual labels:  viml

What is this?

vim-seeing-is-believing provides utility functions which make the following easy

  • insert/delete annotation mark # =>.
  • virtual keymap for marking and executing seeing-is-believing against current buffer.

seeing_is_believing is a gem and can be installed with

$ gem install seeing_is_believing

Key Mappings

  • <Plug>(seeing-is-believing-mark) - add mark (# =>) to the line.
  • <Plug>(seeing-is-believing-run) - run all marked lines.
  • <Plug>(seeing-is-believing-mark-and-run) - add mark to the line and run it. If line is already marked, then previous mark will be replaced.

Configuration

vim-seeing-is-believing doesn't provide any default keymap. Set following line in your .vimrc

" Enable seeing-is-believing mappings only for Ruby
augroup seeingIsBelievingSettings
  autocmd!

  autocmd FileType ruby nmap <buffer> <Enter> <Plug>(seeing-is-believing-mark-and-run)
  autocmd FileType ruby xmap <buffer> <Enter> <Plug>(seeing-is-believing-mark-and-run)

  autocmd FileType ruby nmap <buffer> <F4> <Plug>(seeing-is-believing-mark)
  autocmd FileType ruby xmap <buffer> <F4> <Plug>(seeing-is-believing-mark)
  autocmd FileType ruby imap <buffer> <F4> <Plug>(seeing-is-believing-mark)

  autocmd FileType ruby nmap <buffer> <F5> <Plug>(seeing-is-believing-run)
  autocmd FileType ruby imap <buffer> <F5> <Plug>(seeing-is-believing-run)
augroup END

Kudos

vim-seeing-is-believing is an adaption of https://github.com/t9md/vim-ruby-xmpfilter for seeing_is_believing.

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].