unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: C-p, C-b, C-f, and C-n... why?
Date: Wed, 30 Nov 2005 12:08:05 +0100	[thread overview]
Message-ID: <85hd9upf56.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.17286.1133329946.20277.help-gnu-emacs@gnu.org

"Dave Humphries" <dave.humphries@dytech.com.au> writes:

> Yeah I enjoyed this so much I remapped these keys to
> Original 	Remapped
> C-p		C-e
> C-n		C-d
> C-b		C-s
> C-f		C-f
> C-a		C-a
> And cursor to end of line as C-g
> This involved some remapping of useful key mappings squashed in the
> change but means I don't have to think about the keys for moving point
> as the key layout is the same as the required direction and it is all on
> the same hand.
> It started as an experiment but has lasted for a while now. I have done
> a similar, but incomplete job remapping the kill keys to the right-hand.

wordstar-mode is an interactive autoloaded Lisp function in `ws-mode'.
(wordstar-mode)

Major mode with WordStar-like key bindings.

BUGS:
 - Help menus with WordStar commands (C-j just calls help-for-help)
   are not implemented
 - Options for search and replace
 - Show markers (C-k h) is somewhat strange
 - Search and replace (C-q a) is only available in forward direction

No key bindings beginning with ESC are installed, they will work
Emacs-like.

The key bindings are:

  C-a		backward-word
  C-b		fill-paragraph
  C-c		scroll-up-line
  C-d		forward-char
  C-e		previous-line
  C-f		forward-word
  C-g		delete-char
  C-h		backward-char
  C-i		indent-for-tab-command
  C-j		help-for-help
  C-k		ordstar-C-k-map
  C-l		ws-repeat-search
  C-n		open-line
  C-p		quoted-insert
  C-r		scroll-down-line
  C-s		backward-char
  C-t		kill-word
  C-u		keyboard-quit
  C-v		overwrite-mode
  C-w		scroll-down
  C-x		next-line
  C-y		kill-complete-line
  C-z		scroll-up

  C-k 0		ws-set-marker-0
  C-k 1		ws-set-marker-1
  C-k 2		ws-set-marker-2
  C-k 3		ws-set-marker-3
  C-k 4		ws-set-marker-4
  C-k 5		ws-set-marker-5
  C-k 6		ws-set-marker-6
  C-k 7		ws-set-marker-7
  C-k 8		ws-set-marker-8
  C-k 9		ws-set-marker-9
  C-k b		ws-begin-block
  C-k c		ws-copy-block
  C-k d		save-buffers-kill-emacs
  C-k f		find-file
  C-k h		ws-show-markers
  C-k i		ws-indent-block
  C-k k		ws-end-block
  C-k p		ws-print-block
  C-k q		kill-emacs
  C-k r		insert-file
  C-k s		save-some-buffers
  C-k t		ws-mark-word
  C-k u		ws-exdent-block
  C-k C-u	keyboard-quit
  C-k v		ws-move-block
  C-k w		ws-write-block
  C-k x		kill-emacs
  C-k y		ws-delete-block

  C-o c		wordstar-center-line
  C-o b		switch-to-buffer
  C-o j		justify-current-line
  C-o k		kill-buffer
  C-o l		list-buffers
  C-o m		auto-fill-mode
  C-o r		set-fill-column
  C-o C-u	keyboard-quit
  C-o wd	delete-other-windows
  C-o wh	split-window-horizontally
  C-o wo	other-window
  C-o wv	split-window-vertically

  C-q 0		ws-find-marker-0
  C-q 1		ws-find-marker-1
  C-q 2		ws-find-marker-2
  C-q 3		ws-find-marker-3
  C-q 4		ws-find-marker-4
  C-q 5		ws-find-marker-5
  C-q 6		ws-find-marker-6
  C-q 7		ws-find-marker-7
  C-q 8		ws-find-marker-8
  C-q 9		ws-find-marker-9
  C-q a		ws-query-replace
  C-q b		ws-to-block-begin
  C-q c		end-of-buffer
  C-q d		end-of-line
  C-q f		ws-search
  C-q k		ws-to-block-end
  C-q l		ws-undo
  C-q p		ws-last-cursorp
  C-q r		beginning-of-buffer
  C-q C-u	keyboard-quit
  C-q w		ws-last-error
  C-q y		ws-kill-eol
  C-q DEL	ws-kill-bol

[back]

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

       reply	other threads:[~2005-11-30 11:08 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17286.1133329946.20277.help-gnu-emacs@gnu.org>
2005-11-30 11:08 ` David Kastrup [this message]
2005-11-30  5:52 C-p, C-b, C-f, and C-n... why? Dave Humphries
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30  5:38 casioculture
2005-11-30  5:55 ` Herbert Euler
2005-11-30  8:16 ` Lennart Borgman
2005-11-30  8:39 ` Alan Mackenzie
2005-11-30  9:32 ` Harald Hanche-Olsen
2005-11-30 11:58 ` Thien-Thi Nguyen
2005-11-30 13:21   ` David Hansen
2005-11-30 21:07 ` Eli Zaretskii
2005-11-30 21:49 ` Tim Johnson
2005-12-09 22:03 ` Edward Dodge
2005-12-10  9:51   ` Xavier Maillard
2005-12-10 22:13 ` roodwriter
2005-12-10 22:40   ` Peter Dyballa
     [not found]   ` <mailman.18736.1134254458.20277.help-gnu-emacs@gnu.org>
2005-12-10 23:09     ` roodwriter
2005-12-10 23:12       ` Lennart Borgman
2005-12-11  4:18   ` Eli Zaretskii
     [not found]   ` <mailman.18760.1134274741.20277.help-gnu-emacs@gnu.org>
2005-12-12 11:59     ` Mathias Dahl
2005-12-12 21:04       ` Eli Zaretskii
2005-12-12 22:32         ` Lennart Borgman
2005-12-12 23:22         ` Tim Johnson
     [not found]       ` <mailman.19039.1134421524.20277.help-gnu-emacs@gnu.org>
2005-12-13  8:28         ` Mathias Dahl
2005-12-13  8:56           ` Ralf Angeli
2005-12-13 17:27             ` Tim Johnson
2005-12-13 20:27           ` Eli Zaretskii
2005-12-15 20:36           ` Björn Lindström
2005-12-15 23:26             ` Xavier Maillard
2005-12-17 10:52           ` don provan
     [not found]           ` <mailman.19488.1134911034.20277.help-gnu-emacs@gnu.org>
2005-12-19  9:24             ` Mathias Dahl
2005-12-15  6:15         ` Stefan Monnier
2005-12-15  9:21           ` Mathias Dahl
2005-12-15 12:01             ` Per Abrahamsen
2005-12-15 16:47               ` Drew Adams
2005-12-15 18:28               ` Mathias Dahl
2005-12-15 20:43                 ` Lennart Borgman
2005-12-15 13:15             ` Lennart Borgman
2005-12-15 17:40               ` Xavier Maillard
2005-12-15 17:52                 ` Lennart Borgman
2005-12-16 17:46               ` Richard M. Stallman
2005-12-15 19:18           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85hd9upf56.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).