CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [vimOF] vim Addon Highlight for OpenFOAM (https://www.cfd-online.com/Forums/openfoam-community-contributions/99343-vim-addon-highlight-openfoam.html)

Tobi November 20, 2014 06:47

2 Attachment(s)
Hello all,

due to the hint of completion, I insert this feature into the colour scheme.
See attached pictures.

Have fun.

SD@TUB December 23, 2014 05:33

Compiling version 3.0
 
Hi Tobias,
Nice job! I have trouble when compiling on regular bash (Debian Wheezy), see following error:
Code:

"-----------------------------------------"
" vim addon for highlight OpenFOAM files  "
" Contributor:  Tobias Holzmann          "
" Last Change:  November 2014            "
" Version:      3.0                      "
"-----------------------------------------"

There is an existing $HOME/.vimrc file
The following lines are insert to the last line:
                ':set tabstop=4 shiftwidth=4 expandtab'
"- vim Extension OpenFOAM
:set tabstop=4 shiftwidth=4 expandtab
./install: Zeile 76:  : Kommando nicht gefunden.

vimExtensionOpenFOAM is ready to use...
Have a nice day...
Tobias Holzmann

I added the claimed line above to my ~/.vimrc-File by hand. When I open a dict-File vim claims:
Code:

err: please use a 256-color terminal
I guess something went wrong... Are there any special bash settings to be aware of?

/Stefan

effi December 27, 2014 10:50

Extension
 
Hello,

I'm currently working on making your Synatx-Highlighting Vundle (https://github.com/gmarik/Vundle.vim) / Pathogen compatible and making the colouring less "Forcing" (instead of an own colorscheme I try to remodel it to build on top of regular colorschemes so it can be used with the colorscheme of choice, in my case the infamous solarized (http://ethanschoonover.com/solarized)

You can find my cloned work-in-progress-fork currently on Github.com (Had an account there so it was easier for me). I'll try to move it to bitbucket soon so I can contribute my changes more easily back to your original effort.
Of course only in case you are interested in the aforementioned changes :).

https://github.com/effi/vim-OpenFoam-syntax

Tobi December 27, 2014 11:36

Hi, of course you can merged it with my repo. Feel free to modify it -

effi December 28, 2014 17:07

Hello,
I made a pull-request. There are currently still some shortcomings (described in the pull request), so if you want me to edge them out first I will try to give it a go :)..
But I highly recommend not using plugins for vim the old-fashioned way but through one if the great plugin managers. Makes it a lot easier to install, update and makes all plugins portable through the use of git for your .dotfiles :)

Tobi May 19, 2015 08:53

Dear all,

thanks for the messages for bug-reporting and extension (pull requests) I get.
The latest and I hope - bug free - version 4.0 is online. Ferdinand did a very good job and now its running without any complications.


Thanksgiving to Ferdinand Leinbach


https://bitbucket.org/shor-ty/vimextensionopenfoam



PS: Dear Stefan, sorry I did not realize your reply. Anyway I hope you get it (: In the latest version everything is working.

gaza September 26, 2018 05:01

Quote:

Originally Posted by Tobi (Post 546884)
Dear all,

thanks for the messages for bug-reporting and extension (pull requests) I get.
The latest and I hope - bug free - version 4.0 is online. Ferdinand did a very good job and now its running without any complications.


Thanksgiving to Ferdinand Leinbach


https://bitbucket.org/shor-ty/vimextensionopenfoam



PS: Dear Stefan, sorry I did not realize your reply. Anyway I hope you get it (: In the latest version everything is working.


Hi Tobi,
How to install your plugin using Vundle?

Tobi September 26, 2018 07:30

-> Readme file?

gaza September 26, 2018 08:22

in the readme file is only about pathogen
I need vundle
is it possible to use vundle for your plugin?


All times are GMT -4. The time now is 21:40.