Skip to content

flexmox/decipher-clips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

decipher-clips plugin for VIM

Installation

You might want to use pathogen to install decipher-clips in VIM. Also you need a VIM version that was compiled with +python, which is typical for most distributions on Linux.

Cheat Sheet

Normal Mode

Clean up unicode, newlines, tabs and place the current buffer in a new-survey template

<leader>ss

Make Ors: Create boolean logic you can trust. Conditions will be placed inside cond if present on current line. Supports alpha ranges as well as numeric.

<leader>mo

Question Label?: Q1
Label Numbers: e.g. (1-4,5|A-D,E): 1-3,5,8
Cell Type: e.g. (r|c|ch): r
Join type: e.g. (or|and|,) [or]: or

returns: Q1.r1 or Q1.r2 or Q1.r3 or Q1.r5 or Q1.r8

<leader>mo

Question Label?: Q2
Label Numbers: e.g. (1-4,5|A-D,E): A-C,E,H
Cell Type: e.g. (r|c|ch):
Join type: e.g. (or|and|,) [or]: or

returns: Q2.A or Q2.B or Q2.C or Q2.E or Q2.H

Justify the current line to prevent horizontal scrolling

<leader>ju

Switch Rating: Switch adim and averages between cols and rows

<leader>sr

Open the current buffer into parts delimited by blank lines in gvimdiff

<leader>dif

To clean <!-- XXX [foo]: bar --> notes made by snipmate for sending to QA

<leader>no

Turn the current line into a hyperlink

<leader>hr

Turn the current line into a mailto: hyperlink

<leader>mai

Insert exclusive="1" randomize="0"

<leader>ee

Insert randomize="0"

<leader>rr

Insert open="1" openSize="25" randomize="0"

<leader>oe

Insert aggregate="0" percentages="0"

<leader>aa

Insert optional="1"

<leader>oo

Insert where="execute"

<leader>dev

Insert shuffle="rows"

<leader>sh

Insert <suspend/> below current line

<leader>su

Insert <br/><br/>

<leader>br

Mail Break: Insert <br><br>

<leader>mb
Visual Mode

Make row Cells

<leader>ro

Make col Cells

<leader>co

Make choice Cells

<leader>ch

Make rating row cells with poles. e.g. Disagree</br>1,2,3,4,Agree<br/>5

<leader>ra

Make radio Element

<leader>mr

Make checkbox Element

<leader>mc

Make select Element

<leader>ms

Make number Element

<leader>mn

Make float Element

<leader>mf

Make text Element

<leader>mt

Make textarea Element

<leader>ma

Make html Element

<leader>mh

Make Values: Make radio-rating Element

<leader>mv

Make res Elements

<leader>re

Make group Cells

<leader>mg

Make net Cells

<leader>ne

Make noanswer Cells

<leader>na

Make pipe by creating cases out of selected lines

<leader>ca

Add values to Cells from low to high

<leader>avl

Add values to Cells from high to low

<leader>avh

Add groups to Cells

<leader>ag

Add alts to Cells and title

<leader>aa

Create a question comment

<leader>qc

Escape < and >

<leader>es

HTML Comment: Comment out some text

<leader>hc

Make Extras: Pull text node into configurable style

<leader>me

Quote Spaces: HTML escape spaces

<leader>qs

Strip text-nodes from selected Cells

<leader>st

Switch selected Cells between cols and rows

<leader>sw

Quote URL: URL escape selection

<leader>qu

Clean out common utf-8 chars and remove excessive tabs, newlines, etc

<leader>cl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published