LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2013, 02:02 PM   #1
MisterSnrub
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Rep: Reputation: Disabled
Alternative to Alt+B and Alt+F to move between words in Linux?


I hate having to use the Alt key. It's clunky and awkward and difficult for my hands. Is there an easier way to move to the next/previous word? Is there a way to map Alt+F to Ctrl+right arrow and Alt+B to Ctrl+Left arrow?

I guess I should describe my setup: I connect to a CentOS server through PuTTY in Windows 7.
 
Old 03-17-2013, 02:40 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
What's function of Alt+F and Alt+B in Putty?

In the meantime, you have limited options under putty configuration as catagory > keyboard, where you can do modifications.

Last edited by shivaa; 03-17-2013 at 02:41 PM.
 
Old 03-17-2013, 08:40 PM   #3
MisterSnrub
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Alt+F goes forward a word on the command line. Alt+B moves back a word on the command line.

This isn't just PuTTY-specific. For example, in Terminal in OSX Option+F goes forward a word and Option+B goes back a word. But again, it's a pain to use the Option key when the control key is far preferable.
 
Old 03-17-2013, 11:29 PM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Well, I don't think that there's any alternative to Alt+F and Alt+B in Putty. Meanwhile you can use following for ease,
Quote:
CTRL+A – Cursor moves at the beginning of the command
CTRL+E – Cursor moves at the end of the command
CTRL+H – Erase characters one by one from cursor position
 
Old 03-18-2013, 01:56 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Not sure if that's a Putty thing, but using a Centos system on my desktop; in an xterm session, ctrl-left. ctrl-right work for me (Centos 6.4) at the cmd line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to kill the X server in Linux: alt-PrintScreen-k does what ctrl-alt-backspace used to do LXer Syndicated Linux News 0 03-05-2013 01:40 AM
ALT+B, ALT+F key combinations in xterm don't work nIMBVS cAos 4 12-15-2011 02:52 AM
[SOLVED] Nautilus Shortcuts (Alt-Left, Alt-Right) don't work bgalakazam Linux - Software 2 03-04-2010 02:19 AM
alternative to alt-f2 ? CQ1ST Linux - General 3 11-24-2007 04:00 PM
How to change KDE default Ctrl+Alt+K for changing language into Alt+Shift sepetar Linux - General 9 01-04-2006 07:06 AM


All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration