3

Does anyone know some shortcuts for FakeVim to change between files? Is it possible to use buffers in Fake Vim? I accidentally found out that Ctrl+w,w gets you the next window. Does anyone know other? For example getting to the left, right, top, bottom windows?(vim's Ctrl+w,l and others)? Is there any documentation on FakeVim? Is it possible to configure FakeVim's vimrc file to create shortcuts for changing between buffers and the Projects view?

Thanks!

romainl
  • 186,200
  • 21
  • 280
  • 313
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140

2 Answers2

3

Recently I've been doing most of the changes on FakeVim plugin.

You can find list of Vim commands supported by FakeVim at https://github.com/hluk/FakeVim (recent version from Git master branch).

I'm still not sure how to document the features in Qt Creator. I'll probably implement something like :help <command> in near future.

hluk
  • 5,848
  • 2
  • 21
  • 19
  • waw, that's an impressive list. – Jacob Krieg Apr 16 '13 at 20:05
  • Which doesn't contain windows/buffers movements. – romainl Apr 16 '13 at 20:14
  • Window/split operations are somehow incomplete and it depends on support in Qt Creator.I'll update the list after I've revised the current commands for moving in windows (`` works but `h` doesn't; `:only` doesn't work correctly and it's hard to implement in Qt Creator). – hluk Apr 17 '13 at 05:52
1

The FakeVim documentation is severely lacking. This paragraph, for example, is so fuzzy it's borderline irresponsible:

In the FakeVim mode, most keystrokes in the main editor will be intercepted and interpreted in a way that resembles Vim. Documentation for Vim is not included in Qt Creator. For more information on using Vim, see Documentation on the Vim web site.

Basically, without a proper documentation or a look at the editor's source code it's impossible to know what should work, what shouldn't and in which way the behavior of what works deviates from Vim's behavior. And that's what passes for a modern IDE, these days.

Whatever…

I think that your best bet is simply trial and error: since you appear to know how to use Vim you'll have a lot of commands and shortcuts to try.

romainl
  • 186,200
  • 21
  • 280
  • 313