Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

02 September 2008

my nice .vimrc

syntax on
set number
colorscheme delek

au FileType python source ~/.vim/scripts/python.vim

"highlight RedundantSpaces ctermbg=red guibg=red"
""match RedundantSpaces /\s\+$\| \+\ze\t\|\t/"
" line numbers on/off ctrl+n ctrl+n"
:nmap :set invnumber
" "autoindent on/off"
:nmap :set invautoindent
" " Suche NICHT case-senitiv, außer ein Grossbuchstabe steht im Suchmuster"
" " SmartCase, SMARTcase, smartCASE, SmArTcAsE, sMaRtCaSe, smartcase"
set ignorecase
set smartcase
" " Während Eingabe eines Suchmusters bereits suchen (inkrementell)"
" " Alle zu einem Suchmuster passenden Textstücke markieren (highlight)"
set incsearch
set hlsearch
"
:map :nohl
:imap :nohl i
":map :w!:!ispell -d ngerman -w ÖÄÜöäüß %:e! %