key-bindings


Simple key binding issue


So I finally got to try out atom with one of the unofficial windows builds. Now I'm trying to create a simple binding (and then get my feet wet with real plugins).
The binding is simple, when you are in the vim plugin command mode and press ':', open up the command palette.
I started off with this as my binding:
'.editor':
':': 'command-palette:toggle'
This works fine, but I only want this in command mode. If I change the selector to be:
'.command-mode':
':': 'command-palette:toggle'
This doesn't work, even though the command-mode class is on the same element as the editor class.
Have you tried combining the two, like in CSS?
'.editor .command-mode':
':': 'command-palette:toggle'

Related Links

Is there a move cursor to nearest '=' code navigation in IntelliJ?
Disabling Mousewheel Bind
Fish shell ESC/META keybinding with iterm2 on os x yosemite
XMonad: Is there a way to bind a simultaneously triggered keychord?
Simple key binding issue
unable to get C-PGUP or C-PGDOWN key codes in tmux
How do I override a default keybinding in LightTable?
Is it possible to change key bindings in Sublime Text dynamically from a plugin?
Ace Editor - Change CTRL+H keybinding
KeyBindings in Java stop working after component is remade
Tmux Scroll Up/Down Page using Ctrl-b and Ctrl-f
How to create key binding to set XML syntax?
How to bypass a bindkey directive in GNU screen?
XMonad keybindings doesn't work
Get file path + file name in a keybindings file in Sublime Text 2
GNU screen custom key bindings format

Categories

HOME
qlikview
grizzly
marie
stanford-nlp
salesforce
cxf
glsl
conceptual
data-modeling
nltk
glympse
travis-ci-cli
install
vsixmanifest
restheart
obd-ii
google-my-business-api
olap
theory
jetbrains
fastreport
javascript-debugger
loss
accordion
bug-reporting
formulas
polybase
advertising
ecmascript-2017
ppp
suitescript
symlink
large-files
r-factor
folder
apm
login-required
ios-autolayout
stencyl
google-chrome-console
grails-2.0
taleo
mef
pyopenssl
cloudconvert
ear
selection-sort
androiddesignsupport
sharing
tinybox2
geokit
change-password
nimbus
boost-propertytree
paypal-subscriptions
innertext
wordpress-plugin
kramdown
controlpanel
p4python
pdcurses
radgrid
wingdb
static-files
go-gin
zoneminder
oxygenxml
facebook-likebox
thucydides
google-mirror-api
tlbimp
removeall
moonscript
libx264
m3u
report-viewer2010
flatten
socketasynceventargs
animationdrawable
vectorwise
netbeans7.0
activescaffold
qprocess
versions
dgml
calendarextender
pixel-bender
manuals

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App