Skip to content

kjw2fa/vim-mode-plus-macros

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Macros for vim mode plus

This package is still under construction, but the basic functionality works. You can create a single macro and apply it many times.

Install

apm install vim-mode-plus-macros at the command line, or ctrl-,, click on install, then type vim-mode-plus-macros and click install.

Make sure you also have vim-mode-plus installed, this package requires it.

Usage

q in normal mode to start recording a macro

q in normal mode while recording a macro to stop recording the macro

@ to apply the macro

[num]@ to apply the macro [num] times ex. 12@

Roadmap

  • a macro can be recorded
  • a macro can be replayed
  • macros can include typing in insert mode
  • indicate macro recording state to user
  • add searching with '/'
  • allow prefixing with number to replay
  • add undoing the entire macro in one undo
  • add searching with 'f', 'F', 't', 'T'
  • macros can be saved to (and recalled from) the 26 letters (e.g. qa and @a)
  • macros can be named and saved (maybe use a fuzzy finder?)
  • specs

About

Adds macros for vim mode plus

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.7%
  • CSS 3.3%