Date: Fri, 28 Sep 2007 13:58:36 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Nikos Vassiliadis <nvass@teledomenet.gr> Cc: Jay Chandler <lists@sequestered.net>, freebsd-questions@freebsd.org Subject: Re: Getting vim to work correctly. Message-ID: <20070928105836.GA2054@kobe.laptop> In-Reply-To: <200709281345.14680.nvass@teledomenet.gr> References: <46FC605F.3000006@sequestered.net> <46FC99BD.4050102@sequestered.net> <20070928085631.GA3049@kobe.laptop> <200709281345.14680.nvass@teledomenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-09-28 13:45, Nikos Vassiliadis <nvass@teledomenet.gr> wrote: >On Friday 28 September 2007 11:56, Giorgos Keramidas wrote: >>On 2007-09-27 23:05, Jay Chandler <lists@sequestered.net> wrote: >>> Eric Schuele wrote: >>>> On 09/27/2007 21:01, Jay Chandler wrote: >>>>> Howdy. >>>>> Sorry to keep hitting the list with questions today, but does anyone >>>>> know how to get the home, delete, end, page up, etc. keys working >>>>> correctly in vim? >>>>> >>>>> It works in Linux, drives me nuts in FreeBSD... >>>> >>>> They work perfectly fine here. How is it you expect those keys to >>>> behave? Define "working correctly". >>> >>> When in insert mode, and pagedown is pressed, the letter the cursor is >>> over is capitalized, and the editor is removed from insert mode, as an >>> example. >>> >>> PageUp capitalizes the letter next to it, and again removes me from >>> insert mode. >>> >>> Home randomly capitalizes letters and shifts the cursor to the next >>> letter. >>> >>> Insert decapitalizes the letter the cursor is over. >>> >>> Weird behavior like this... > > Nothing weird, same here with every terminal I have installed(xterm, > Eterm & konsole). You should instal Vim if you want the old behaviour. Indeed. After Nikos' post I reread the original. Jay, what you are describing is: When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. This is expected behavior if you are using /usr/bin/vi. > Keep in mind that nvi is a different program. Why don't you > install Vim? Indeed, if vim's behavior is desired, then it may be a good idea to install vim. I usually keep around an installation of editors/vim-lite for those rare occassions that I have managed to break my local Emacs installation beyond repair :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070928105836.GA2054>