version 1.98, 2003/12/03 10:52:44 |
version 1.99, 2003/12/09 07:18:06 |
|
|
" |
" |
" Lubomir Host 'rajo' <rajo AT platon.sk> |
" Lubomir Host 'rajo' <rajo AT platon.sk> |
|
|
" Version: $Platon: vimconfig/vimrc,v 1.97 2003/12/03 10:45:42 rajo Exp $ |
" Version: $Platon: vimconfig/vimrc,v 1.98 2003/12/03 10:52:44 rajo Exp $ |
|
|
" Debian uses compressed helpfiles. We must inform vim that the main |
" Debian uses compressed helpfiles. We must inform vim that the main |
" helpfiles is compressed. Other helpfiles are stated in the tags-file. |
" helpfiles is compressed. Other helpfiles are stated in the tags-file. |
Line 204 set undolevels=10000 |
|
Line 204 set undolevels=10000 |
|
":set expandtab |
":set expandtab |
|
|
" Settings for mouse (gvim under Xwindows) |
" Settings for mouse (gvim under Xwindows) |
set nomousefocus mousehide |
set nomousefocus |
|
set mousehide |
|
set mousemodel=popup |
|
|
|
" Cursor always in the middle of the screen if GUI is not running |
|
if ! has("gui_running") |
|
set scrolloff=999 |
|
endif |
|
set sidescroll=5 |
|
set sidescrolloff=1 |
|
|
" Cursor always in the middle of the screen |
|
set scrolloff=999 |
|
|
|
" Make window maximalized |
" Make window maximalized |
set winheight=100 |
set winheight=100 |
Line 225 set wildchar=<Tab> |
|
Line 232 set wildchar=<Tab> |
|
set wildmenu |
set wildmenu |
set wildmode=longest:full,full |
set wildmode=longest:full,full |
|
|
|
set clipboard=unnamed |
|
|
" Allow specified keys that move the cursor left/right to wrap to the |
" Allow specified keys that move the cursor left/right to wrap to the |
" previous/next line when the cursor is on the first/last character in the |
" previous/next line when the cursor is on the first/last character in the |
" line. Allowed keys are 'h' and 'l', arrow keys are not allowed to wrap. |
" line. Allowed keys are 'h' and 'l', arrow keys are not allowed to wrap. |
Line 330 imap <C-D> <Esc>:call SafeLineDelete()<C |
|
Line 339 imap <C-D> <Esc>:call SafeLineDelete()<C |
|
|
|
" Search for the current Visual selection. |
" Search for the current Visual selection. |
vmap S y/<C-R>=escape(@",'/\')<CR> |
vmap S y/<C-R>=escape(@",'/\')<CR> |
|
" replace selected text with text in register |
|
vnoremap p <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc> |
|
|
" Good pasting toggle {{{ |
" Good pasting toggle {{{ |
" From Christopher Swingley <cswingle AT iarc.uaf.edu> |
" From Christopher Swingley <cswingle AT iarc.uaf.edu> |