Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:louischatriot/M-command
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
M-command | ||
========= | ||
|
||
Bookmarklet to get the same behaviour as vim's M command. Only tested with Chrome since I don't use another browser :) | ||
Provides the same functionality as Vim's M command: place anchors on a web page and navigate between them. | ||
|
||
It works, but I still need to put the files on my server and it will work, but if you know how bookmarklets work you should have no problem using it already. | ||
Typing `mk` drops mark **k** where you currently are in the page. Later, typing `'k` brings you back to where you were when you dropped the mark. `k` can be any letter from a to z. | ||
|
||
## Chrome extension | ||
The best way to use it is to load it as an unpacked extension from chrome (settings > load unpacked extension > select the 'extension' folder). This way it will work on any website, as long as it's activated. | ||
|
||
|
||
## Bookmarklet | ||
That was the first step of development, but is still usable, if you have a local web server. This is not practical and not recommended. |