Die Default-Settings von Debian hinsichtlich vim sind ja wirklich nur als unterirdisch zu bezeichnen.
Als Gentoo-User vermisst man da einiges. Deshalb direkt die erste Amtshandlung:
# cat /etc/vim/vimrc.local
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif
Nun kann man auch unter Debian vernünftig mit Vim arbeiten.
{ 1 } Comments
*g* Ich glaube ich hätte mich irgendwann damit abgefunden.
Wenn man nur an einem Rechner solche Ungewohnheiten hat, geht es ja noch.
LG, Keks