An open API service indexing awesome lists of open source software.

https://github.com/perlence/gpvi

A set of Vi-like hotkeys for Guitar Pro 5
https://github.com/perlence/gpvi

Last synced: 6 months ago
JSON representation

A set of Vi-like hotkeys for Guitar Pro 5

Awesome Lists containing this project

README

          

# Guitar Pro Vi

Guitar Pro vi is a set of Vi-like hotkeys for Guitar Pro 5. It was tested to work with Guitar Pro 5.1 and Guitar Pro 5.2.

## Insert mode

In Insert mode all hotkeys of Normal and Visual modes are disabled. You can interact with Guitar Pro 5 as you did it before. To quit Insert mode, press Esc or Ctrl-C.

## Normal mode

Legend:

- *N* - a number entered before the command
- *{motion}* - a cursor movement command
- *Nmove* - the text that is moved over with a *{motion}*

| Key | Action |
| --- | ------ |
| Ctrl-6 | switch to alternate Guitar Pro 5 window |
| Ctrl-A | transpose note under cursor *N* semitones up |
| Ctrl-C | interrupt current command |
| Ctrl-R | redo changes which were undone with u *N* times |
| Ctrl-X | transpose note under cursor *N* semitones down |
| Backspace | same as h |
| Enter | same as j |
| Space | same as l |
| 0 | prepend to command to give a count |
| 1 | prepend to command to give a count |
| 2 | prepend to command to give a count |
| 3 | prepend to command to give a count |
| 4 | prepend to command to give a count |
| 5 | prepend to command to give a count |
| 6 | prepend to command to give a count |
| 7 | prepend to command to give a count |
| 8 | prepend to command to give a count |
| 9 | prepend to command to give a count |
| : | start entering an Ex command |
| A | insert a beat in the end of the bar and enter Insert mode |
| C | clear the beats under the cursor until the end of the bar and *N-1* more bar and enter Insert mode |
| D | delete the beats under the cursor until the end of the bar and *N-1* more bar |
| G | cursor to bar *N*, default last bar |
| I | insert a beat in the beginning of the bar and enter Insert mode |
| M | list section markers |
| O | begin a new bar after the cursor and enter Insert mode |
| P | put beats/bars before the cursor *N* times |
| S | clear *N* bars and enter Insert mode |
| V | start bar-wise Visual mode |
| X | delete *N* notes before the cursor |
| ZQ | exit current file always |
| ZZ | save current file and exit |
| [[, [] | cursor *N* sections backward |
| ]], ][ | cursor *N* sections forward |
| a | insert a beat after cursor and enter Insert mode |
| b | cursor forward to beginning of the bar *N* |
| cc | clear *N* bars and enter Insert mode |
| c{motion} | delete *Nmove* beats/bars and enter Insert mode |
| dd | delete *N* bars |
| d{motion} | delete *Nmove* beats/bars |
| e | cursor forward to end of the bar *N* |
| gg | cursor to bar *N*, default first bar |
| go | cursor to beat *N*, starting from the first beat of the first bar |
| gP | put beats/bars before the cursor *N* times and move cursor right one beat |
| h | cursor *N* beats to the left |
| i | insert a beat before cursor and enter Insert mode |
| j | cursor *N* lines downward |
| k | cursor *N* lines upward |
| l | cursor *N* beats to the right |
| m | insert section marker |
| o | begin a new bar before the cursor and enter Insert mode |
| r | replace note with *N* |
| s | replace *N* beats in the current bar with a rest |
| u | undo changes *N* times |
| v | start beat-wise Visual mode |
| w | cursor *N* bars forward |
| x | delete *N* notes under and after the cursor |
| yy, Y | yank *N* bars |
| y{motion} | yank *Nmove* beats/bars |
| | | cursor to *N* beat of the current bar |
| | same as h |
| | same as k |
| | same as j |
| | same as l |
| LeftMouse | move cursor to the mouse click position |
| MiddleMouse | same as gP at the mouse click position |

## Visual mode

| Key | Action |
| --- | ------ |
| Ctrl-C, Esc | stop Visual mode |
| C | delete the highlighted bars |
| D | delete the highlighted bars |
| R | delete the highlighted bars |
| S | delete the highlighted bars |
| V | make Visual mode bar-wise or stop Visual mode |
| Y | yank the highlighted bars |
| X | delete the highlighted bars |
| c | delete highlighted area and start insert |
| d | delete the highlighted area |
| s | delete the highlighted area |
| v | make Visual mode beat-wise or stop Visual mode |
| y | yank the highlighted area |
| x | delete the highlighted area |

## Ex commands

Ex commands are maximally simplified to one letter commands. The command will execute instantaneously as the letter is pressed, no need to press Enter afterwards.

| Command | Action |
| ------- | ------ |
| :n | new file |
| :w | save file |
| :o | open file |
| :q | quit Guitar Pro 5 |