Slashdot Mirror


Vim 6.3 Released

file cabinet (Bram Moolenaar) writes "It has been a year since version 6.2. During that year many bugs were fixed and a few new features added. The support for multiple languages has been improved. It is now possible to use translated help files. A lot of testing has been done and all reported problems have been solved. This is the most stable Vim release ever! Release notes can be found in the announcement. Or do ":help version-6.3" after installing. Happy Vimming!"

7 of 53 comments (clear)

  1. finally! by Enrico+Pulatzo · · Score: 4, Informative

    I installed this last week and was quite happy to see that the p-bug in windows is now fixed! Basically, if you had text selected and started to type a letter p, a paste would ensue rather than typing the letter p.

    1. Re:finally! by Soul-Burn666 · · Score: 2, Informative

      And why shouldn't it paste?
      If you have text selected, you are in visual mode, not insert mode. I don't know if it should paste or not (tho that seems most reasonable), but just inserting the letter p into the text? What makes the letter p special, and not for example the letter "y" (to yank to selected text, one the obvious things you want to do with selected text).

      Either that or I completly don't understand what you mean by "started to type the letter p", I assume you meant pressing the p button.

      --
      ^_^
    2. Re:finally! by Enrico+Pulatzo · · Score: 4, Informative

      I'm certain it's something that can be manipulated via the vimrc file. I'll even wager that the change is in the mswin.vim file that is sourced by default installs on Windows. That's what this thread leads me to believe. (See March 27, 2004 21:57 comment)

    3. Re:finally! by Anonymous Coward · · Score: 5, Informative

      It's across-the-board. The special mode that Vim goes into upon mouse selection is called "Select mode", indicated by "-- SELECT --" and is documented in the Vim manual accessible via :help.

      It is a distinct mode to the other Vim modes. It is close to, but different to vim's "Visual mode" entered with "v", used for selecting blocks of text.

      (And confusingly, the name "Visual mode" is used in the original Vi for what Vim calls "Normal mode": Vi has no Vim Visual Mode!)

      So the windows "p" behaviour was a bug.

  2. And the Ruby VIM syntax/indent files... by tcopeland · · Score: 2, Informative

    ...are available here.

    To close, let me just say this.... :wq.

  3. Re:Just for the balance by Feztaa · · Score: 2, Informative

    I think the secret to using emacs comfortably is to map your right alt key (admit it, you've never touched that key in all your life) to be the left control key.

    Now I scroll through documents by simply holding down my right alt key and pressing 'n', which is interpreted by Emacs as C-n, which puts you onto the next line of text. C-n is actually very easy to just hold down when it's your right alt key (assuming qwerty layout).

    I think it's actually kinda funny with vim using hjkl for movement and emacs using fbnp. f, b, n, and p are MUCH more logical (F for going Forward one character, B for Backward, N for Next line, P for Previous line), it's just that those keys happen to be scattered around the keyboard. Vim just picked wacky letters that have nothing to do with anything, except that they're right next to each other.

    I'm actually getting used to Emacs. At first I thought it was inefficient to have to press C-x C-s to save a file, then I realized that it was less keypresses than ESC :wq!. Same with C-x C-c to exit, etc. The pain of holding down two keys at once is easily compensated for by not having to switch modes. Modes in vim always screwed me up; even though I was used to vim commands after years of use, I still found myself trying to type text into command mode or typing commands into insert mode. My brain has been so damaged by vim's modes that you'll often see me typing vim commands into Emacs, it's really embarrassing. "Ok, I want to edit this, press i, oops, delete the i and type what I really wanted..."

  4. Re:A Haretic's Confession by Anonymous Coward · · Score: 3, Informative
    I must admit that I am addicted to windows-style shortcuts in text editors (shift + arrows to select, ctrl+c to copy, ctrl-v to paste, ctrl + arrows to skip a word, ctrl + shift + arrows to select while skipping, home to go to the beginning of the line (to the first letter after the whitespace at first, then to the beginning of the line), end to go to the end of the line, shift+home to select to the beginning, shift + end to select to the end).

    Sure, those keybindings are the default when you install Vim on Windows. They're contained in a script called mswin.vim that is automatically run in each session. I'm sure you could even use the keybindings on a *nix box, if you're so inclined.