anschnapp / move-less Goto Github PK
View Code? Open in Web Editor NEWvim plugin for faster navigation without moving the cursor position (look up/down/middle; scroll up/down/both, fold two distance places permanent together)
vim plugin for faster navigation without moving the cursor position (look up/down/middle; scroll up/down/both, fold two distance places permanent together)
:call MoveLess#Save
:call MoveLess#Restore
:call MoveLess#Pop
:call MoveLess#Push
:call MoveLess#EnableFold(2) -- enables the second fold in the stack
.The main benefits would be to quickly switch to navigate on sections of the file.
:call MoveLessMode() and navigate a bit in the top of the file. [FOLD1]
:call MoveLess#Push() to put the fold in the stack [FOLD1]. Now I want to go to the bottom of the file.
:call MoveLess#EnableFold(2) -- loads the second fold configuration and navigate to the bottom of the file. [FOLD2]
Navigate, stop. Make some edits, then :call MoveLess#Pop [FOLD1]. Now I'm back at the top of the file in MoveLess mode and my bottom configuration [FOLD2] is still saved in the stack.
What do you think? I didn't use fold much before finding this plugin, but the workflow seems useful.
Plug-in command manual input can work, but the key mapping does not work, I used neovim. Previously the mapping worked, but now only manual output works.
My English is not good! I am sorry, but I like this plugin very much.
This is the result given by echo maparg('z', 'n') and the feedback seems to be ok
After using move-less, the expected behavior of ''
is to take me to where I were before the jump. This can be achieved with nmap <leader>m m':call MoveLessMove()<cr>
, but it would be nice if it was the default behavior.
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.