From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: C-p, C-b, C-f, and C-n... why?
Date: Tue, 13 Dec 2005 08:27:12 -0900 [thread overview]
Message-ID: <20051213172712.GW1806@johnsons-web.com> (raw)
In-Reply-To: <439e8cb9$0$15785$14726298@news.sunsite.dk>
* Ralf Angeli <dev.null@iwi.uni-sb.de> [051213 00:13]:
> * Mathias Dahl (2005-12-13) writes:
>
> > Also, can you seriously say that, when doing complicated cursor
> > movements (imagine navigating around in a crossword or minesweeper
> > game or similar "grid2), that C-f, C-b, C-n and C-p allows for quicker
> > movement?
>
> It doesn't necessarily have to be a game. More complicated movements
> occur all the time. And those are situations I yearn for bindings
> e.g. with w, a, s, d.
well, you can do that. As I'm finding out, you can do almost anything
with emacs. I've reprogrammed my keyboard.
Currently,
control is to the left of "a"
hyper is right above control
alt is on either side of my spacebar
super is to the left of the alt-left
TAB is to the right of alt-right.
Adding the two extra modifier (which may not be available on
MS-Windows) has opened up a huge number of possibilities and
functionality.
Example: Super-n = next subroutine
Super-p = previous subroutine
Super-b = previous class
Super-f = next class
etc, etc.
Relocating the control and hyper keys makes combinations
really, really nimble.
As far as a grid, as opposed to writing a whole new mode,
(say for crosswords, why couldn't one write a defun to
reset keys on an adhoc basis?)
The trick is remembering all of this. But then I know
people who speak more than one language :-) lots of
them actually. <blush>
For linux users, here's my .xmodmaprc:
tj
! start
!
! activate with xmodmap ~/.xmodmaprc
!
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
! Swap Capslock and Left Control Key
remove Lock = Caps_Lock
remove Control = Control_L
keycode 66 = Control_L
keycode 37 = Caps_Lock
add Lock = Caps_Lock
add Control = Control_L
! assign left super key to windows key
keycode 115 = Super_L
! assign left hyper key to tab key
keycode 23 = Hyper_L
! assign tab to right control key
keycode 109 = Tab
! assign right meta key to right alt key
!keycode 113 = Meta_R
! reset bits
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L
add Mod1 = Alt_L Alt_R
add Mod2 = Num_Lock
add Mod3 = Super_L
add Mod5 = Hyper_L
!!! done
> --
> Ralf
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
--
Tim Johnson <tim@johnsons-web.com>
http://www.alaska-internet-solutions.com
next prev parent reply other threads:[~2005-12-13 17:27 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-30 5:38 C-p, C-b, C-f, and C-n... why? 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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2005-11-30 5:52 Dave Humphries
[not found] <mailman.17286.1133329946.20277.help-gnu-emacs@gnu.org>
2005-11-30 11:08 ` David Kastrup
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=20051213172712.GW1806@johnsons-web.com \
--to=tim@johnsons-web.com \
/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).