Comments (1)
I would really like to escape into normal mode by hitting "jk" or "kj" instead of going all the way over to the key.
What do you mean by "normal mode"? Do the mean the Esc
key? You can hit Ctrl + c
as an alternative imo.
Is it possible to map capital J & K to jump 5 lines down/up?
Sorry but remapping keys are not supported yet. This project was meant to be a temporary solution if other project suddenly doesn't work. ( Maybe try using wasavi? ).
Jumping 5 lines down... I think simple vim config are doable. But I don't know what the configs are since I don't use mappings at all. Setting nmap j 5j
hangs my vim tho.
If you really want to jump 5 lines for J, K, try modify the codes yourself by following:
- Download the compiled source, not the compressed one
- Search for
case SHIFT + J
, there should be a comment with// Join lines
- Remove the
ccur.openRunAction( "JOIN_LINES", e );
, change it tothis.__cMoveY( 5 );
- Similarly, there should be a
case SHIFT + K
nearby, remove the original actions and change it tothis.__cMoveY( -5 );
from botanjs-vim.
Related Issues (10)
- I use firefox too, thanks for making this HOT 1
- b should not goes to the end of the word HOT 1
- c commands HOT 1
- Ctrl + [ HOT 1
- gj / gk HOT 1
- c-e / c-y HOT 1
- c-d / c-u HOT 1
- e command HOT 1
- U command
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 botanjs-vim.