Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save wangyingang/1ea4f90ffaa9eb466ee1eb80a9bfed25 to your computer and use it in GitHub Desktop.

Select an option

Save wangyingang/1ea4f90ffaa9eb466ee1eb80a9bfed25 to your computer and use it in GitHub Desktop.

Revisions

  1. @lsd lsd revised this gist Nov 20, 2014. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions IdeaVim OS X Key Repeat.markdown
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ settings in OS X' preferences.

    If you only want this behavior for specific JetBrains' apps, use:

    - Community Edition IntelliJ: `defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false`
    - Community Edition IntelliJ: - `defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false`
    - Ultimate Edition IntelliJ: `defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false`
    - AppCode: `defaults write com.jetbrains.AppCode ApplePressAndHoldEnabled -bool false`
    - PyCharm: `defaults write com.jetbrains.PyCharm ApplePressAndHoldEnabled -bool false`
    @@ -20,7 +20,4 @@ If you only want this behavior for specific JetBrains' apps, use:
    - RubyMine: `defaults write com.jetbrains.RubyMine ApplePressAndHoldEnabled -bool false` *

    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your
    specific app**

    (for some reason GitHub is rendering this as plain test. In which case, you
    don't need the backticks (`) if you see them.)
    specific app**
  2. @lsd lsd renamed this gist Nov 20, 2014. 1 changed file with 0 additions and 0 deletions.
  3. @lsd lsd revised this gist Nov 20, 2014. 1 changed file with 11 additions and 4 deletions.
    15 changes: 11 additions & 4 deletions IdeaVim OS X Key Repeat
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,14 @@
    Upgrading to Lion or Yosemite and WebStorm 9, I noticed key repeat was turned off for the IdeaVim plugin h j k l keys.
    Upgrading to Lion or Yosemite and WebStorm 9, I noticed key repeat was
    turned off for the IdeaVim plugin h j k l keys.

    ## System-wide key repeat
    `defaults write -g ApplePressAndHoldEnabled -bool false` in a terminal will enable key repeat for every app. This can alternativey be found in the `accessibility` settings in OS X' preferences.

    `defaults write -g ApplePressAndHoldEnabled -bool false` in a terminal will enable
    key repeat for every app. This can alternatively be found in the `accessibility`
    settings in OS X' preferences.

    ## App specific key repeat

    If you only want this behavior for specific JetBrains' apps, use:

    - Community Edition IntelliJ: `defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false`
    @@ -14,6 +19,8 @@ If you only want this behavior for specific JetBrains' apps, use:
    - WebStorm: `defaults write com.jetbrains.WebStorm ApplePressAndHoldEnabled -bool false` *
    - RubyMine: `defaults write com.jetbrains.RubyMine ApplePressAndHoldEnabled -bool false` *

    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your specific app**
    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your
    specific app**

    (for some reason GitHub is rendering this as plain test. In which case, you don't need the backticks (`) if you see them.)
    (for some reason GitHub is rendering this as plain test. In which case, you
    don't need the backticks (`) if you see them.)
  4. @lsd lsd revised this gist Nov 20, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion IdeaVim OS X Key Repeat
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,6 @@ If you only want this behavior for specific JetBrains' apps, use:
    - WebStorm: `defaults write com.jetbrains.WebStorm ApplePressAndHoldEnabled -bool false` *
    - RubyMine: `defaults write com.jetbrains.RubyMine ApplePressAndHoldEnabled -bool false` *

    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your specific app**
    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your specific app**

    (for some reason GitHub is rendering this as plain test. In which case, you don't need the backticks (`) if you see them.)
  5. @lsd lsd created this gist Nov 20, 2014.
    17 changes: 17 additions & 0 deletions IdeaVim OS X Key Repeat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    Upgrading to Lion or Yosemite and WebStorm 9, I noticed key repeat was turned off for the IdeaVim plugin h j k l keys.

    ## System-wide key repeat
    `defaults write -g ApplePressAndHoldEnabled -bool false` in a terminal will enable key repeat for every app. This can alternativey be found in the `accessibility` settings in OS X' preferences.

    ## App specific key repeat
    If you only want this behavior for specific JetBrains' apps, use:

    - Community Edition IntelliJ: `defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false`
    - Ultimate Edition IntelliJ: `defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false`
    - AppCode: `defaults write com.jetbrains.AppCode ApplePressAndHoldEnabled -bool false`
    - PyCharm: `defaults write com.jetbrains.PyCharm ApplePressAndHoldEnabled -bool false`
    - Android Studio: `defaults write com.google.android.studio ApplePressAndHoldEnabled -bool false`
    - WebStorm: `defaults write com.jetbrains.WebStorm ApplePressAndHoldEnabled -bool false` *
    - RubyMine: `defaults write com.jetbrains.RubyMine ApplePressAndHoldEnabled -bool false` *

    ** * These are assumptions, use Spotlight `com.jetbrains.` to get type hinting for your specific app**