Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 06:27:40 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Vim 7.2 - Vista compatible!  (Read 5585 times)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Vim 7.2 - Vista compatible!
« on: July 11, 2008, 05:53:59 PM »
Ok, for those interested (if you're reading this, you proably are interested, right? :P), the new version of vim is Vista-compatible.
While previous versions had problems with colors, or just blew up with a few errors on startup, I just instaled the new version (which is in beta right now), and it looks like it works perfectly.
I imported the _vimrc I used in XP, and it found no problems loading it, I must say I'm pretty happy with it :)


lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #1 on: July 12, 2008, 04:58:43 AM »
jgpaiva: just curious, do you write your programs (GridMove et. al) in Vim?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #2 on: July 12, 2008, 05:12:55 AM »
That sort of depends. When it's in Java, nothing beats eclipse, and I generaly program in linux for school work.
My coding snacks were mostly written in vim, though. In the beggining, I also used pspad, and recently had been using notepad++ because vim wasn't working in Vista. Now, I'll probably go back to vim ;)

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,797
    • View Profile
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #3 on: July 12, 2008, 02:03:58 PM »
glad to see that someone else is using vim for ahk :)

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,115
    • View Profile
    • Donate to Member
Vim 7.4 - 7.4a BETA has been made available.
« Reply #4 on: July 14, 2013, 03:15:14 PM »
Just a note for those interested:

[2013-07-06] Vim 7.4a BETA has been made available.
Since 7.3 more than a thousand improvements have been made.
It should already be stable enough for daily use. But let's do some testing before calling it 7.4.

You can read the announcement here. (Bram Moolenaar)
http://www.vim.org/



Happy Vimming!



NSA approved. ID:45HK789de

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 1,882
    • View Profile
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #5 on: July 14, 2013, 04:58:48 PM »
Just a note for those interested:

[2013-07-06] Vim 7.4a BETA has been made available.
Since 7.3 more than a thousand improvements have been made.
It should already be stable enough for daily use. But let's do some testing before calling it 7.4.

You can read the announcement here. (Bram Moolenaar)
http://www.vim.org/



Happy Vimming!



NSA approved. ID:45HK789de


Thanks, also :D and you know I am using the :D

x16wda

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 679
  • what am I doing in this handbasket?
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #6 on: July 14, 2013, 07:17:42 PM »
All I can say is.... read the signature...  :P
vi vi vi - editor of the beast

oblivion

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 405
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Vim 7.2 - Vista compatible!
« Reply #7 on: July 23, 2013, 11:46:38 AM »
I'm a text editor junkie, I admit it. I've got probably a dozen lying around within easy distance and probably the same number in zipfiles just in case I find something they'd be ideal for.

An ex-colleague of mine (with a far more unix-y background than me), back in the 80s, used to swear by emacs and vi, but as my main experience of text editors at that time consisted of edlin and WordStar (in non-document mode, natch) and editors that had to be told how to edit seemed far too complicated for my simple needs, emacs scared the pants off me and vi just looked like you needed a degree in computer science even to think about it. An editor for nerds, I privately thought. (Said the man who, even now, will often knock up a quick batchfile using "copy con foobar.bat". I know. It's not big and it's not clever. But you can do it with nothing up your sleeves...)  ;)

So vim is vi with extra vim, right? But it's still a commandline editor? More in common with edlin than notepad++?

So -- and this is a genuine query, because I honestly can't give up looking for a better mousetrap -- why would I want vim? (Be warned, though: if your answer is something like "it's the best editor there is for supporting regular expressions", I'm not gonna bite -- I get the point of regular expressions, I just know mastering the syntax is never going to happen!)

-- bests, Tim

...this space unintentionally left blank.

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,115
    • View Profile
    • Donate to Member
Vim 7.4 - 7.4a BETA has been made available. Why VIM?
« Reply #8 on: July 23, 2013, 02:49:36 PM »
So vim is vi with extra vim, right? But it's still a commandline editor?
VIM is VI IMproved. So yes, VIM is VI with many improvements.

There is a VIM.exe for terminal or commandline window (DOS-Box) and also gVIM with a normal gui and with toolbar and menus (you can create your own menus)


The advantage of VIM is for me that every keystroke can be a command and literal text,.. depending on the mode you are in.
There are action commands and movement commands, and you can combine them together, like (d)elete(w)ord or (V)isualSelect till (})end-of-paragraph
or "ddw             : store what you delete in register/clipboard d
"d :  use register d
d : delete
w : word

That way you can do many nifty things by just a few keystrokes: in a nutshell >> http://rayninfo.co.uk/vimtips.html
I guess this editor is only for people who work with text on a daily basic, else you wont get all that nifty tricks in to your fingers.
First it seams to be a many extra work to think about "ddw, but once you can memorize it f needed, it's a great workflow.
VIM has a command line, so you can just map the command "ddw to a key like F3 and use that the next few times you need it. ( just 'nmap <F1> "ddw <enter>' and here you go)
Actions are e.g. '(v) select', '(y)ank/copy' and '(d)elete'. Movements are e.g. '/findme', '(w)ord', '$' end of line, '}' next empty line, '%' to bracket, 'f"' to next quote,...
So you can use ' f " v f " y ' to find next quote, change to visual mode, select till next quote, and copy to register/clipboard.


========================================

(g)lobally[whole file] search for lines containing 'TODO'
and then (y)ank[copy] this line to register[clipboard] U (upper case U means 'append' to u)
use:

:g/TODO/y U


To yank the next line too, just add a '2':
:g/TODO/y U 2


To yank one line before and one after, use:
:g/TODO/-,+y U


To yank one line before and two after, use:
:g/TODO/-,+2y U

========================================

Select between quotes, or parenthesis, or whole paragraph, or <Tag>, or,or,or...:

vi"
vi)
vip
vit
 
More e.g. there > http://www.vimdrills...drill-3-text-objects

========================================

Best watch some vids to see how VIM works

http://vimeo.com/15443936
http://lococast.net/.../category/screencast
http://net.tutsplus....casts-and-resources/


http://vimcasts.org/...d-html-with-a-macro/
http://media.vimcast...1/markdown_macro.ogv


VimSpeak Demo - playing VimGolf using only voice
http://www.youtube.c.../watch?v=qy84TYvXJbk


Me thinking: only if you will need such tricks often on a daily basic, or you are a programmer, then VIM is for you. No?
If you just want to read a few readme.txt files or write only a little now and then, then other editors may be much more nifty for you.


HTH? :D
« Last Edit: August 31, 2013, 06:10:49 PM by AbteriX »