Over a million developers have joined DZone.

My Favourite .vimrc Settings

set number
set linebreak
set hidden
set nobackup
set autoindent
set smartindent
set nowrap
set incsearch
set shiftwidth=4
set tabstop=4
set showmatch
set term=ansi
set tabstop=4
set history=200
set display+=lastline
set laststatus=2
set backspace=eol,indent,start
set fileencodings=latin1,utf-8,ucs-bom
set formatoptions=tcrqw
"set dir=C:\\tmp "Verzeichnis für Swapfiles Windows
"set dir=~/Library/Swapfiles/Vim "Verzeichnis für Swapfiles Mac OS X (Muss angelegt werden!)
set printoptions=duplex:off,
set statusline=%<%f\ %h%m%r%=%-14.(%l,%v%)\ %P
filetype plugin on
syntax on
command W :w

map  gk
imap  gk
map  gj
imap  gj
imap  g
imap  g
"Zwei Buchstaben vertauschen (Cursor auf dem vorderen Buchstaben)
nmap ; "idl"ip
"Neue Zeile im Normalmodus einfügen:
nmap  ok
"execute "source ~/.vim/startupscripts/ToggleCommentify.vim"
"map ç :call ToggleCommentify()j
"imap ç :call ToggleCommentify()j
iabbrev  pp echo "
";print_r();echo "
";T( iabbrev fc for ($i = 0; $iT( iabbrev htmlhead Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> nmap :Tlist imap :Tlist " Colorscheme-Aenderungen hi Pmenu guibg=#2050d0 guifg=#90fff0 hi MatchParen guibg=bg guifg=Red

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}