You are not logged in.

#26 2005-04-28 19:38:30

(mez)
Member
From: North Wales, UK
Registered: 2005-04-16
Posts: 15

Re: my vimrc

Thanks for that - very useful

Offline

#27 2005-04-28 20:17:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: my vimrc

hmmm does ttyfast make a difference? I don't have it set... never seen it before.

Offline

#28 2005-04-28 21:05:18

(mez)
Member
From: North Wales, UK
Registered: 2005-04-16
Posts: 15

Re: my vimrc

I haven't really noticed a difference. I'm still experimenting - just going through the reference manual and trying out random new things to see if they help.

Offline

#29 2005-04-28 21:09:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: my vimrc

ah, ok - it seems "ttyfast" is automatically set depending on $TERM - it's on for xterm/rxvt/etc

Offline

#30 2005-09-29 17:33:42

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: my vimrc

syntax on
set     nomodeline
set     ww=<,>,[,]



filetype on
filetype indent on
filetype plugin on


set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent

map ,s :w !~/.vim/pipe.sh bash <CR> <CR>
map ,p :w !~/.vim/pipe.sh python <CR> <CR>

nmap > :bn<CR>
nmap < :bp<CR>

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

:command -nargs=+ Pyhelp :call ShowPydoc("<args>") 
function ShowPydoc(module, ...)
        let fPath = "/tmp/pyHelp_" . a:module . ".pydoc"
        :execute ":!pydoc " . a:module . " > " . fPath 
        :execute ":sp ".fPath 
endfunction 

 
let spell_auto_type     = "html,tex,txt,none"
let spell_executable    = "aspell"
let spell_insert_mode   = 0
let spell_language_list = "de_DE,en_US"

let psc_fontface        = "plain"
colorscheme ps_color

I still have to figure out, how to make vimspell auto check the file types mentioned. I still have to type :SpellAutoEnable at the beginning of each session.

Offline

#31 2005-09-29 19:01:48

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: my vimrc

vim 7.0 will have spell checking internally.
set spelllang=en_US
spell on

Offline

#32 2005-09-29 19:22:20

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: my vimrc

but vim 7 is still in development, isn't it? which spellchecker will it use or can you choose?
btw.: Is there a reason to set nocompatible?

'compatible' 'cp'    boolean    (default on, off when a .vimrc file is found)
            global
            {not in Vi}
    This option has the effect of making Vim either more Vi-compatible, or
    make Vim behave in a more useful way.
    [...]
    When a ".vimrc" file is found while Vim is starting up, this option is
    switched off, [...].

Offline

#33 2005-09-29 20:06:36

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: my vimrc

cmp wrote:

but vim 7 is still in development, isn't it? which spellchecker will it use or can you choose?

It uses it's own engine. based on OOo I think

cmp wrote:

btw.: Is there a reason to set nocompatible?

    When a ".vimrc" file is found while Vim is starting up, this option is
    switched off, [...].

Never knew that, thanks.

Offline

Board footer

Powered by FluxBB