I REALLY REALLY REALLY NEED YOUR HELP...JUST HELP ME

when i'm coding. I really dont want to move my right hand to the arrow keys...it makes me so tired....so my question is "Do you know any software that i can do without moving my right hand to arrow keys" ?
. I mean i want to set a new combination
for example: left arrow ---> shift + J
right arrow ===> shift + l
up arrow ---> shift + I
down arrow ---> shift + K

The vi editor does that by default, presumably.
can you explain more...what is "vi" editor
After many years using vanilla Emacs, I now use Spacemacs, which is a community Emacs configuration, one main feature of which is consistent vim-like keybindings.
http://spacemacs.org/
https://www.gnu.org/software/emacs/

I use it because vim's interface is better, but Emacs is far more versatile than vim. I run it as a daemon, so it starts instantly, and I can use it to edit the contents of shell pipelines. It's also almost as ubiquitous as vim and is relatively easy to configure (just needs git).

If you cannot/will not switch editors, you can look into AutoHotKey on Windows. On Linux, I've had good luck using xkbcomp in X and loadkeys in console.

(hjkl are the arrow keys, by default.)

Edit:
what is "vi" editor
https://en.wikipedia.org/wiki/Vi
https://en.wikipedia.org/wiki/Vim_(text_editor)
Last edited on
vi is the editor that came with unix OS flavors .. I think it was from the 70s or very early 80s (you can google if you care exactly). It works, but it is entirely keyboard command driven so the user has to memorize a great many commands... including commands to simply move the cursor, and because back then keyboards didn't have arrow keys, they were not easy to work with.
I remember a few, for example to save a file it was something
escape key
: key
w (write)
or wq (write and quit)

and to delete one word in a line was a major undertaking.

It was used a LOT on dumb terminals (machines with no real CPU or disk, just a network card and monitor and keyboard)

I think there are modern versions that understand modern keyboards and is slightly more friendly that this. Not sure, because nano etc are 1000 times more useful.

all that aside, there are programmable keyboards out there, and also long ago there were ctrl+chars to move the cursor in windows at least, like ctrlM was end of line, ctrl j was one, I can't recall. You can try to see if those are still active. You can also see if there is something for say notepad++ that does what you want. Somewhere out there is software for old keyboards that lack arrow keys.. in fact for a long time arrow keys sent a 2key normal keystroke sequence that you could have typed.... and they may still do that, I don't KNOW.
Last edited on
vi[m] has been becoming more popular lately.
If you're familiar with how the interface works, it's actually quite powerful and consistent.

Of course the first time I ran it I couldn't figure out how to quit. ;)
Last edited on
Maybe I’m too optimist, but I’m pretty sure hotkeys can be configured nearly in every (modern) text editor. Perhaps if you read your editor guide you’d find how to configure them. Otherwise you could post your editor name and see if someone in this forum knows it.
you guys just save my day
esspecially thanks to "mbozzi" for your software on windown...i aprecciate that
The problem is solved...
Topic archived. No new replies allowed.