Jot Quick Reference

Function keys

e.g: {Ctrl+Shift+F7} calls function MatchIndentUp

┌─────────────────╥──────────────────┬──────────────────┬──────────────────┬──────────────────┐ 
│                 ║F1}               │F2}               │F3}               │F4}               │  
│                 ║                  │                  │                  │                  │  
│{                ║ Help             │ Do               │ BlockUp          │ BlockDown        │  
│{Shift+          ║ FindAllHelp      │ ScriptByName     │ SectionUp        │ SectionDown      │  
│{Ctrl+           ║ RemoveHelpFold   │ ScriptByFunc     │ SentenceUp       │ SentenceDown     │  
│{Alt+            ║                  │                  │                  │                  │  
│{Ctrl+Shift+     ║ Note             │ Cut              │ Copy             │ Paste            │  
│{Shift+Alt+      ║                  │ CumulativeCut    │ CumulativeCopy   │                  │  
│{Ctrl+Shift+Alt+ ║                  │ CutTabular       │ CutRectangle     │ PasteRectangle   │  
│                 ║                  │                  │                  │                  │  
│                 ║                  │                  │                  │                  │  
├─────────────────╫──────────────────┼──────────────────┼──────────────────┼──────────────────┤  
│                 ║F5}               │F6}               │F7}               │F8}               │  
│                 ║                  │                  │                  │                  │  
│{                ║ Substitute       │ Insert           │ FindBack         │ FindNext         │  
│{Shift+          ║ Remove           │ Overwrite        │ SubsThenFindPv   │ SubsThenFindNx   │  
│{Ctrl+           ║ SubstituteAgain  │ InsertAgain      │ FindBackAgain    │ FindNextAgain    │  
│{Alt+            ║                  │                  │                  │                  │  
│{Ctrl+Shift+     ║ MatchAngleLeft   │ MatchAngleRight  │ MatchIndentUp    │ MatchIndentDown  │  
│{Shift+Alt+      ║ MatchParenLeft   │ MatchParenRight  │ MatchMarkupLeft  │MatchMarkupRight  │  
│{Ctrl+Shift+Alt+ ║ MatchCurlyLeft   │ MatchCurlyRight  │ MatchSquareLeft  │MatchSquareRight  │  
│                 ║                  │                  │                  │                  │  
│                 ║                  │                  │                  │                  │  
├─────────────────╫──────────────────┼──────────────────┼──────────────────┼──────────────────┤  
│                 ║F9}               │F10}              │F11}              │F12}              │  
│                 ║                  │                  │                  │                  │  
│{                ║ FindExact        │ Again            │                  │                  │  
│{Shift+          ║ FindExactBack    │ AgainExhaustive  │                  │                  │  
│{Ctrl+           ║ SetFindString    │                  │                  │                  │  
│{Alt+            ║ AppendLeftPrev   │ AppendRightNext  │                  │                  │  
│{Ctrl+Shift+     ║ IndentFromPrev   │ IndentFromNext   │                  │                  │  
│{Shift+Alt+      ║ JoinLeftPrev     │ JoinRightNext    │                  │                  │  
│{Ctrl+Shift+Alt+ ║                  │                  │                  │                  │  
└─────────────────╨──────────────────┴──────────────────┴──────────────────┴──────────────────┘  

Mid keypad

┌─────────────────╥──────────────────┬──────────────────┬──────────────────┐ 
│                 ║Insert}           │Home}             │Page Up}          │  
│                 ║                  │                  │                  │  
│{                ║ Paste            │ Note             │ ScreenPrev       │  
│{Shift+          ║                  │                  │                  │  
│{Ctrl+           ║                  │                  │                  │  
│{Alt+            ║ PasteRectangle   │                  │                  │  
│{Ctrl+Shift+     ║                  │                  │                  │  
│{Ctrl+Alt+       ║                  │                  │ PopupScreenPrev  │  
│{Shift+Alt+      ║                  │                  │                  │  
│{Ctrl+Shift+Alt+ ║                  │                  │                  │  
│                 ║                  │                  │                  │  
├─────────────────╫──────────────────┼──────────────────┼──────────────────┤  
│                 ║Delete}           │End}              │Page Down}        │  
│                 ║                  │                  │                  │  
│{                ║ Cut              │ Copy             │ ScreenNext       │  
│{Shift+          ║ CumulativeCut    │ CumulativeCopy   │                  │  
│{Ctrl+           ║ CutTabular       │                  │                  │  
│{Alt+            ║ CutRectangle     │                  │                  │  
│{Ctrl+Shift+     ║                  │                  │                  │  
│{Ctrl+Alt+       ║                  │                  │ PopupScreenNext  │  
│{Shift+Alt+      ║                  │                  │                  │  
│{Ctrl+Shift+Alt+ ║                  │                  │                  │  
└─────────────────╨──────────────────┴──────────────────┴──────────────────┘  
┌─────────────────╖                  ┌──────────────────┐ 
│                 ║                  │UpArrow}          │  
│                 ║                  │                  │  
│{                ║                  │ Up               │  
│{Shift+          ║                  │ WordUp           │  
│{Ctrl+           ║                  │ NewWordUp        │  
│{Alt+            ║                  │                  │  
│{Ctrl+Shift+     ║                  │ ViewUp           │  
│{Ctrl+Alt+       ║                  │ WindowShrink     │  
│{Shift+Alt+      ║                  │                  │  
│{Ctrl+Shift+Alt+ ║                  │                  │                    
├─────────────────╫──────────────────┼──────────────────┼──────────────────┐ 
│                 ║LeftArrow}        │DownArrow}        │RightArrow}       │  
│                 ║                  │                  │                  │  
│{                ║ Left             │ Down             │ Right            │  
│{Shift+          ║ WordLeft         │ WordDown         │ WordRight        │  
│{Ctrl+           ║ LineLeft         │ NewWordDown      │ LineRight        │  
│{Alt+            ║ DeleteChrLeft    │                  │ DeleteChrRight   │  
│{Ctrl+Shift+     ║ ViewLeft         │ ViewDown         │ ViewRight        │  
│{Ctrl+Alt+       ║ DeleteLineLeft   │ WindowStretch    │ DeleteLineRight  │  
│{Shift+Alt+      ║ DeleteWordLeft   │                  │ DeleteWordRight  │  
│{Ctrl+Shift+Alt+ ║ RestoreChrLeft   │                  │ RestoreChrRight  │  
└─────────────────╨──────────────────┴──────────────────┴──────────────────┘  

Numeric Keypad

It is suggested these be helpfully mapped to either digits 0-9 etc. or the various cursor-control functions (depending on the the num-lock state). Hence, to work as described here, these must be set up with the xmodmap command - see X-windows setup  .

Windows users should find that it works as advertised without any special setup.

The key {KP_0} - {KP_9} are set up to call functions <<Macro0>> - <<Macro9>>, these functions not defined by the startup script - some scripts define these, or you may define your own functions.

┌───────────────┬─────────────────┬─────────────────┬─────────────────┬─────────────────┐ 
│               │        {NumLock}│/     {KP_Divide}│*   {KP_Multiply}│-   {KP_Subtract}│  
│               │                 │                 │                 │                 │  
│               │                 │                 │                 │                 │  
│{Ctrl+         │                 │                 │                 │                 │  
│{Ctrl+Alt+     │                 │                 │                 │                 │  
├───────────────┼─────────────────┼─────────────────┼─────────────────┴─────────────────┤  
│               │7          {KP_7}│8          {KP_8}│9          {KP_9}│+        {KP_Add}│  
│               │                 │                 │                 │                 │  
│               │ Macro7          │ Macro8          │ Macro9          │                 │  
│{Ctrl+         │                 │UpRegardless     │                 │                 │  
│{Ctrl+Alt+     │LineNW           │LineN            │LineNE           │                 │  
├───────────────┼─────────────────┼─────────────────┼─────────────────┤                 │  
│               │4          {KP_4}│5          {KP_5}│6          {KP_6}│                 │  
│               │                 │                 │                 │                 │  
│               │ Macro4          │ Macro5          │ Macro6          │                 │  
│{Ctrl+         │Left             │                 │RightRegardless  │                 │  
│{Ctrl+Alt+     │LineE            │BoxText          │LineW            │                 │  
├───────────────┼─────────────────┼─────────────────┼─────────────────┼─────────────────┤ 
│               │1          {KP_1}│2          {KP_2}│3          {KP_3}│       {KP_Enter}│  
│               │                 │                 │                 │                 │  
│               │ Macro1          │ Macro2          │ Macro3          │ Enter           │  
│{Ctrl+         │                 │DownRegardless   │                 │                 │  
│{Ctrl+Alt+     │LineSW           │LineS            │LineSE           │                 │  
├───────────────┼─────────────────┼─────────────────┼─────────────────┤                 │  
│               │0          {KP_0}│                 │.    {KP_Decimal}│                 │  
│               │                 │                 │                 │                 │  
│               │ Macro0          │                 │Again            │                 │  
│{Ctrl+         │                 │                 │                 │                 │  
│{Ctrl+Alt+     │                 │                 │                 │                 │  
└───────────────┴─────────────────┴─────────────────┴─────────────────┴─────────────────┘  

Escape sequences

Primary Escape sequences

The following functions are not bound to any function keys

Secondary Escape Sequences

The following escape sequences are duplicated for users with no numeric keypad or for cases where the normal function-key combination is not available.

Jot primitives

These are basic commands recognized by the editor, you can type these straight into the console area, hit return and it will be done.

   \ Reverse status command  
  (          O!             %A                                                     %D                               
  )          O#             %C                                                     %G                               
  ,          O%             %E                        %Q                           %I                               
  ?          O&                                       Query system                 %L                               
             O*             %M                        Query linux                  %O                               
  A          O+             %X                        query windows                %R                               
  B          O-                                       Query wd                     %U                               
  C          O.             %S                        Query screen                 %W                               
  E          O/             %S=case                   Query time                   %%                               
  F          O<             %S=commandmode            Query date                   %~                               
  G          O=             %S=commandcounter         Query env                                                   
  H          O>             %S=trace                  Query pid                                                   
  I          O?             %s=tracedefault           Query stack                                                 
  J          O@             %S=setenv                 Query tabstops                                              
  K          O|             %S=verbose                Query backtrace                                             
  M          O~             %S=guardband              Query buffer                                                
  N          OA             %S=tab                    Query samesinceio                                           
  P          OB             %S=commandstring          Query samesinceindexed                                      
  Q          OC             %s=mousemask              Query sameflag1                                             
  R          OX             %S=recoverymode           Query case                           
  S          OF             %S=copy                   Query inview                         
  T          OG             %S=paste                  Query commandmode                    
  V          OI             %s=setmouse               Query version                        
  Y          OK             %s=console                Query dir                            
  Z          OL                                       Query file                           
             OM             %B                        Query keys                           
             ON             %B=unrestricted           Query tags                             
             OO             %B=readonly               Query heap                             
             OR             %b=writeifchanged         Query history                          
             OS             %b=leftoffset             Query verify                
             OU             %b=tabstops                                            
             OW             %b=header                 %H                           
             OZ             %b=unicode                %H=create             
                            %b=pathname               %H=newjump                
                            %b=sameflag1              %H=addjump  
                            %b=tagtype                %H=jump               
                            %b=addtag                 %H=call               
                            %b=remove_tag             %H=fix                
                            %B=sort                   %H=destroy            
                            %B=TabSort                %H=testkey          
                            %b=codepage                    

How can I ...

Important Scripts

These are a few of the ones you are most likely to need.

Jot Documentation

The following links are entry points into the jot documentation suite.