Boostnote: Vim mode configuration

Created on 1 Sep 2017  路  6Comments  路  Source: BoostIO/Boostnote

I would like to have some basic configuration options for vim mode. For example instead of using hjkl for movement I use jkl艧 (Turkish keyboard) so if there was on option to set noremap keys that would be great.

feature request

Most helpful comment

We use CodeMirror as our editor, so you can do this.
https://github.com/codemirror/CodeMirror/issues/2840

You have to input your configuration such as CodeMirror.Vim.map('h', 'j', 'normal') on the developer console every time you launch Boostnote.

I have a plan that it will be configurable on Preferences.

All 6 comments

We use CodeMirror as our editor, so you can do this.
https://github.com/codemirror/CodeMirror/issues/2840

You have to input your configuration such as CodeMirror.Vim.map('h', 'j', 'normal') on the developer console every time you launch Boostnote.

I have a plan that it will be configurable on Preferences.

Would this address the issue of no key repeating? Right now I have to repeated hit j to go keep going down instead of just holding down the j key.

@robustdj I guess that more of CodeMirror's problem.

@asmsuechan I'm sure this isn't the most vital feature for you, but do you have any update on your idea to put vim keybindings in Preferences?

After some Googling I finally found a solution. It appears to be an issue with Lion and I was able to resolve by typing this in the terminal:

defaults write -g ApplePressAndHoldEnabled -bool false

After some Googling I finally found a solution. It appears to be an issue with Lion and I was able to resolve by typing this in the terminal:

defaults write -g ApplePressAndHoldEnabled -bool false

Or to be safe and not disable this globally, you can disable for Boostnote only:

defaults write com.electron.boostnote ApplePressAndHoldEnabled -bool false
Was this page helpful?
0 / 5 - 0 ratings

Related issues

aurelkurtula picture aurelkurtula  路  3Comments

Ocanamat picture Ocanamat  路  3Comments

npeeples picture npeeples  路  3Comments

NourEldin275 picture NourEldin275  路  3Comments

Rokt33r picture Rokt33r  路  3Comments