teranex / jk-jumps.vim Goto Github PK
View Code? Open in Web Editor NEWHandle movements with j/k as if they were real jumps
Home Page: http://www.vim.org/scripts/script.php?script_id=4395
Handle movements with j/k as if they were real jumps
Home Page: http://www.vim.org/scripts/script.php?script_id=4395
Hint: use m'
to store current cursor position into jumplist as I do in my Vim configuration before jumping. This eliminates 2 additional jumps that you're performing: once to go back to original line and again to jump to the absolute line number of the target line. Cheers!
To work on lines wider than the screen in a sane way I have remapped j
and k
as follows
nnoremap j gj
nnoremap k gk
nnoremap gj j
nnoremap gk k
This plugin however breaks these mappings when wrap
is set. To reproduce insert some long lines into a buffer and add the remappings shown above. Without loading the plugin press j
, it moves to the next visual line. Then load the plugin and press j
, it moves the cursor to the next physical line.
When jumping to a fold which is before the current line (with <count>k
), the length of the fold should be taken into account. Currently you end up at the last line of the fold, while it should be the first line.
Should be solvable with the foldclosedend()
function
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.