Skip to content

Commit

Permalink
Merge branch 'master' of github.com:louischatriot/M-command
Browse files Browse the repository at this point in the history
  • Loading branch information
louischatriot committed May 31, 2012
2 parents ff83e43 + 427e1fc commit aab2d29
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
@@ -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.

0 comments on commit aab2d29

Please sign in to comment.