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