From ArchWiki
Revision as of 15:06, 23 September 2012 by Conley (talk | contribs) (Should there be this much tutorial content?: new section)
Jump to: navigation, search

Advanced vim usage?

Could a wise vim wizard share with us the art of advanced vim usage using plugins and commands not explained in this article? --Svenstaro 22:45, 19 August 2009 (EDT)

I am not a wizard, but regardless, one of the things to do is simply peruse the quickref and try to think of when such and such command or keystroke could be useful. Read the associated documentation for those you are interested in. See also Jonathan McPherson's article on efficient editing as well as Bram Moolenar's version. --khne522 Forgot to sign at the moment of posting.


"This is the basic usage on how to use vim" is a very awkward sentece. I've changed it.

Nod. How it is put now describes it better. --Gen2ly 15:39, 21 October 2009 (EDT)

256 Colorschemes

There should be a comment somewhere in the vimrc example pointing out that 256 colors load properlly if the colorscheme sentence on the vimrc is at the bottom of the file

vim != vi

If vi is going to redirect here, we at least need something to distinguish these. | Emiralle 09:47, 11 October 2011 (EDT)

Well, the intro already says "Vim is an advanced text editor that seeks to provide the power of the de-facto UNIX editor ‘vi’, with a more complete feature set." but if you want to add more it's a welcome thing :) -- Kynikos 16:01, 12 October 2011 (EDT)


In the Spell Check section the infromation are incomplete, now the spell check for Vim are in the repository so I think that the section need to be updated, I was thinking someting like that:

Only English language dictionaries are installed by default, more can be found in the [extra] reopository:

# pacman -Ss vim-spell

to get the list of available languages,

# pacman -S vim-spell-xy

where xy are the language of your choice.

The spell check files can also be found at the vim ftp archive. After downloading the spl files for the given language (e.g. hu.cp1250.spl, hu.iso-8859-2.spl and/or hu.utf-8.spl for Hungarian) into ~/.vim/spell, run:

:setlocal spell spelllang=LL

This is just a sample, not fully formatted.Maveloth 08:32, 15 October 2011 (EDT)

Looks good, you can update the section. -- Kynikos 07:14, 16 October 2011 (EDT)
Done, I also suggest to use the keypress template for this page, I'm going to translate it for the Italian wiki, so if you think it is correct I can do it. -- Maveloth 13:51, 17 October 2011 (EDT)
Well, having all keys marked with Template:Keypress is better than highlighting them in bold, so you can change them. Nonetheless, I don't know if Keypress itself will be involved in the template simplification currently under discussion, and thus redirected to a simpler template, but that's another story. -- Kynikos 05:41, 18 October 2011 (EDT)
The spell checking addition was reverted only because of how Template:Keypress looked at that time, now I've restored it and this discussion can be closed. -- Kynikos 07:43, 5 March 2012 (EST)

Should there be this much tutorial content?

The usage section is very large, and not very useful, in my opinion. If users are looking for learning resources, vimtutor would do a much better job. I think usage should be a short overview of things that focuses on more abstract things, such as how modal editing works. Conley (talk) 15:06, 23 September 2012 (UTC)