Skip to content

Instructions specifically for adding a toggleable Vim mode to the ZSA Voyager on Windows.

License

GPL-2.0 and 2 other licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
license_GPLv2.md
GPL-3.0
license_GPLv3.md
Notifications You must be signed in to change notification settings

ConnorSweeneyDev/VimForVoyager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

VimForVoyager

Instructions specifically for adding a toggleable Vim mode to the ZSA Voyager on Windows.

Prerequisites

Disclaimer: These instructions are tailored towards the ZSA Voyager and Windows, but using the techniques in this repository you can adapt it to any other QMK compatible keyboard and operating system.

  • Windows.
  • ZSA Voyager keyboard (although can be adapted to other QMK keyboards).
  • WSL2 with a fresh or clean install of Ubuntu 22.04.

Installation

Start by entering Ubuntu 22.04 and running the following commands:

  • sudo apt update && sudo apt upgrade -y
  • sudo apt install git g++ make llvm clang clang-format python3-pip chromium-browser unzip
  • git clone https://github.com/ConnorSweeneyDev/VimForVoyager.git && cd VimForVoyager

Next, install the QMK CLI like so:

  • python3 -m pip install --user qmk
  • echo 'PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc && source $HOME/.bashrc
  • qmk setup -H ~/VimForVoyager -b main - Say yes to any prompts and run qmk hello to verify the installation.

This repository is a modified version of ZSA's QMK fork that has a main keymap for the voyager that has a Vim mode (using this as the base). To use it now you can run qmk compile -kb voyager -km main, then move the voyager_main.bin file to your Windows machine and select the "Flash" button in the Keymapp app to select the file and flash the firmware.

Customization

Since you want your own mappings, you can replace keymap.c, config.h and rules.mk in the keyboards/voyager/keymaps/main directory with your own, running the same compile command and flashing the firmware in the same way as above afterwards. This process goes as follows:

  • Create a configuration using Oryx.
  • Open the configuration in linux using the chromium-browser command.
  • Download the source code for the configuration using the "Download Source" button.
  • Find the zip file in the ~/snap/chromium/[NUMBER]/Downloads directory.
  • Unzip the file using unzip [FILE] and move the keymap.c, config.h, and rules.mk files to the keyboards/voyager/keymaps/main directory to replace the existing ones.
  • Manually add all the code that is marked "Manually Added" in my fork to your own keymap.c, config.h, and rules.mk files.
  • Run qmk clean, then compile with qmk compile -kb voyager -km main and flash using Keymapp.

Usage

You can see all the available mappings and all the extra information you need about how to configure the Vim mode exactly to your liking here.

Credit

About

Instructions specifically for adding a toggleable Vim mode to the ZSA Voyager on Windows.

Topics

Resources

License

GPL-2.0 and 2 other licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
license_GPLv2.md
GPL-3.0
license_GPLv3.md

Stars

Watchers

Forks