title: How to detect ctrl + z and ctrl + y in vuejs?
body: <p>Hi I am new to vuejs and currently working on an application which requires the method to be called on Ctrl + z and Ctrl + y.
  This is what I have tried till now</p>
  
  <p><a href="https://codesandbox.io/s/funny-sky-mqdg0?file=/src/components/HelloWorld.vue" rel="nofollow noreferrer">https://codesandbox.io/s/funny-sky-mqdg0?file=/src/components/HelloWorld.vue</a></p>
  
  <p>Problem: keyup works only when I ctrl+z is pressed over the input, how do I make it work on div container or make it work on the particular page? is it possible in pure vuejs or i need to install any external library or use traditional event listener way? any suggestions would be helpful</p>
  
  <pre><code>&lt;input @keyup.ctrl.90="method1()" /&gt;
  &lt;input @keyup.ctrl.89="method2()" /&gt;
  </code></pre>