Re: some problems with vim
On 02/08/2011 01:48 AM, Devin Teske wrote: On Mon, 2011-02-07 at 16:25 -0800, Devin Teske wrote: On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: Hi, I have some problems by using vim. arrow up prints a B arrow down prints a C ... How can I fix this? Try adding to ~/.vimrc set t_ku=^[[1;2B set t_kd=^[[1;2C Minor note (hit send after forgetting the pit-fall many fall into): ^[ above is a single character produced by the two keystrokes: Control+V followed by Control+[ NOTE: Or, you can use... Control+V followed by Escape -- Devin You didn't mention what left/right do. But here's a guess: set t_kr=^[[1;2A set t_kl=^[[1;2D NOTE: You'll have to re-launch vim after creating ~/.vimrc Alternatively, this may be an artifact of an incorrectly-set TERM variable... try (if you're using csh or tcsh): setenv TERM vt100 (or if you're using sh or bash): export TERM=vt100 NOTE: you'll have to re-launch vim after changing TERM -- Devin Regards, alokat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks to all. The set t_kr=^[[1;2A set t_kl=^[[1;2D solution had fixed my problem. Regards, alokat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
some problems with vim
Hi, I have some problems by using vim. arrow up prints a B arrow down prints a C ... How can I fix this? Regards, alokat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: some problems with vim
On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: Hi, I have some problems by using vim. arrow up prints a B arrow down prints a C ... How can I fix this? Try adding to ~/.vimrc set t_ku=^[[1;2B set t_kd=^[[1;2C You didn't mention what left/right do. But here's a guess: set t_kr=^[[1;2A set t_kl=^[[1;2D NOTE: You'll have to re-launch vim after creating ~/.vimrc Alternatively, this may be an artifact of an incorrectly-set TERM variable... try (if you're using csh or tcsh): setenv TERM vt100 (or if you're using sh or bash): export TERM=vt100 NOTE: you'll have to re-launch vim after changing TERM -- Devin Regards, alokat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: some problems with vim
On Mon, 2011-02-07 at 16:25 -0800, Devin Teske wrote: On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: Hi, I have some problems by using vim. arrow up prints a B arrow down prints a C ... How can I fix this? Try adding to ~/.vimrc set t_ku=^[[1;2B set t_kd=^[[1;2C Minor note (hit send after forgetting the pit-fall many fall into): ^[ above is a single character produced by the two keystrokes: Control+V followed by Control+[ NOTE: Or, you can use... Control+V followed by Escape -- Devin You didn't mention what left/right do. But here's a guess: set t_kr=^[[1;2A set t_kl=^[[1;2D NOTE: You'll have to re-launch vim after creating ~/.vimrc Alternatively, this may be an artifact of an incorrectly-set TERM variable... try (if you're using csh or tcsh): setenv TERM vt100 (or if you're using sh or bash): export TERM=vt100 NOTE: you'll have to re-launch vim after changing TERM -- Devin Regards, alokat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org