Share

VIM Emulator plugin for IntelliJ IDEA

Tracker: Bugs

5 Back & Forward broken - ID: 2221191
Last Update: Comment added ( nobody )

The Back & Forward commands are broken with the most current IdeaVIM
version. Back does not take you to the most recent location but an odd
arbitrary location. Forward also operates erratically.


Nobody/Anonymous ( nobody ) - 2008-11-04 14:51

5

Open

None

Nobody/Anonymous

Interface (example)

None

Public


Comments ( 13 )




Date: 2009-07-29 21:34
Sender: nobody

Unfortunately, that jar below
http://www.jetbrains.net/jira/secure/attachment/30285/IdeaVIM.jar did not
work for me. It totally broke IdeaVIM and caused all sorts of IdeaVIM
exception messages. I went and grabbed the IdeaVIM.jar from this link and
it worked great for me:
http://www.jetbrains.net/devnet/message/5241834


Date: 2009-07-09 15:29
Sender: nobody

Is there somewhere to get the source for 0.12.3, since it includes some
fixes (like search) that are broken in 0.12.1.


Date: 2009-07-09 13:47
Sender: nobody

Thanks msasaki that is a quick fix that works with back/forward. Other
stuff is still broken though, like switch between files. I compiled an
ideavim.jar with your patch, it's here:
http://www.jetbrains.net/jira/secure/attachment/30285/IdeaVIM.jar.


Date: 2009-07-07 18:02
Sender: nobody

What's the status of this bug? I see similar behavior when using Ctrl-^ to
switch between files. This is breakage :-(.


Date: 2009-06-30 06:32
Sender: msasaki

Index: src/com/maddyhome/idea/vim/key/RegisterActions.java
===================================================================
--- src/com/maddyhome/idea/vim/key/RegisterActions.java (revision
1f3e089806260f6cabf5a7bcf7d3a28fb738e283)
+++ src/com/maddyhome/idea/vim/key/RegisterActions.java Tue Jun 30
15:15:36 JST 2009
@@ -402,8 +402,8 @@
// Jump Actions

// These two replace Go To|Forward and Go To|Back
-// parser.registerAction(KeyParser.MAPPING_NORMAL, "VimForward",
Command.OTHER_READONLY);
-// parser.registerAction(KeyParser.MAPPING_NORMAL, "VimBack",
Command.OTHER_READONLY);
+ parser.registerAction(KeyParser.MAPPING_NORMAL, "VimForward",
Command.OTHER_READONLY);
+ parser.registerAction(KeyParser.MAPPING_NORMAL, "VimBack",
Command.OTHER_READONLY);

parser.registerAction(KeyParser.MAPPING_NORMAL,
"VimMotionJumpNext", Command.OTHER_READONLY, new Shortcut[] {
new Shortcut(KeyStroke.getKeyStroke(KeyEvent.VK_I,
KeyEvent.CTRL_MASK)),



Date: 2009-06-30 06:29
Sender: msasaki

The patch that excluded VimBack/VimForward was made.
use IdeaVIM 0.12.1-8.x


Date: 2009-05-04 14:47
Sender: nobody

I was having this problem as well (idea 8.1, plugin 0.12.2-8.x). i tried
the above w/ the vim keymap, which did not seem to work for me, but what
did was copying the default OSX keymap and remapping forward/back to
ctrl-alt-left/right.

life is much better now, thanks to all of the above commenters for the
tips...

-chris



Date: 2009-02-19 03:19
Sender: david_beutel

I have the same problem, even with the new Vim.xml. 0.12.2-8.x, 8.1,
bundled JRE, XP

This has been bugging me for a while.


Date: 2009-01-14 18:29
Sender: nobody

use IdeaVIM-0.11.6-7.x and jdk1.6_04 - this is the magic combination.
back/fwd and slash search problems both solved. am on idea 7.0.5.


Date: 2009-01-14 02:38
Sender: nobody

me too, same problem. on idea 7.0.5. back and forward are taking me to
random places.


Date: 2008-12-12 16:20
Sender: nobody

Hi, I'm having the same problem. I've replaced Vim.xml with the latest
version, but that did not fix the problem. I'm running IDEA 8.0.1 with jdk
1.5.0_16 on Mac OS X Leopard. Please let me know if there is anything
that I should try.


Date: 2008-11-20 21:50
Sender: nobody

For me, this is broken, even after copying Vim.xml to the keymaps
directory. I'm using Idea8 on CentOS 5 linux, build 9013 with JDK 1.6 (have
tried both updates 6 and 10, both act the same).

I can select a method, class, variable--whatever--and jump to its
declaration no problem, but hitting the back arrow in the upper toolbar
does not take me back to my jump point. Instead, I'm taken to some
seemingly random location, often in a class that wasn't previously open
(although I had browsed in that class during somewhat recent history).


Date: 2008-11-14 20:49
Sender: nobody

Actually it isn't, however, it appears to be so, because you need to
reinstall the Vim.xml...

Please go under idea80user-home usually on windows C:\documents and
settings\${user}\.IntelliJ80...

so anyway, go under idea80user-home/config/plugins/ideavim, copy the
Vim.xml into --> idea80user-home/config/keymaps directory (create it if it
doesn't exist)

restart idea and go under settings/keymaps and choose the VIM keymap...
Voila, you are golden...

the same thing happened to me...


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.