Skip to content

Repository files navigation

If you are like me a geek of prefering to use keyboard to operate your Windows system, then here is the right place for you.

The goal of MetaKB is described by the below gif:

keyboard

MetaKeyboard is based on AutoHostKey.

Quick start

  • clone this repository:
git clone https://github.com/metaseed/metaKeyboard.git
  • go to folder metaKeyboard and run metaKeyboard.exe

Description

MetaKB redefined the CapsLock key as a function key:

  • If you press it, it act like the ESC key;
  • If you hold it and press another key, it acts like another FUNCTION key (like: ctrl, alt) for you.

you can press CapsLock+` to toggle between normal CapsLock function and the new function key function.

below we use 'CL' to stands for the redefined CapsLock key

Keyboard Map

arrow keys are defined same as Vim

Direction Keys Mapping Table

KeyMapNote
CL+hLeft
CL+jDown
CL+kUp
CL+lRight
CL+iHome
CL+oEnd
CL+uPageUp
CL+nPageDown

The LAlt(left Alt) key combined with the keys in this table gives you a shortcut: i.e. if you want to press Alt+Up you could just press LAlt+k, no need to press Alt+CL+k together.

Note: the RAlt still act as normal Alt key.

Other Remapped Keys

KeyMapNote
CL+1..=F1..F12F1 -> CL+1 ... F10 -> CL+0, F11 -> CL+ -, F12 -> CL+=
CL+BackspaceDelete
CL+;Context Menushow context menu, like mouse right click
CL+bpause/Break
CL+pPrintScreen
CL+[mouse left button click
CL+]mouse right button click

Function and Software

Frequently Used Function

KeyMapNote
Win+fgo to FileExplorer's files panemove focus to files pane of FileExplorer to manage files
Win+ngo to FileExplorers navigation panemove focus to navigation pane of FileExplorer to manage files
CL+\copy file full pathwhen in FileExplorer
Ctrl+Alt+ccopy and search with search enginepress ctrl+c and search with Google
Ctrl+Alt+ncreate new file in the folder
Win+vopen virtual machine managerconfigurable, default is Hyper-V

MetaKB related

KeyFunction
Ctrl+Win+Alt+lreload the metaKB software, environment variables and path would be updated
Ctrl+Win+Alt+cclose the metaKB software

Frequently Used Software

KeyMapNote
CL+copen the folder with code editorconfiguralbe, default is VSCode
CL+dshow/hide your word dictionary softwarein your favorite dictionary software config the hotkey shift+alt+d to toggle the software, and make sure to config your dictionary software auto start when windows starting.
CL+eedit file with configured editorconfigurable, default is gvim
CL+fsearch in folderconfigurable, default is everything in the software folder
CL+topen terminalconfigurable, default is Cmder in the software folder
CL+wopen web explorer and navigate to your searchEngineconfigurable, default is Google
CL+shift+wopen web explorer and navigate to your searchEngineSecondaryconfigurable, default is Bing
CL+m sstart screen capture toolafter starting, use the shortcut key config in the software to trigger screen capture.
CL+m Alt+sstart screen gif recorderconfigurable, default is ScreenToGif in the software folder
CL+m topen task managerconfigurable, default is ProcessExplorer in the software folder
CL+m rscreen rulerconfigurable, default is aruler in the software folder
CL+m vopen all *.sln files in the folder with visualStudioconfigurable

configurable means could be configured in config.ini file

Tricks

  1. in file explorer, find the frequently used button on the Ribbon, and right click, select Add to quick access toolbar, base on the order, you can press Alt+1..to trigger this command. for example, I usually add the checkbox Navigation pane to the quick access bar so I can press Alt+1 to show/hide it.

Development

Debug

to run the index.ahk file your need to install AutoHotkey, and run the follow command in the repository folder:

mklink config.ini .\metaKeyboard\config.ini /H
mklink software .\metaKeyboard\software /J

Other Useful Programs and configuration

  1. VSCode with plugins: Settings Sync, vim, metaGo....; configuration file is: GITHUB GIST: https://gist.github.com/metasong/b227db6a892b4c3ec1bb4900bc54977b. after install vscode and install the Settings Sync plugin, and sync settings with the gist file.
  2. VisualStudio: the shortcut keys are reconfigured, configuratin is VSCode.vsk in the ./software/VisualStudioShortcut foler. Copy the VSCode.vsk into the folder: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE or create a symble link point to to the VSCode.vsk pointing to it. and select the VSCode keyboard mapping scheme in your VS options: Environment/Keyboard config page. VS Extensions used: AceJump, Hide Main Menu Hot Commands for Visual Studio, Hot Keys - Keyboard Shortcuts, MixEdit, Resharper Ultimate,Visual Commander, VsVim
  3. ClipJump
  4. Git for Windows, except git tools, it provides a lot useful tools

Appendix: Windows Useful Shortcuts

Common

KeyNote
Alt+Tabto switch between open apps, and using LAlt+h,j,k or l to select active app.
Ctrl+Z/YUndo/Redo.
Alt+F4(Alt+CL+4)Close active app.
Alt+Spaceshow system menu, n(miNimize),r(Restore),x(maXimize),c(Close) window
Win+LLock Windows.
Win+DShow desktop.
Win+ISettings
Win+BShow hiden icons
Win+NumberStart the program pinned to the Taskbar.
Win+Shift+Left/Rightmove window to another screen
Win+Up/Downmaximize/restore/minimize window

File Explorer

KeyFunctionNote
F2(CL+2)Rename.
Ctrl+Shift+EExpand navigation pane to the current folder.
Ctrl+NOpen a new window of the same folder.
Ctrl+Shift+NCreate a new subfolder in the current folder.use Ctrl+Alt+n to create new file
Ctrl+WClose the current window.
Alt+UpArrow Go up one level.
Alt+RightArrow Go forward.
Alt+LeftArrow Go back.
Alt+dMove the focus to the address bar, and select the current path. (press Ctrl+c to copy)
Alt+pPreview panelalt+1 to show navigation pane (when add it to quick access bar)
Ctrl+arrow key and Ctrl+ Spacebarto move to an item and press Spacebar to select/unselect multiple individual items in windowctrl+arrow: move while select; ctrl+space: toggle selection
Shift+arrow(Caps+ikjl)continously Select more than one item in a window or on the desktop, or select text in a document
Alt+SpacebarShow context menu of the active window.
F4(CL+4)Move the insertion point to the address bar, and display the contents of the drop-down list of previous addresses.
F5(CL+5)Refresh.
Alt+EnterShow properties of the selected file.
Shift+F10(Shift+CL+0)(CL+;)Open the shortcut menu for the current selection (which is the same as a right-click).
Ctrl+Shift+1/2/.../8View modesCtrl+Shift+3: icons; Ctrl+Shift+6: details;
F11(CL+-)Toggle full-screen mode.
Ctrl+F3(CL+3) or Ctrl+Fgo to search box, your could then press Tab go to navigation pane, then press Tab go to file list.Note: replaced by everything, but we could use Ctrl+E to use it. note: after press Ctrl+e then press Esc would go to file list directly
Ctrl+E or Ctrl+F then Escselect the file pane(works for file explorer and open/save dialog)

Virtual desktops

KeyFunctionNote
Win+Ctrl+dAdd Dessktop
Win+Ctrl+F4(CL+4)Close desktop
Win+Ctrl+Right/Left(CL+l/j)Switch to right/left one

Dialog box

KeyFunctionNote
Ctrl+Tab(Ctrl+Shift+Tab)to switch tabs
spacebarto toggle checkbox
Alt+Downshow dropdown list

About

turn a common keyboard into a 61-key keyboard for the keyboard shortcut fun like you, I'm a programer, I want to improve coding efficiency

Topics

Resources

Stars

38 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages