[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sixeight/mode-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mode.vim - TDD mode control script for vim

# Key-bind
<leader>mt     : mode think
<leader>mr     : mode red
<leader>mg     : mode green
<leader>mf     : mode refactor
<leader>m<C-m> : rotate mode (think -> red -> green -> refactor)

# Settings
s:color_bar
  0 : use short color bar
  1 : use logn color bar

Mode name
  s:mode_think
  s:mode_red
  s:mode_green
  s:mode_refactor

Mode color
  s:color_think
  s:color_red
  s:color_green
  s:color_refactor

Color name
  -----------------------------------------------
  |NR-16|NR-8|           COLOR NAME             |
  |-----|----|----------------------------------|
  | 0   | 0  | Black                            |
  | 1   | 4  | DarkBlue                         |
  | 2   | 2  | DarkGreen                        |
  | 3   | 6  | DarkCyan                         |
  | 4   | 1  | DarkRed                          |
  | 5   | 5  | DarkMagenta                      |
  | 6   | 3  | Brown, DarkYellow                |
  | 7   | 7  | LightGray, LightGrey, Gray, Grey |
  | 8   | 0* | DarkGray, DarkGrey               |
  | 9   | 4* | Blue, LightBlue                  |
  | 10  | 2* | Green, LightGreen                |
  | 11  | 6* | Cyan, LightCyan                  |
  | 12  | 1* | Red, LightRed                    |
  | 13  | 5* | Magenta, LightMagenta            |
  | 14  | 3* | Yellow, LightYellow              |
  | 15  | 7* | White                            |
  -----------------------------------------------

# Known bugs
Can't control tow or more mode at same time, because share User1 highlight group .

About

TDD mode control script for vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published