Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 101

more...

Headlines

 
  Register To Post  

« 1 2 (3) 4 5 6 7 »
Re: VIM the editor
Home away from home
Home away from home


See User information
@sTix
I asked Mason about, hope he will ok with. Toolbars icons in the same png format as your initial one, but aos4 native icons (for vim binary, for directory) are in native os4 format, do not remember if mos support it, but we can check

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Just popping in
Just popping in


See User information
@kas1e
@trixie

Sounds good. I need to do some work on the installer to cater for all platforms.

Go to top
Re: VIM the editor
Just can't stay away
Just can't stay away


See User information
Thanks!!!

Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@kas1e

Beautiful

Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@All
Ok its done, take it from os4depot:
http://os4depot.net/share/utility/text/edit/vim_mui.lha

Through we can't fix that annoying empty window popup at moment, so it's still there when you run it from workbench.

There is copy of what i put into the news there and on aw.net:


VIM 8.1 with MUI GUI out now and for AmigaOS4!

What is it ? ...

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. Vim is rock stable and is continuously being developed to become even better. Among its features are:

* persistent, multi-level undo tree
* extensive plugin system
* support for hundreds of programming languages and file formats
* powerful search and replace
* integrates with many tools

Please note that this is not a straight port of the upstream version. It includes a full MUI GUI with most of the bells and whistles found in Vim on any of the major platforms.

Check screenshot of AmigaOS4 version (click on image for full size):

Resized Image

Source code is open, hosted on sourceforge (yeah, author aware about other things like github and co, but currently its on sourceforge) and can be found there: https://sourceforge.net/projects/spaden/. There you also can report your bugs if you find any.

The only limitation in GUI mode at moment only 2 (but they are work in progress)

* no scrollbar support
* "replace" gui button doing nothing, it just need some more work by adding more dialogue windowses.

And one little annoying empty window popup when run from workbench (also in progress to be fixed).

To more understand how it all looks / feels like, you can just watch my youtube video (1920x1080 , no phone-camera-point-on-screen porn, real HD one):

https://www.youtube.com/watch?v=UBOuVuGUTZ0

But you should be sure, its not casual text editor. For use it you should know what you do and what VIM is. Because if not, very possible that you even will be not able to quit from the editor at all :)

How to run ...

1. Just unpack vim to any place you want.

2. Make an assign of VIM: to your_path/vim/runtime/ directory.
(You can not make that assign, and just run vim after unpacking, but then it will ask you to assign VIM: anyway, which you still need to point on your_path/vim/runtime/ directory). So better put something like this to your user-startup: Assign VIM: work:vim/runtime >NIL:

3. run "gvim" binary.

What about AmigaOS4 port ? ...

Ola 'sTix' Söder doing good job on making real MUI GUI for VIM as well as keeping whole amiga version of VIM be up2date. Originally he developed it for MorphOS and later for AROS, but now with some little effort we also have AmigaOS4 version too.

For making it works you need to have for your MUI installation "TheBar" custom class installed (that for all platforms), it is available there:

https://github.com/amiga-mui/thebar

Or you can grab it from os4depot there:

http://os4depot.net/share/library/mui/mcc_thebar.lha

Version of VIM for AmigaOS4 release is the same as last public released versions for MorphOS and AROS: 8.1.1099, just with some more bugs fixed and things added which will fits into next MorphOS/AROS releases as well, there they are:

-- fix: jumping between screens.
-- fix: remembering of window size/dimenstion when iconify and when exit.
-- fix: "the bar" class settings are visibly now in mui prefs when press "more" in general tab of mui settings.
-- fix: one more remove of unnecessary "home:" assignment.
-- added: Mason's icons (toolbars, main icons)
-- added: Support not only for plain toolbar icons, but also for selected ones and disabled ones.
-- added: workaround to have ability to run vim from workbench in gui mode without spawning of unnecessary empty output windowses.
-- changed: as there is no scrollbar support at moment, we disabled related entries from mui's menu till it implemented.


Do not forget that MUI is highly configurable ! ...

Some of you aware , but some are not. If MUI programm do not reacts as you wish, you offten can change the behaviour via mui settings (or only for programm you choice, or in whole, for all mui programms). I.e. if your window size/dimenstion do not stored on exit, but you wish it be so, then change in mui settings window/window_position_are/ to be "stored permanently". If you want to have 'embedded menu bar' at top, you always can it enable in mui settings menus/enable emdedded menu bar. If you want to change size of toolbar in VIM (or in any app which use TheBar class for toolbars), you always can go to mui settings, press "more" and in "the bar" class play with "spacing" options.

Just be sure you can change via mui settings a lot.


Final words ...

