==================================
Emacs keyboard selection for URXVT
==================================

 Author: Russell Adams <rladams@adamsinfoserv.com>
 Website: https://osdn.net/users/rladams/pf/emacs-kbd-select/scm/tree/tip/
 License: GPLv2 (respecting partial derivatives and inspiration!)

Description
-----------

Use keyboard shortcuts to select and copy text using emacs hotkeys inside of
URXVT.

Preferring a keyboard only environment makes keyboard selection inside URXVT a
must. Existing extensions provided that mechanism using VI keybindings. As an
Emacs enthusiast I wanted Emacs keybinds. Unfortunately the existing
keyboard-select extension wasn't easily modified for alternate keys, and so this
is a rewrite to accomplish similiar goals. Kudos to Bert Muennich for his
working vi extension which inspired this extension.

Installation
------------

Download the emacs-kbd-select Perl file, and place it in $HOME/.urxvt/ext/

Add two lines to your $HOME/.Xdefaults:
  URxvt.perl-ext-common: emacs-kbd-select
  URxvt.keysym.M-Escape: emacs-kbd-select:enter

I suggest disabling searchable-scrollback and keyboard-select (vi) to prevent
key conflicts, ie:

 URxvt.perl-ext-common: emacs-kbd-select,-keyboard-select,-searchable-scrollback

Run "xrdb ~/.Xdefaults" afterward to load your changes.

Key Bindings
------------

Supported keys/actions:
 - Control-{n,p,f,b}/arrows    cursor movement across characters
 - Meta-{f,b}                  across words/pages
 - Meta-{n,p}                  page down/up
 - Control-{a,e}               BOL/EOL
 - Control-g                   Cancel, global quit
 - Meta-{<,>}                  BOF/EOF
 - Control-space               Set mark
 - Control-w                   Kill from mark to point
 - Control-k                   Quick kill from cursor to EOL
 - M-{d,backspace}             Quick kill word forward/backward
 - Control-{s,r}               search forward/backward
 - q/Q                         Quit navigation mode
