CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[vimOF] vim Addon Highlight for OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree19Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2014, 06:47
Default
  #21
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hello all,

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

Have fun.
Attached Images
File Type: jpg vim1.jpg (47.3 KB, 100 views)
File Type: jpg vim2.jpg (41.6 KB, 64 views)
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 23, 2014, 05:33
Default Compiling version 3.0
  #22
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16
SD@TUB is on a distinguished road
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
SD@TUB is offline   Reply With Quote

Old   December 27, 2014, 10:50
Default Extension
  #23
New Member
 
Ferdinand Leinbach
Join Date: Nov 2014
Posts: 9
Rep Power: 11
effi is on a distinguished road
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
effi is offline   Reply With Quote

Old   December 27, 2014, 11:36
Default
  #24
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi, of course you can merged it with my repo. Feel free to modify it -
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 28, 2014, 17:07
Default
  #25
New Member
 
Ferdinand Leinbach
Join Date: Nov 2014
Posts: 9
Rep Power: 11
effi is on a distinguished road
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 likes this.
effi is offline   Reply With Quote

Old   May 19, 2015, 08:53
Default
  #26
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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.
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; August 12, 2018 at 10:13.
Tobi is offline   Reply With Quote

Old   September 26, 2018, 05:01
Default
  #27
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Quote:
Originally Posted by Tobi View Post
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?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   September 26, 2018, 07:30
Default
  #28
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
-> Readme file?
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 26, 2018, 08:22
Default
  #29
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
in the readme file is only about pathogen
I need vundle
is it possible to use vundle for your plugin?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using UDF in fuel cell addon module qwe2077 FLUENT 5 February 12, 2015 03:25


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