Big thanks to Ola 'sTix' Söder who doing it.
Big thanks to VIM community that they still keept amiga related code in original repo, even if those ifdefs recieved death messages about being removed as unnecessary.
Big thanks to Thore for never ended work on AOS4 version of MUI5.
Big thanks to Martin 'Mason' Merz for making a toolbar and main icons
Big thanks to Goos McGuile for pointing out how to fix some rendering bugs
Big thanks to all others who show interest in it!


Edited by kas1e on 2019/5/3 20:06:37
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Just can't stay away
Just can't stay away


See User information
@kas1e

That is great news! Picked the binary from UL queue and tried quickly - works!

Quote:

Big thanks to Ola 'sTix' Söder who doing it.
Big thanks to VIM community that they still keept amiga related code in original repo, even if those ifdefs recieved death messages about being removed as unnecessary.
Big thanks to Thore for never ended work on AOS4 version of MUI5.
Big thanks to Martin 'Mason' Merz for making a toolbar and main icons
Big thanks to Goos McGuile for pointing out how to fix some rendering bugs


Bram surely has donation button somewhere but how about you and the others?

Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@Capehill
I asked sTix (its him who do MUI work on vim) if he doesn't mind to share his paypal address to take some thanks for his work, but he think it's me who deserve it more (strange why , as i only port what he do, and porting was really easy one, not like in case with something heavy like Odyssey or VPDF). So imho it will be fair to not share my one too :)

But thanks anyway !

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Just can't stay away
Just can't stay away


See User information
Thanks!, really appreciated

Go to top
Re: VIM the editor
Just can't stay away
Just can't stay away


See User information
@kas1e

Donated 30 EUR, keep or share as you find appropriate

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@Trixie
Thanks , now if only sTix will give me his paypal acc ..

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Just popping in
Just popping in


See User information
VIM was originally released for the Amiga so it is good that it is still available for her.

Go to top
Re: VIM the editor
Just popping in
Just popping in


See User information
@kas1e

I don't have any paypal account.

Whenever Trixie donates money to you for Vim, I will simultaneously donate the same amount to you for Dopus. To keep it simple, and avoid PayPal fees, we might as well bypass me



Go to top
Re: VIM the editor
Just popping in
Just popping in


See User information
@kas1e

Very thank you for this

Is it possible to change langage to french ?

Go to top
Re: VIM the editor
Not too shy to talk
Not too shy to talk


See User information
@kas1e & @sTix
many thanks for your great work

Go to top
Re: VIM the editor
Not too shy to talk
Not too shy to talk


See User information
@kas1e,
on my setup X1000 OS 4.1 Final it the .swp files
are not removed on exit.
I don't know if its a bug or problem on my system
the file it's created with no protection bit set,
if I set the UMASK variable the .swp files are
created with protection bit set but on exit
the protection bits are cleared and the .swp file
it's not removed.

Anyway it's a great work

Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@pvanni
Same for me, and i also do not know if it intendent to be like this or not :) Logicaly swap files should be removed imho.. Need to check how it on unix/win32

@sTix
Mason says he have no problems if we will use his toolbars on aros/morphos as well.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Just popping in
Just popping in


See User information
@kas1e

Excellent. Thanks Mason.

Go to top
Re: VIM the editor
Not too shy to talk
Not too shy to talk


See User information
@kas1e,
.swp file has two use:
to prevent multiple istances of VIM to edit the same file
and to recover from a crash
.swp file on linux and win are removed on exit.

Anyway the protection bit of .swp files must be correctly set
otherwise they cannot be read in case of crash recovery
with the -r parameter invoking VIM

VIM can also create another file for persistent undo if
activated (set undofile) also this feature actually
doesnt work but the .swp problem it's more important
than the persistent undo

Go to top
Re: VIM the editor
Home away from home
Home away from home


See User information
@pvanni
I checked old 7.1 version from os4depot, and that one didn't have that issue. Then i also tried to build myself 7.1 version from source code placed on main vim site, and my build have the same bug..

So, or it new SDK, or new compiler, or maybe author of 7.1 port on os4depot fix it internally somehow..

I noticed that when i just edit the file from which i have .swp, protection bits of that .swp file still there, all fine, but once file is closed for editing, or i quit from vim, then protection bits resets to 0 , and so because of it .swp didn't deleted.

sTix says he didn't have that issue on MorphOS or AROS, so it's something on our side only seems so.


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: VIM the editor
Site Builder
Site Builder


See User information
@kas1e and @sTix
Great work guys. I disabled the swp files from vimrc with
set noswapfile
but I feel that this is not a good idea. It would be best the file to be removed as soon as the file is closed.

Also, one problem I have is that when I switch my keyboard layout to Greek, the tonality doesn't work, although the letters are typed just fine. This happens by hitting the semicolon key (;) once and then the letter that I want to add tonality. Checked the same version of vim on Linux and this works just fine.

Thanks for the fine work you do.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top

  Register To Post
« 1 2 (3) 4 5 6 7 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project