From 226c2d2e433bddad419e81870f5357fbe033f0ce Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 11 Aug 2021 09:26:27 -0400 Subject: Instructions for AutoHotKey and other Windows notes --- docs/editors/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'docs/editors/index.html') diff --git a/docs/editors/index.html b/docs/editors/index.html index 5b17f09d..251c19e0 100644 --- a/docs/editors/index.html +++ b/docs/editors/index.html @@ -12,12 +12,17 @@

For Android, this fork adds APL and BQN to Hacker's Keyboard.

The file inputrc can be copied or appended to ~/.inputrc to enable backslash input in bash, BQN with rlwrap, and other software that uses GNU Readline.

If you'd like to contribute files for another editor I'd gladly accept them!

-

XKB

-

The file bqn is for configuring XKB on Linux. To use, copy it to /usr/share/X11/xkb/symbols/, then run

+

System-wide

+

XKB (Unix)

+

The file bqn is for configuring XKB on Linux, or other systems using X11. To use, copy it to /usr/share/X11/xkb/symbols/, then run

$ setxkbmap -layout us,bqn -option grp:switch
 

replacing us with your ordinary keyboard layout. switch indicates the right alt key and can be replaced with lswitch for left alt or other codes. The setting will go away on shutdown so you will probably want to configure it to run every time you start up. The way to do this depends on your desktop environment. For further discussion, see Wikipedia or the APL Wiki.

Another XKB option, if you have a compose key enabled, is to place XCompose (possibly with adjustments) in ~/.XCompose.

+

Windows

+

Folder autohotkey-win contains an AutoHotKey script and the generated .exe file. It runs as an ordinary program that recognizes BQN key combinations system-wide. Move it to the startup folder if you'd like to have it running all the time. You can right-click its icon in the system tray to disable it temporarily.

+

The XCompose file, although created for XKB, should also be usable with WinCompose (but as far as I know this hasn't been tested).

+

Text editors

Vim

Copy or symlink all files into the corresponding directories in ~/.vim. Add the following two lines to ~/.vim/filetype.vim:

  au! BufRead,BufNewFile *.bqn setf bqn
-- 
cgit v1.2.3