5

Sorry for such a random question, but while reading Janus I noticed it offers several shortcuts for things.

I think they are MacVim related and want to know what the Linux equivalents are.

With <D-F> <D-/> what do the Ds really stand for? How do I get these commands to work?

ib.
  • 27,830
  • 11
  • 80
  • 100
sayth
  • 6,696
  • 12
  • 58
  • 100

2 Answers2

4

D stands for the Mac (command) key. There isn't a Linux equivalent (see :help <D-). However, you can remap them to something else.

ib.
  • 27,830
  • 11
  • 80
  • 100
Conner
  • 30,144
  • 8
  • 52
  • 73
4

You didn't read carefully enough.

As much as I despise that kind of "distribution" the authors of Janus have done a great job coming up with Linux/Windows versions (using Ctrl or Alt) of their Mac OS X specific mappings: see vim/core/before/plugin/mappings.vim from line 60 to line 160, for example.

To answer your question:

  • <D-/> is mapped here, along with it's Linux/Windows alternatives.

  • <D-F> is mapped there, along with it's Linux/Windows alternatives.

The <A- mappings may be problematic in most terminals, though.

romainl
  • 186,200
  • 21
  • 280
  • 313
  • according to that it's /-/> and /-f> . I for a long time avoided Janus I have got a vimrc a mile long and plugins galore with vundle. But I want to learn vim the editor and CSS / JavaScript / Python but was spending most of my time trying to figure/configure the vimrc . Having said that I instantly had to try and figure out how Janus had set up pep8 and delimitMate. Apparently Janus uses flake8 which currently appears not to work. So I might end up configuring vimrc anyway. – sayth Aug 01 '12 at 00:20
  • And found out why the // syntax which is why they use easyMotion https://github.com/Lokaltog/vim-easymotion.git – sayth Aug 02 '12 at 12:43