ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vimprov

by TeaUponTweed ST3

Simple vim-inspired extension for sublime text 3

Labels vim

Details

Installs

  • Total 3K
  • Win 1K
  • Mac 706
  • Linux 947
May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28
Windows 0 0 0 0 1 1 1 0 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 1 1 5 0 0 1 0 0 0 0 0 1 2 0 3 0 1 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 1 0 2 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0
Linux 0 0 0 0 0 1 0 1 1 0 0 0 1 0 0 1 1 0 0 0 0 2 0 2 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 2 0 0 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

Vimprov

Overview

An unreasonably opinionated attempt to merge the expressiveness of vim with the multi-cursor paradigm of sublime.

This aims to ease a few personal qualms that another vim newbie could presumably run into: * Makes it very obvious that you are not in insert mode (changes the entire color palette) * Insert mode behaves exactly like vanilla sublime * No visual mode to confuse things * Inversion of commands is easy (usually the caps version)

Commands

Special Command

  • alt+space - toggle vimprov
  • i - Enter insert mode
  • . - Repeat last valid command

Actions

  • g - go, cursor movement
  • d - delete, delete text
  • s - select, extend selection

Regions

Basic movement

  • h - move left
  • j - move down
  • k - move up
  • l - move right

Regions with a defined scope

  • p - partial word - next partial word
  • w - word - next white space
  • e - end - end of line
  • f - file - end of file

Regions defined by a character

  • t - 'til - go to next inclusive
  • u - until - next
  • c - contained - bounded by - handles brackets (){}<>[]
  • C - Contained - bounded by inclusive - handles brackets (){}<>[]

Next Steps

  • Get undo/redo working
  • Add commands for dealing with current selection, e.g. cut
  • Improve robustness (especially redo command and contained)