Skip to content

Instantly share code, notes, and snippets.

@ezioruan
Forked from kconragan/keyrepeat.shell
Last active June 5, 2016 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezioruan/d9b2aaf8c3beea09f9907bea0210bfa1 to your computer and use it in GitHub Desktop.
Save ezioruan/d9b2aaf8c3beea09f9907bea0210bfa1 to your computer and use it in GitHub Desktop.
Enable key repeat in OS X EL Capitan for Deco ide in Vim mode
# Mac OS X EL Capitanintroduced a new, iOS-like context menu when you press and hold a key
# that enables you to choose a character from a menu of options. If you are on Lion
# try it by pressing and holding down 'e' in any app that uses the default NSTextField
# for input.
#
# It's a nice feature and continues the blending of Mac OS X and iOS features. However,
# it's a nightmare to deal with in Deco ide if you're running Vintage (Vim) mode,
# as it means you cannot press and hold h/j/k/l to move through your file. You have
# to repeatedly press the keys to navigate.
# You can disable this feature for just Deco ide by issuing the following command
defaults write com.decosoftware.deco ApplePressAndHoldEnabled -bool false
# Alternately, if you want this feature disabled globally, you can enter this:
defaults write -g ApplePressAndHoldEnabled -bool false
# In either case you'll need to restart Deco ide for the change to take place.
# Happy coding!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment