LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Terminal Behavior (https://www.linuxquestions.org/questions/slackware-14/terminal-behavior-896974/)

SeRi@lDiE 08-12-2011 09:57 AM

Terminal Behavior
 
So I have one question...

I am using Konsole and when I am editing files or using less and vi in most case I can use the key board mapping to move around in vi.... IE: if I hit the END key on the keyboard it should take me to the end of the line.... In most nix (RHEL @ Work) it behaves that way... I do echo $TERM and spills out xterm which is the same as my other machines.... In order to archive the same do I have to change my keyboard mapping? Most importantly is the keyboard mapping my issue?

Thanks You for the help!

EmaRsk 08-12-2011 10:57 AM

Maybe you're actually using vim at work and the real vi at home?
The original vi doesn't support a lot of things. Use vim instead.

sahko 08-12-2011 11:49 AM

vi is elvis http://elvis.the-little-red-haired-girl.org/ by default in Slackware

MTK358 08-12-2011 12:08 PM

Also, if you're using the arrow keys, Home, and End in vi, you should probably learn the proper movement keys:

h: left
l: right
k: up
j: down
0: beginning of line
^: first non-whitespace character on line
$: end of line

SeRi@lDiE 08-12-2011 12:37 PM

Quote:

Originally Posted by MTK358 (Post 4441047)
Also, if you're using the arrow keys, Home, and End in vi, you should probably learn the proper movement keys:

h: left
l: right
k: up
j: down
0: beginning of line
^: first non-whitespace character on line
$: end of line

MTK,

Thanks for your reply. I know the right commands for vi I just got use to using a specific set of keys.... I been sys admin for rhel systems for over 8yrs now and they set of keys sort of stuck to me :P

SeRi@lDiE 08-12-2011 12:39 PM

All,

Thanks for the help. Ill close this request.

Thank You,
-


All times are GMT -5. The time now is 05:44 AM.