mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-21 16:54:06 +02:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aa75245d79 | ||
![]() |
e8c97ba6bf | ||
![]() |
27bbae3ccd | ||
![]() |
305c03458a | ||
![]() |
8143114a86 | ||
![]() |
a39a56cd39 | ||
![]() |
c1c076830a | ||
![]() |
d3d63395b3 | ||
![]() |
5a9a53d235 |
@@ -4,6 +4,12 @@ The Changelog
|
|||||||
History of changes in IdeaVim for the IntelliJ platform.
|
History of changes in IdeaVim for the IntelliJ platform.
|
||||||
|
|
||||||
|
|
||||||
|
0.32, 2013-11-15
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Fixed API compatibility with IntelliJ platform builds 132.1052+.
|
||||||
|
|
||||||
|
|
||||||
0.31, 2013-11-12
|
0.31, 2013-11-12
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
16
README.md
16
README.md
@@ -2,8 +2,8 @@ IdeaVim
|
|||||||
=======
|
=======
|
||||||
|
|
||||||
IdeaVim is a Vim emulation plug-in for IDEs based on the IntelliJ platform.
|
IdeaVim is a Vim emulation plug-in for IDEs based on the IntelliJ platform.
|
||||||
IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm
|
IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm,
|
||||||
and AppCode.
|
AppCode and Android Studio.
|
||||||
|
|
||||||
Resources:
|
Resources:
|
||||||
|
|
||||||
@@ -18,10 +18,10 @@ Installation
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
Use the IDE's plugin manager to install the latest version of the plugin.
|
Use the IDE's plugin manager to install the latest version of the plugin.
|
||||||
Start the IDE normally and enable the Vim emulation using "Tools | VIM
|
Start the IDE normally and enable the Vim emulation using "Tools | Vim
|
||||||
Emulator" menu item. At this point you must use Vim keystrokes in all editors.
|
Emulator" menu item. At this point you must use Vim keystrokes in all editors.
|
||||||
|
|
||||||
If you wish to disable the plugin, select the "Tools | VIM Emulator" menu so
|
If you wish to disable the plugin, select the "Tools | Vim Emulator" menu so
|
||||||
it is unchecked. At this point IDE will work with it's regular keyboard
|
it is unchecked. At this point IDE will work with it's regular keyboard
|
||||||
shortcuts.
|
shortcuts.
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ Summary of Supported Vim Features
|
|||||||
Supported:
|
Supported:
|
||||||
|
|
||||||
* Motion keys
|
* Motion keys
|
||||||
* Deletion/Changing
|
* Deletion/changing
|
||||||
* Insert mode commands
|
* Insert mode commands
|
||||||
* Marks
|
* Marks
|
||||||
* Registers
|
* Registers
|
||||||
@@ -49,9 +49,9 @@ Supported:
|
|||||||
Not supported (yet):
|
Not supported (yet):
|
||||||
|
|
||||||
* Key mappings
|
* Key mappings
|
||||||
* Various less used commands
|
|
||||||
* Jump lists
|
|
||||||
* Window commands
|
* Window commands
|
||||||
|
* Jump lists
|
||||||
|
* Various less used commands
|
||||||
|
|
||||||
Please see the file [index.txt](https://github.com/JetBrains/ideavim/blob/master/index.txt)
|
Please see the file [index.txt](https://github.com/JetBrains/ideavim/blob/master/index.txt)
|
||||||
for a list of commands covered with tests.
|
for a list of commands covered with tests.
|
||||||
@@ -130,7 +130,7 @@ Development
|
|||||||
|
|
||||||
1. Fork IdeaVim on GitHub and clone the repository on your local machine.
|
1. Fork IdeaVim on GitHub and clone the repository on your local machine.
|
||||||
|
|
||||||
2. Open the project in IntelliJ IDEA 11+ (Community or Ultimate) using "File |
|
2. Open the project in IntelliJ IDEA 12+ (Community or Ultimate) using "File |
|
||||||
Open... | /path/to/ideavim".
|
Open... | /path/to/ideavim".
|
||||||
|
|
||||||
3. Set up a JDK if you haven't got it yet. Use "File | Project Structure | SDKs
|
3. Set up a JDK if you haven't got it yet. Use "File | Project Structure | SDKs
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
version-id:0.31
|
version-id:0.32
|
||||||
platform-version:110.0
|
platform-version:120.0
|
||||||
idea.download.url=http://download.jetbrains.com/idea/ideaIU-12.1.zip
|
idea.download.url=http://download.jetbrains.com/idea/ideaIU-12.1.zip
|
||||||
build.number=x
|
build.number=x
|
||||||
|
@@ -3,6 +3,10 @@
|
|||||||
<id>IdeaVIM</id>
|
<id>IdeaVIM</id>
|
||||||
<change-notes>
|
<change-notes>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
<p>0.32:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Fixed API compatibility with IntelliJ platform builds 132.1052+</li>
|
||||||
|
</ul>
|
||||||
<p>0.31:</p>
|
<p>0.31:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Various bug fixes</li>
|
<li>Various bug fixes</li>
|
||||||
@@ -23,19 +27,12 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Fixed reconfigure Vim keymap for user-defined base keymaps</li>
|
<li>Fixed reconfigure Vim keymap for user-defined base keymaps</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>0.27:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Better Vim keymaps for Mac OS X</li>
|
|
||||||
<li>Ask if the plugin should enable repeating keys in Mac OS X</li>
|
|
||||||
<li>Fixed a long-standing bug with code completion and repeat last change command ('<code>.</code>')</li>
|
|
||||||
<li>Various bug fixes</li>
|
|
||||||
</ul>
|
|
||||||
<p>See also the complete <a href="https://github.com/JetBrains/ideavim/blob/master/CHANGES.md">changelog</a>.</p>
|
<p>See also the complete <a href="https://github.com/JetBrains/ideavim/blob/master/CHANGES.md">changelog</a>.</p>
|
||||||
]]>
|
]]>
|
||||||
</change-notes>
|
</change-notes>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<p>Vim emulation plug-in for IDEs based on the IntelliJ platform. IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm and AppCode.</p>
|
<p>Vim emulation plug-in for IDEs based on the IntelliJ platform. IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm, AppCode and Android Studio.</p>
|
||||||
<p>Supported functionality:</p>
|
<p>Supported functionality:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Motion keys</li>
|
<li>Motion keys</li>
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
package com.maddyhome.idea.vim.ui;
|
package com.maddyhome.idea.vim.ui;
|
||||||
|
|
||||||
import com.intellij.ide.ui.ListCellRendererWrapper;
|
import com.intellij.ui.ListCellRendererWrapper;
|
||||||
import com.intellij.openapi.keymap.Keymap;
|
import com.intellij.openapi.keymap.Keymap;
|
||||||
import com.intellij.openapi.keymap.KeymapManager;
|
import com.intellij.openapi.keymap.KeymapManager;
|
||||||
import com.intellij.openapi.keymap.impl.KeymapManagerImpl;
|
import com.intellij.openapi.keymap.impl.KeymapManagerImpl;
|
||||||
@@ -53,16 +53,19 @@ public class VimKeymapPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
myKeymapComboBox.setModel(new DefaultComboBoxModel(keymaps.toArray(new Keymap[keymaps.size()])));
|
myKeymapComboBox.setModel(new DefaultComboBoxModel(keymaps.toArray(new Keymap[keymaps.size()])));
|
||||||
myKeymapComboBox.setRenderer(new ListCellRendererWrapper(myKeymapComboBox.getRenderer()) {
|
final ListCellRendererWrapper<Keymap> renderer = new ListCellRendererWrapper<Keymap>() {
|
||||||
@Override
|
@Override
|
||||||
public void customize(final JList list, final Object value, final int index, final boolean selected, final boolean cellHasFocus) {
|
public void customize(final JList list,
|
||||||
Keymap keymap = (Keymap)value;
|
final Keymap value,
|
||||||
if (keymap == null) {
|
final int index,
|
||||||
return;
|
final boolean selected,
|
||||||
|
final boolean cellHasFocus) {
|
||||||
|
if (value != null) {
|
||||||
|
setText(value.getPresentableName());
|
||||||
}
|
}
|
||||||
setText(keymap.getPresentableName());
|
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
|
myKeymapComboBox.setRenderer(renderer);
|
||||||
|
|
||||||
final String previousKeyMap = VimPlugin.getInstance().getPreviousKeyMap();
|
final String previousKeyMap = VimPlugin.getInstance().getPreviousKeyMap();
|
||||||
myKeymapComboBox.getModel().setSelectedItem(preselectedKeymap != null ? preselectedKeymap :
|
myKeymapComboBox.getModel().setSelectedItem(preselectedKeymap != null ? preselectedKeymap :
|
||||||
|
Reference in New Issue
Block a user