Welcome to Kuwait Linux User Group - OpenSource free stuff

Search   in  

 Create an AccountHome | Gallery | Submit News | Your Account | Content | Topics | Top 10  

Modules
· Home
· Advertising
· Downloads
· FAQ
· Forums
· PHP-Nuke Tools
· Stories Archive
· Submit News
· Surveys
· Top 10
· Topics
· Tutorials
· Web Links
· Your Account

Search
Google
Web q8linux.net

  

Vim On Slackware.

color vim

In RedHat , their vim looks very cool.

When we started to use some other OS or distro,
we will find out that their vim looks like lack of feature.

So, to make it looks our vim looks more cooler,
These are the two things we can do.


Create a filename call /usr/share/vim/vimrc , and add in these lines

# cat /usr/share/vim/vimrc
" FIlename /usr/share/vim/vimrc
"Basic Settings
set nocompatible
syntax on
color desert
filetype on

set history=50
set showcmd
set incsearch
set hlsearch


"Key Mapping
set backspace=indent,eol,start
map Q gq

" UI Settings
set wildmenu " turn on wild menu
set ruler " Always show current positions along the bottom
set nolz " do not redraw while running macros (much faster)
set hid " you can change buffer without saving
set backspace=2 " make backspace work normal
set whichwrap+=,h,l " backspace and cursor keys wrap to
"set mouse=a " use mouse everywhere

" Folding Setting
set fdm=marker

# cd /usr/bin
# rm vi
# ln -s vi vim

Done.



source:
http://kerneltrap.org/node/view/2577

Q8linux

Copyright © by Kuwait Linux User Group - OpenSource free stuff All Rights Reserved.

Published on: 2004-10-28 (352 reads)

[ Go Back ]

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest ©2004-2008 by Q8linux.كويت لينكس
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.06 Seconds