Code Monkey home page Code Monkey logo

auto-hot-key's Introduction

Auto Hot Key 設定

をフォークして自分用にカスタマイズした。

変更点

  • karakaram/alt-ime-ahk から IME.ahk, alt-ime-ahk.ahk をコピー。
  • 無効化するアプリ追加。
    • IDE など、独自の方法で Emacs キーバインドにできるアプリでは無効化する。
      • ターミナルアプリ、VScode, PyCharm, IntelliJ IDEA など。
      • Eclipse はウィンドウを判定する術がみつからなかったので無効化していない。(if WinActive("ahk_exe javaw.exe") のようにすると Java に関係ないはずのものまで動かなくなる?)
      • Boostenote は CodeMirror 由来の Emacs mode があるが、yank とクリップボードが共有されないため不便なので、無効化していない。
  • IfWinActive,ahk_class のような書き方は AHK のドキュメントで deprecated となっていたので、if WinActive() のような書き方に変えた。
  • as-mac-jis.ahk は CapsLock を Ctrl に割り当てるのではなく、CapsLock+何かのキーだと Emacs/Unix-Like な動きになり、Ctrl キーは Windows-Like に使えるようにしてある (C-c でコピーなど)。Mac の Ctrl と Cmd の使い心地に少し近づいた。
    • 上記の「無効化するアプリ」上では CapsLock は Ctrl として動作する。

使い方

  • as-mac-jis.ahkas-mac-us.ahk を AutoHotKey でコンパイルして、スタートアップフォルダにショートカットを置く。(Win+R して shell:startup と入力すると開く。)
  • コンパイルは AutoHotKey のコンテキストメニューをインストールしていれば右クリックからいけるが、コマンドラインでやる例は compile.bat
  • スタートアップフォルダは open_startup_folder.bat のように開ける。
  • 無変換を左alt、変換、カタカナを右alt に割り当てるには ChgKey を使う。

Reference

auto-hot-key's People

Contributors

karakaram avatar pn11 avatar

Watchers

 avatar  avatar

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.