import { BooleanSetting, ioc, PrefsStore } from '@journeyapps-labs/reactor-mod';
export class EnableVimSetting extends BooleanSetting {
    constructor() {
        super({
            name: 'Enable Vim keybindings',
            category: 'Advanced',
            checked: false,
            key: EnableVimSetting.KEY
        });
    }
    static enabled() {
        return EnableVimSetting.get().checked;
    }
    static get() {
        return ioc.get(PrefsStore).getPreference(EnableVimSetting.KEY);
    }
}
EnableVimSetting.KEY = '/editor/vim-enabled';
//# sourceMappingURL=VimSupportSetting.js.map