Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim mode configuration #840

Open
kaplanbora opened this issue Sep 1, 2017 · 6 comments
Open

Vim mode configuration #840

kaplanbora opened this issue Sep 1, 2017 · 6 comments
Labels
feature request 🌟 Issue is a new feature request.

Comments

@kaplanbora
Copy link

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.

@asmsuechan
Copy link
Contributor

We use CodeMirror as our editor, so you can do this.
codemirror/codemirror5#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.

@robustdj
Copy link

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.

@uduse
Copy link

uduse commented Dec 14, 2017

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

@jwkicklighter
Copy link

@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?

@robustdj
Copy link

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

@sic-f
Copy link

sic-f commented Jul 25, 2019

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

@Flexo013 Flexo013 added the feature request 🌟 Issue is a new feature request. label Jul 25, 2019
@Flexo013 Flexo013 changed the title [Feature Request] Vim mode configuration Vim mode configuration Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🌟 Issue is a new feature request.
Projects
None yet
Development

No branches or pull requests

7 participants