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 717
  • Linux 971
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 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
Windows 0 1 1 0 0 0 1 0 1 1 0 1 0 0 0 3 1 1 0 0 2 0 1 3 1 0 0 0 0 0 1 1 0 0 0 0 0 0 2 1 1 1 1 0 0
Mac 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 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 0 0 2 0 0 0 1 0 0 0 3 2 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 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)