vimrc
Der Konfigfile mit Kommentaren
" general settings
set history=500 " keep 50 commands in history
set hlsearch " highlight last search
set ruler " show the cursor all the time
set showmode " show mode in status bar
" usability tweaks
set wildmenu " show menu for command completion
set virtualedit=all " allow to position cursor anywhere
" configure folding
set foldmethod=marker
set foldmarker={,}
set foldlevelstart=99
" textformating
set number
set tabstop=2 " set the tabwith to 4
set shiftwidth=2 " useful to use blockwise shifting
set expandtab " transform tabs to spaces
set list listchars=tab:»· " set up the tab char
set autoindent " alway enable autoindention
"set smartindent " enable smart indention
filetype plugin indent on " filetype specific indention
syntax enable " enable the syntax highlighting
set hlsearch " highlight last search
syntax enable " enable the syntax highlighting
" directories
" set backupdir=$HOME/.vim_backup,. " set the backup directory
set backupdir=$HOME/.vim/backup,. " set the backup directory
" insertmode keymaps
imap
imap date =strftime("%a, %d %b %Y")
imap ( ()
imap [ []
imap { {}
" function key mappings
nmap :wall!
" configuration for vimspell
let spell_executable = "aspell"
let spell_language_list = "de_DE"
" configuration for minibufferlist
map :MiniBufExplorer
map :CMiniBufExplorer
" some language specific settings
autocmd FileType make setlocal noexpandtab
" setup printing
set printoptions=syntax:y
set printexpr=PrintFile(v:fname_in)
if !exists("*PrintFile")
function PrintFile(fname)
call system("lpr -r -Uroot " . a:fname)
return v:shell_error
endfunc
endif
Downloads und Links
- Download .vimrc
- Netzwerkorientiertes Lesen, Schreiben und Suchen von Dateien (z.B. FTP / SSH)
- Aspell basierte Rechtschreibprüfung
- Eleganter kleiner Pufferumschalter
letze aktualisierung: 8.August 2005



