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 2K
  • Win 815
  • Mac 481
  • Linux 647
Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22
Windows 0 2 0 2 0 0 0 0 1 0 0 1 0 1 2 1 0 0 3 0 2 2 1 6 0 0 0 1 1 0 1 0 0 2 1 0 0 0 0 2 3 0 0 1 1 0
Mac 0 0 0 0 0 1 1 2 0 0 1 4 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 1 2 0 0 0 0 0 2 1 1 1
Linux 0 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 0 0 1 1 0 0 0 0 1 2 1 2 1 0 2 0 2 0 2 0 1 1 1 0 1 0 2 3 3 1

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)