Giter VIP home page Giter VIP logo

universal-keys's People

Contributors

rbreaves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

universal-keys's Issues

Notes on methods of processing

It is important to have an established process of how to reconcile shortcuts between OS's. My preferred method will be to use Perl and Regex to accomplish this.

A lot of the following will be a mix of pseudo-like code and regex.

  1. Remove any possible header or mention of commonly used shortcuts (assuming they are repeated in the file). Commonly used shortcuts however could be useful for cheatsheet like applications, so it is desirable to have.

  2. Remove any shortcuts that already match between Source and Destination OS.

  • Win/Linux <=> macOS

If Win <=> macOS Then remove Linux column
Regex: /(.+),.+?$/$1/gm

If Linux <=> macOS Then remove Windows column
Simple Regex: /^(.?),(.?),(.?),(.?)$/$1,$4,$3/gm

Regex that accepts commas in between double quotes: /^("(.+?)"|(.?)),("(.+?)"|(.?)),("(.+?)"|(.?)),("(.+?)"|(.?))$/$7::$4 ;$1/gm

  1. Remove rows that have matching keymaps.
    Note: Ctrl & Cmd are matching. Ctrl & Ctrl are not, if those exist then Ctrl will be Super/Win for a mac remap as that is the physical Ctrl key.
  • Read csv into a list, array, or 2d array and begin the clean up process.
  • 1st Find all Existing matching in plain text. Alt = Alt are the only real matches.
  • Remove matches from list/array
  • 2nd Ctrl = Ctrl matches will need Super/Win to Ctrl keymaps to be automatically generated for proper remap.
  • Remove matches from list/array
  • 3rd Update remaining, all Cmd references should convert to Ctrl, run another check.
  • All keymaps that do not need remapping should be eliminated
  • What remains should be the "wildly different" keymaps.
  • Apply the proper key remap symbols or logic for Autohotkey or xkeysnail to properly map what remains.

How do I use these within kinto?

I'm so sorry for the complete noob question, but I can't seem to find this in the docs!

I've installed Kinto, which seems to be working well!

However, I'd like to install the keymap you've got here for IntelliJ, but I can't workout how!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.