Tabulations, etc...

  • replace tabulation with space :
set expandtab
  • To convert existing tab in spaces :
%retab
  • Change colorscheme :
:colorscheme schemename 

Plugins

emerge colorschemes
emerge searchcomplete
emerge supertab

Nice Colorschemes

First at all, you need a 256 colors enable console. Are known to works :

  • rxvt
  • Xterm
  • urxvt ??

And they must be compiled with the 256colors options. To check it out :

rxvt --help

It give all the options compiled.

To enable the 256 colors in Vim :

set t_Co=256

Gvim

~/.gvimrc :


set termencoding=iso8859-15
set t_Co=256
colorscheme bmichaelsen 
set guifont=Bitstream\ Vera\ Sans\ Mono\ 10, Terminus\ 9 
set lines=60 columns=160

Install the colorschemes package :

emerge colorschemes

To load a colorscheme from vim (e.g. inkpot) :

:colorscheme inkpot

Irc in Vim

Get the plugin Here and drop It in ~/.vim/plugin/ folder.

Vim in mac OS X

To fix the arrow keys problem in iterm, in the main bar go to bookmarks > manage bookmarks. Edit the default profile and set the keyboard layout at global.

 
gnu/vim_en.txt · Dernière modification: 2007/10/29 21:53 par stan
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki