Home > Arrow Keys > Ubuntu Putty Arrow Keys Not Working

Ubuntu Putty Arrow Keys Not Working

Contents

http://linuxwave.blogspot.com/2009/0...in-ubuntu.html ~n Last edited by nborders; March 25th, 2010 at 08:51 PM. bash To set bash as your default shell: chsh -s /bin/bash or sudo chsh -s /bin/bash yourusername share|improve this answer edited Jun 14 at 10:26 Anthony Geoghegan 3,4251639 answered Jun 14 My solution was apt-get install vim. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. http://techese.net/arrow-keys/ubuntu-vi-arrow-keys-not-working.html

If the tip contains good advice for current Vim, remove the {{review}} line. When a vimrc or gvimrc file is found while Vim is starting up, this option is switched off, and all options that have not been modified will be set to the On its own separate line, enter the following: alias vi='vim' Press Esc and then type :wq. Do I need an Indie Studio Name?

Arrow Keys Not Working In Vi

Not the answer you're looking for? Removing the mapping fixed it. Could you please elaborate , what I should do? –Rahul Saxena Jul 13 '15 at 6:01 | show 2 more comments 1 Answer 1 active oldest votes up vote 1 down This is done so you dont have to move from the major key area of the keyboard. –Gaurav Manchanda Jan 24 at 19:34 1 WHYYYYYYYY would they do this god

If I try to use the arrow keys it prints ^[[A, ^[[B, ^[[C or ^[[D. You then need to modify mode.vim in Limp. You may also need to copy the default .bashrc from /etc/skel to get the color prompt. Stty Arrow Keys And right, when clicking : on ↑ it will insert a "A", on ↓ it will insert a "B", ...

Only setting "term=ansi" seems to help. and the no environment option is not a good one. It works for me. http://askubuntu.com/questions/353911/hitting-arrow-keys-adds-characters-in-vi-editor imap oA ki imap oB ji imap oC li imap oD hi This solution is nearly identical to solution 2 with the exception that "^[O" from "imap ^[OA ki" has been

This page is referring to using Vim inside a terminal window. Ubuntu Arrow Keys A B C D My Cosigner is going to die, and the family is threatening to take the car! A better comparison to Sublime Text would be gvim, which does not have any of these limitations because it draws its own GUI and is not constrained in the terminal window. Browse other questions tagged ssh keyboard putty or ask your own question.

Linux Terminal Arrow Keys Not Working

I added those lines to my .vimrc and everything was fixed (and I was able to remove autoclose): "the following simply creates an ambiguous mapping so vim fully "processes the escape http://stackoverflow.com/questions/31375846/arrow-keys-not-working-in-vi-vim-in-remote-ubuntu-terminal What could cause humanity to migrate from land to water? Arrow Keys Not Working In Vi Not the answer you're looking for? Tab Completion Not Working In Linux Join them; it only takes a minute: Sign up Arrow keys in Putty returning ^[[A ^[[D ^[[B instead of moving the cursor up vote 28 down vote favorite 4 Has anyone

Solution 1 or 2 1) vi someFile While using vi, first move to the edit point, then enter into insert mode. 2) vim someFile Simply use vim from the start. http://techese.net/arrow-keys/ubuntu-arrow-keys-not-working-in-vi.html What a joke.--August 7, 2015 Normally, I'd just delete this, because it has nothing to do with Vim. Inconsistent size of parentheses in Latin Modern and Computer Modern Can someone explain this visual proof of the sum of squares? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Ubuntu Arrow Keys Not Working

How to solve this question quickly? You can use an alias to overwrite vi with a reference to vim so that no matter what you type in the infrequent future, you get vim without that "oops!" moment. asked 3 years ago viewed 83500 times active 17 days ago Blog How We Make Money at Stack Overflow: 2016 Edition Stack Overflow Podcast #94 - We Don't Care If Bret weblink Adv Reply February 13th, 2011 #7 androidyou View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2011 Beans 1 Re: SSH Control keys not working

What is expected by the Debian server. Linux Backspace Doesn't Work Can I install Dishonored 2 exclusively from CD without additional downloads? After a very recent update of my system including vim71 the left and right arrow keys started to play up.

share|improve this answer answered Nov 8 '13 at 21:30 latheiere 426311 Interestingly, this weird problem exists ONLY for Ruby eval prompt on Redhat (RHEL).

touch ~/.vimrc Solution 15Edit I'm using ubuntu and the latest version of Vim from the apt repository with xubuntu's default terminal, which is xTerm IIRC. Advertise Media Kit Contact Vim Tips Wiki is a Fandom Lifestyle Community. Thank you so much! Putty Up Arrow History Not Working share|improve this answer answered Aug 14 '12 at 14:56 paul 937156 still doesn't work :( –gopi1410 Aug 14 '12 at 17:49 What terminal are you using?

How do I get to know the value of TERM? share|improve this answer answered Oct 4 '11 at 14:57 ktf 1,7401710 add a comment| up vote 0 down vote Until you find a full solution try using vi-style keys instead of Solution 7Edit I had the same problem using Mandriva 2010. check over here the least invasive solution.

If you are using Pathogen for managing your bundles (which you should), you can disable individual plugins by adding them to the list variable "pathogen_disabled" (StackOverflow tip): let g:pathogen_disabled = ['delimitMate'] Solution Adjust Putty config (or TERM) until what is sent matches what the other end expected. Unix & Linux Stack Exchange works best with JavaScript enabled I'm technical referent but I lost the lead for technical decisions Why did the Winter Soldier kill these characters?

why is any of this nonsense necessary just to get the fucking arrow keys to work correctly? Creating the /etc/inputrc File share|improve this answer edited Mar 17 at 23:31 jcoffland 15115 answered Jan 28 '12 at 11:16 Meetai.com 33927 add a comment| Your Answer draft saved draft lowfatlinux.com/linux-editor-vi.html computerhope.com/unix/uvi.htm and not only in English but also in your language. –Rinzwind Nov 21 '12 at 8:44 Is there any specific reason for wanting to use vi as asked 6 years ago viewed 7663 times active 8 months ago Blog How We Make Money at Stack Overflow: 2016 Edition Stack Overflow Podcast #94 - We Don't Care If Bret

Is it normal to treat Math Theorems as "Black Boxes" Why do governments not execute or otherwise permanently contain super villains? What is this word problem asking?