Added: 4 years ago
From: lesliesrussell
Views: 33,204
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • Nice tutorial, volume was a bit low though. Learnt control+w, control+], control+t. Thanks and keep adding new stuffs.

  • Cream

  • NB @ 2:30, narrator says ^L, but he should have said ^WL. Good tutorial.

  • FWIW comments are not allowed in a tags file it seemed. So I added these lines to my ~/.vimrc

    "Tags file

    autocmd FileType tags set noexpandtab

    autocmd FileType tags set nonumber

    autocmd FileType tags set wrap

  • vi under Windows...? is like a decaf espresso... nice tutorial though... good work.

  • Running vim under windows provides all the exact same functionality as running vim on Linux, BSD, or another operating system. You must not know anything about vim, windows, or unix.

    source:

    I am running vim on windows as my main editor, I run vim on linux/unix as my main editor. I have found no differences between the functionality of vim on either platform.

  • that comment was for all the people that are like "omg vim on windows is stupid" not for the author of the video

  • except maybe some plugins.. but yeah i agree (both use vim on both platforms)

  • @thomdigs You're generally right. Only that vim integrates better with bash than with the Windows command line. Or, more precisely, Windows lacks the standart UNIX tools (except if you install CygWin or something like that). So, this is a big downside for many people I think (at least, for me).

  • @piqantique powershell provides much of the functionality of bash and other posix shells. it's got predefined aliases for the most popular commands like ls and whatnot. it can run powerful scripts written in the powershell syntax. i'm not sure if it integrates with vim or other ported utilities but it sure kicks the butt of cmd.exe!

  • @thomdigs Not exactly. One of the powerful features of Vim is, that you can send your buffer(s) through a terminal pipe (basically any external application). You can also execute command line action directly from within vim. Linux has a wide variety of these, which add a lot of functionality you don't get under Windows (let's be honest, the command line toolset on Windows sucks).

  • @ordokios hey orkodorkis you obviously haven't heard of "MinGW" or "cygwin" which are basically full linux terminals on your windows machine. Look them up. I have my windows machine set up so I can execute basically any linux command in my "cmd.exe" command prompt. There's no reason for me to run linux - I absolutely love it, but I love my games too much too sacrifice time/performance for them. And I also love windows 7 too much. No point to absentmindedly bashing this guy about using windows

  • @Sonolin seriously? you'd run mingw/cygwin on MSWin7 just to be able to use vim? i'm not against you - different strokes for different folks - but it seems excessive (to me at least).

  • @rothkoaintdead not excessive at all :).. it's really easy to install both of these, there's also a tool I've used in the past something called "All Linux" or something that emulates gnome like wine does in linux I believe. Believe me, I've tried linux, and LOVE it a lot more than winblows, but the fact is I need my games, office, photoshop, etc. Even with wine some of the software does not run as well, so I find myself in windows more than anything.

  • @thomdigs the comment is 'why windows' not 'wow'

  • @thomdigs WHOA! on vim4 *nix, we pass commds to the shell and output is piped back to us in vim.

    I have used 'coreutils' for DOS that included a shell.

    now, i'd like to believe that i could run vim from within that shell and have unix-like functionality, but it might be a pain to set up and it might be error-prone.

    maybe wrong on this - but i'm not aware that shell interaction or toolchain is commonly available in vim4win.

  • @thomdigs Actually there are some. Especially if you use external cmd. Eg: r!pwd :!sort and such.. As you know, Unix/Linux system support lots of stand-alone utility...

  • How do I write comments in the tags file? I need to put some vi settings in there, because my global vi settings (like expandtab) are not useful there.

  • Vi under windows ? to me it doesn't make much sense .

  • people are going to down mod this comment, but it's damn true -- there are VMs around now, and RAM is cheaper than ever. If you're using windows, you fail.

  • I didn't know about this, I've been looking for a good way to sort all my notes and this way is just perfect! :)

    Thanks!

  • VI ON WINDOWS?

  • Nice tutorial, these examples I can use it for programming C.

    Just one little note. Try to speak in a way that makes us optimistic, tell people what is so great about what you are showing the world. Cause me, to be honest, I somehow couldn't get focussed, you are talking me to sleep, or I am to sleepy to follow.

    Watch Vimteaser if you know what I mean. Just a tip from a good friend ;)

  • why WINDOWS?????????? AAAH

  • @recognizetrill It's a video about how to use vim for note taking, not a propaganda piece about the glories of [INSERT OS HERE] or the inferiority of [INSERT OS HERE]

  • Good tutorial, but you shouldn't recommend or leave an example that it is okay to put text files in the root of a file system. Too bad MS-DOS doesn't have a way to say [home-dir]/notes/2008-1-1_new.­txt (like ~/). Or is there a way to do this in DOS?

  • %HOMEPATH%/notes/2008-1-1_new.­txt

  • Thanks. That'll come in handy at school for moving around files faster, since I'm not allowed to type in filenames within Explorer, making me use batch scripts. :-) (our admin uses stupid bad methods of restricting us).

  • Hey, nice video. I did pretty much as you did, including the sorting, but I'm still getting some problems. Mainly, it's constantly saying the tags aren't sorted even though I've sorted them repeatedly, and it's saying that some tags don't even exist although I can clearly see otherwise.

  • Nevermind, I didn't realize that the sort was that picky with regards to capital letters in the tag names/sorting.

  • very helpful thanks. Interesting seeing vim on windows.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more