summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber.mailing@gmail.com>2006-04-26 00:42:36 +0200
committerbeber <beber@meathook.melee>2006-04-26 00:42:36 +0200
commit4a2f1a7638abd20aa5226da2bbc5ed2662a9290c (patch)
treed71c9ebed51e150626873d0ca114d2efab1f0baf
parentadd meathook portage config (diff)
downloadconfig-4a2f1a7638abd20aa5226da2bbc5ed2662a9290c.tar.gz
update vim config
-rw-r--r--vim/vimrc28
1 files changed, 14 insertions, 14 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 772ab09..77b5e02 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@ scriptencoding utf-8
" ^^ Please leave the above line at the start of the file.
" Default configuration file for Vim
-" $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/files/vimrc-r2,v 1.2 2005/09/22 19:51:44 ciaranm Exp $
+" $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/files/vimrc-r3,v 1.1 2006/03/25 20:26:27 genstef Exp $
" Written by Aron Griffis <agriffis@gentoo.org>
" Modified by Ryan Phillips <rphillips@gentoo.org>
@@ -31,7 +31,7 @@ map Q gq
" When doing tab completion, give the following files lower priority. You may
" wish to set 'wildignore' to completely ignore files, and 'wildmenu' to enable
" enhanced tab completion. These can be done in the user vimrc file.
-set suffixes+=.info,.aux,.log,.dvi,.bbl,.out
+set suffixes+=.info,.aux,.log,.dvi,.bbl,.out,.o,.lo,.o,.lo
" When displaying line numbers, don't use an annoyingly wide number column. This
" doesn't enable line numbers -- :set number will do that. The value given is a
@@ -74,9 +74,6 @@ endif
" Always check for UTF-8 when trying to determine encodings.
if &fileencodings !~? "utf-8"
set fileencodings+=utf-8
- set fenc=utf-8
- "set encoding=utf-8
- "set termencoding=utf-8
endif
" Make sure we have a sane fallback for encoding detection
@@ -94,14 +91,17 @@ endif
" {{{ Terminal fixes
if &term ==? "xterm"
- " Previously we would unset t_RV to prevent gnome-terminal from beeping as
- " vim started. These days it appears that gnome-terminal has been repaired,
- " so re-enable this, and don't restrict t_Co=8. (21 Jun 2004 agriffis)
- "set t_RV= " don't check terminal version
- "set t_Co=8
set t_Sb=^[4%dm
set t_Sf=^[3%dm
- set ttymouse=xterm2 " only works for >=xfree86-3.3.3, should be okay
+ set ttymouse=xterm2
+endif
+
+if &term ==? "gnome" && has("eval")
+ " Set useful keys that vim doesn't discover via termcap but are in the
+ " builtin xterm termcap. See bug #122562. We use exec to avoid having to
+ " include raw escapes in the file.
+ exec "set <C-Left>=\eO5D"
+ exec "set <C-Right>=\eO5C"
endif
" }}}
@@ -180,9 +180,9 @@ if filereadable("/etc/vim/vimrc.local")
endif
" }}}
+set et ts=2
+"setlocal spell spelllang=fr
set pastetoggle=<F10>
-"set tw=100
-"set tabstop=4
-set grepprg=grep\ -nH\ $*
" vim: set fenc=utf-8 tw=80 sw=2 sts=2 et foldmethod=marker :
+