You are not logged in.

#1 2004-10-12 18:56:45

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Gvim

How to add new compiler (fpc) in gvim compilers list? Or how to setup hotkeys in gvim?

Offline

#2 2004-10-12 19:20:34

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Gvim

I can't answer your q, but I set gvims theme and fonts in the file "~/.gvimrc" , you could try and search for it,
good luck  big_smile


arch + gentoo + initng + python = enlisy

Offline

#3 2004-10-12 19:29:10

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Gvim

thnx wink

Offline

#4 2004-10-12 19:58:27

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: Gvim

Not sure what you mean by changing compiler but I'll assume you know at least somehow your way around vim. If that's the case, try doing in Normal Mode :h 'makeprg' and see if that's what you're looking for. About the hotkeys, try, again in Normal Mode, :h mapping.

Hope that helps.

Oh and by the way if you want to add your changes so they become permanent just add them to your ~/.gvimrc, for example add a line like this : set makeprg=fpc or something like that.

Offline

#5 2004-10-14 17:57:49

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Gvim

Thnx! It is that i want wink. But i have a question: that var contains name of current file? Then i add only 'set makeprg=fpc', the ':make' return help of 'fpc' command(like it runs without params).

Offline

#6 2004-10-14 18:13:42

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Gvim

Question resolved:

set makeprg=fpc -v0 -l- %
set errorformat=%f(%l,%c) %m

Offline

Board footer

Powered by FluxBB