From 0c716e4c6b7c2c44bbfd02b6503cae66af7b7480 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 28 Jan 2022 16:34:41 -0500 Subject: Separate syntax highlighting category for header/body characters ;:? --- docs/editors/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/editors') diff --git a/docs/editors/index.html b/docs/editors/index.html index 6ce04840..8aa9bb6e 100644 --- a/docs/editors/index.html +++ b/docs/editors/index.html @@ -15,11 +15,11 @@

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
+
$ 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 is to place XCompose (possibly with adjustments) in ~/.XCompose and enable a compose key. This can be done using either OS-specific settings or the following command:

-
$ setxkbmap -option compose:rwin
+
$ setxkbmap -option compose:rwin
 

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, using the right alt key (to change this, replace RAlt in the script and rebuild). 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.

@@ -39,11 +39,11 @@
  au! BufRead,BufNewFile *.bqn setf bqn
   au! BufRead,BufNewFile * if getline(1) =~ '^#!.*bqn$' | setf bqn | endif
 
-

Include syntax on in your .vimrc for syntax highlighting and filetype plugin on for keyboard input. View docs from vim with :help bqn.

+

Include syntax on in your .vimrc for syntax highlighting and filetype plugin on for keyboard input. View docs from vim with :help bqn.

To use vim-plug to install BQN support for vim, add this to your plugin section of your .vimrc:

-
  Plug 'mlochbaum/BQN', {'rtp': 'editors/vim'}
+
  Plug 'mlochbaum/BQN', {'rtp': 'editors/vim'}
 
-

Then run :PlugInstall.

+

Then run :PlugInstall.

Neovim interactivity

See this repository for an additional plugin that provides bindings to run BQN code as you're editing it.

Emacs

-- cgit v1.2.3