These are my exported Vimium-C settings, to be shared between personal and work machines.
These are keybindings for VsCode tailor-made to work with the combo-mods defined in https://github.com/terryyounghk/zmk-config
The VsCode built-in sync features is not necessarily work-environment friendly in my case: personal accounts are restricted in work machines, and work accounts are restricted in personal machines.
This file is to be used to manually import/export the shortcut settings instead.
Some shortcuts require certain VsCode Extensions to work.
I use Swish by HighlyOpinionated for Window Management on MacOS.
My copy of Swish is licensed via SetApp, hence the plist file name is co.highlyopinionated.swish-setapp.plist.
This is my preference plist file for Swish, exported in XML format, configured to use vim-like hjkl hotkeys as arrow keys.
The plist file of Swish is binary.
| #!/bin/sh | |
| # ----------------------------------------------------------------------------------------------- | |
| # | |
| # This script is to be used by SourceTree > Action > Custom Action | |
| # | |
| # (See https://confluence.atlassian.com/sourcetreekb/using-git-in-custom-actions-785323500.html) | |
| # | |
| # Copy this file into your 'bin' directory, (e.g. ~/.dotfiles/bin/view-commit) | |
| # | |
| # In Terminal, go to your 'bin' directory and run 'chmod +x view-commit' | 
| class AccountController < ApplicationController | |
| # Just to disable the CSRF protection for specific controller for quick testing | |
| # @see https://stackoverflow.com/a/34252150/277666 | |
| skip_before_action :verify_authenticity_token | |
| def test | |
| # 'params' is NOT recommended to be used directly | 
| // --------------------------------------------------------------- | |
| // Callback Hell | |
| moveTo(50, 50, function () { | |
| moveTo(20, 100, function () { | |
| moveTo(100, 200, function () { | |
| // done | |
| }); | |
| }); | |
| }); | 
| /* jshint laxbreak: true */ | |
| /** | |
| * moment.js plugin: additional methods | |
| * businessDiff (mStartDate) | |
| * businessAdd (numberOfDays) | |
| * businessSubtract (numberOfDays) | |
| * business ([false]) | |
| */ | |
| (function () { | |
| var moment; | 
| /*jshint multistr: true */ | |
| (function ($) { | |
| /** | |
| * Selects text within the DOM element | |
| */ | |
| $.fn.selectText = function() { | |
| var doc = document, | |
| element = this[0], | |
| range, | |
| selection; |