settings-keybindings.tsx 525 B

123456789101112131415161718192021222324252627
  1. import { useTranslation } from 'react-i18next'
  2. import SettingsMenuSelect from './settings-menu-select'
  3. export default function SettingsKeybindings() {
  4. const { t } = useTranslation()
  5. return (
  6. <SettingsMenuSelect
  7. options={[
  8. {
  9. value: 'default',
  10. label: 'None',
  11. },
  12. {
  13. value: 'vim',
  14. label: 'Vim',
  15. },
  16. {
  17. value: 'emacs',
  18. label: 'Emacs',
  19. },
  20. ]}
  21. label={t('keybindings')}
  22. name="mode"
  23. />
  24. )
  25. }