add backup command

This commit is contained in:
aborn 2017-04-23 22:46:50 +08:00
parent 8a8dfbe73c
commit f7cd7170e3
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,10 @@
<keymap version="1" name="IdeaEmacsLinux" parent="Emacs">
<action id="$Copy">
<keyboard-shortcut first-keystroke="ctrl insert" />
<keyboard-shortcut first-keystroke="escape" second-keystroke="w" />
<keyboard-shortcut first-keystroke="ctrl c" />
<keyboard-shortcut first-keystroke="alt w" />
</action>
<action id="$Paste">
<keyboard-shortcut first-keystroke="ctrl y" />
<keyboard-shortcut first-keystroke="meta v" />
@ -16,9 +22,8 @@
<action id="Back">
<keyboard-shortcut first-keystroke="ctrl alt left" />
</action>
<action id="CallHierarchy">
<action id="CallHierarchy.BaseOnThisType">
<keyboard-shortcut first-keystroke="ctrl alt h" />
<keyboard-shortcut first-keystroke="ctrl c" />
</action>
<action id="CloseAllEditors" />
<action id="CloseAllEditorsButActive" />
@ -52,6 +57,10 @@
<action id="Diff.PrevChange">
<keyboard-shortcut first-keystroke="alt left" />
</action>
<action id="Editor Copy">
<keyboard-shortcut first-keystroke="ctrl c" />
<keyboard-shortcut first-keystroke="alt w" />
</action>
<action id="Editor Paste">
<keyboard-shortcut first-keystroke="ctrl y" />
<keyboard-shortcut first-keystroke="meta v" />

View File

@ -4,6 +4,7 @@
# for linux the key-map file is in directory
~/.IntelliJIdea<xx>/config/keymaps
cp ~/.IntelliJIdea2017.1/config/keymaps/IdeaEmacsLinux.xml ~/github/popkit/intellij/
# for macOs, key-map file is in directory
~/Library/Preferences/IntelliJIdea<xx>/keymaps/