vim

MacVim

MacVim screenshot

Project hosted on Google Code, bringing the venerable text editor into the 21st Century of Mac.

MacVim is a port of the text editor Vim to Mac OS X that is meant to look better and integrate more seamlessly with the Mac than the existing Carbon port of Vim. Here is a list of some of its features:

  • Safari style tabs, Multiple windows, Toolbar, Transparent backgrounds
  • GUI Dialogs
  • Multibyte
  • Keyboard bindings to standard Mac OS X short-keys (such as Cmd-z, Cmd-g, Cmd-o, etc.)
  • Extensive help files
  • Font panel: access to all of your fonts via the standard OS X font panel, proportional fonts render with fixed advancement
  • Input Methods for non-English keyboard input
  • Full-screen editing
  • ODB Editor protocol support
  • Client/Server: use the —remote switch on the command line to open files; script the server with remote_send() et al

Coding by Björn Winckler. See also the vim_mac Google Group.

Not to be confused with Mac Vim, the old Carbonized version.

Insert date and time into Vim or Textmate documents

Thu Sep 20 12:23:36 PDT 2007

Tracked down an easy method to insert the current date (timestamp) into a Vim document:

:r !date

Producing:

Thu Sep 20 12:24:50 PDT 2007

http://princ3.wordpress.com/2007/08/27/insert-current-date-in-vim/

Should probably set up a single key command for that, maybe an F key.

Thu Sep 20 15:36:40 PDT 2007

Within TextMate, short of creating an internal command, the easiest way is to use the Text > Execute Line and Replace with Result and then using the /bin/date utility by simply typing date and then the ctrl-option-r shortcut

links for 2007-06-19

  • Using Emacs org-mode for GTD A brief overview of org-mode Emacs and how it can be used to implement David Allen’s Getting Things Done methodology.
  • GTD with vim Using an outliner in VIM with dynamic todo lists

links for 2007-05-29

Hitch Hiker's Guide to Vim

Next time you’re using vim, type this in command mode:

:help!

and hit return.

Words to live by. :)