Comments (5)
Yes please, I can't stand using HJKL (the only thing about vim I don't like). This PR would be an excellent addition.
from helix.
@archseer I've been playing around with helix a bit more;
I've personally also added Home/End key bindings ( Similar mappings to ^ and $ )
Additionally these key bindings also allow movement while in insert mode ( primary reason I use them sometimes ).
If that sounds fine too I guess ill create 2 PR's, one for the extra key mapping one for the insert extension.
Edit:
Added PR's for all features separately.
from helix.
Unfortunately, the PR does not work for insert mode, only normal mode.
Hi, that is correct, the insert mode extension is in a separate pull request, but needs some more research because of underlying issues, I myself have not yet encountered these so I cannot give further detail.
Current arrow keymaps work for normal mode and extend mode.
You could opt to build helix yourself, and pull : https://github.com/itzmjauz/helix/tree/insert-mode-keymap-extension into the master branch before doing so. (You could also just copy keymap.rs: https://github.com/itzmjauz/helix/blob/insert-mode-keymap-extension/helix-term/src/keymap.rs over your own, edit: this will actually not work since recent updates)
This will give you arrow keys and home-end keys navigation in insert mode.
from helix.
Sounds reasonable, go ahead and make a PR!
from helix.
Unfortunately, the PR does not work for insert mode, only normal mode.
from helix.
Related Issues (20)
- Improve the user experience with disabled sourcehut grammars HOT 1
- Show directories first
- `Build` Action `uses node12 which is deprecated` HOT 1
- Long `status_msg` will corrupt the terminal HOT 2
- LSP: index out of bounds: the len is 1 but the index is 1 HOT 1
- How to link two commands in a configuration file
- Include current position in jumplist when using "Goto [previous|next] change"
- Editing file breaks hard link HOT 5
- please delete I'm dumb HOT 2
- syntax highlighting breaks on cursor move HOT 1
- Python LSP: auto-completion crushes HOT 2
- does some thing like "set clipboard=unnamed" in vimrc HOT 1
- Special character and Emoji Picker
- A file is considered modified even if contents are the same as before any modifications HOT 1
- [transaction.rs] Positions [(18, Before)] are out of range for changeset len 0! HOT 7
- Helix on Amazon Linux 2 HOT 1
- Incorret background size for virtual text HOT 1
- Sort Sections in 'Language Server Configurations' HOT 1
- tree-sitter movements unreliable in vue files HOT 2
- Remove Crystalline as a Supported LSP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.