On Oct 26, 8:29 pm, Xah Lee wrote: > On Oct 26, 9:33 am, YSK wrote: > «getting all other programs in my Linux PC to work with Emacs > keybindings (particularly the navigation ones, C-e, C-a, C-n, C-p, > C-k).» > > ouch, i don't think that's a good thing to do, once this subject is > thought about. > > pls see: > > · Why Emacs's Keyboard Shortcuts Are Painfulhttp://xahlee.org/emacs/emacs_kb_shortcuts_pain.html I don't deny emacs pinky is real, but for now it feels less comfortable for me to hit the cursor keys with my right pinky than the Ctrl key with my left. I have tried rebinding my Ctrl to Caps Lock, but it hasn't stuck. For one thing, I use the C-M-S combination a lot, and it's harder with the Ctrl key in the Caps Lock position. > > it would be better, to design a ergonomic shortcut for cursor > navigation, then make all your other appl to be like that. Maybe that would be better, but how would I get all programs to support those bindings, which is what I ultimately want? Right now, I know one set of controls very well, and I like those controls. Emacs is the only tool I know of with extermely useful, powerful commands that I think should be part of every editing environment. kill-line, isearch, reverse-isearch, regexp-search, M-\, C-u C-space.. on and on. Franky, it seems strange to me that these kinds of features aren't available by default in mature editing-heavy packages like MS Word or OpenOffice. At least on Windows, through the good graces of VBacs and XKeymacs, I have some of the Emacs functionality in Word, Notes, PowerPoint, etc. > > here's my emacs one: > > · A Ergonomic Keyboard Shortcut Layout For Emacshttp://xahlee.org/emacs/ergonomic_emacs_keybinding.html > > but on your question... if you are on mac os x, it by default supports > emacs's shortcuts for cursor movement. > > And, on os x, you can change it system-wide to other shortcuts by > using the > DefaultKeyBinding.dict > > see for example:http://xahlee.org/emacs/DefaultKeyBinding.dict > > On linux, am not sure xmodmap would do it. But here's my old xmodmap > for doing dvorak on linux, which i haven't used since 2002. > > · Dvorak keymap for xmodmaphttp://xahlee.org/PageTwo_dir/Personal_dir/dvorakKeymap.txt > > and on Windows i know at least QuickKeys ... XKeymacs does a great job of enabling Emacs controls in Windows generally. > > Xah > x...@xahlee.org > http://xahlee.org/ > > -------------------------- > > On Oct 26, 9:33 am, YSK wrote: > > > I apologize in advance if this is deemed off-topic, but I will find > > people in this newsgroup who share my interest: getting all other > > programs in my Linux PC to work with Emacs keybindings (particularly > > the navigation ones, C-e, C-a, C-n, C-p, C-k). > > > There is a wonderful Windows tool called XKeymacs that does this for > > Windows apps, and I have been searching (in vain) for something like > > that for Linux (or Xorg more generally). Perhaps someone here will > > have a xmodmap script to do this, or know some obscure tool/workaround > > to make it possible. I am aware of the "gtk-key-theme-name = "Emacs"" > > workaround for GTK based apps, but programs where I do lots of editing > > (like my Java mail client and OpenOffice) do not obey that file. > > > I'd appreciate any pointers. > > Thanks!