Skip to content

Commit

Permalink
Merge branch 'FB-Global-AJ'
Browse files Browse the repository at this point in the history
Conflicts:
	ace-jump-mode.el
  • Loading branch information
winterTTr committed Aug 11, 2012
2 parents 1685065 + bd4625e commit 8542d54
Show file tree
Hide file tree
Showing 2 changed files with 677 additions and 140 deletions.
79 changes: 79 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
Ace Jump Mode
=============

Ace jump mode is a minor mode of emacs, which help you to move the
cursor within Emacs. You can move your cursor to **ANY** position (
across window and frame ) in emacs by using only **3 times key
press**. Have a try and I am sure you will love it.


What's new in 2.0 version?
--------------------------

In 1.0 version, ace jump mode can only work in current window.

However, this limitation has already been broken in 2.0 version. With
ace jump mode 2.0, you can jump to any position you wish across the
bounder of window(c-x 2/3) and even frame(c-x 5).


Is there a demo to show the usage?
------------------------------------
Here is a simple one for you to learn how to use ace jump, [Demo](http://dl.dropbox.com/u/3254819/AceJumpModeDemo/AceJumpDemo.htm)

Usage:

"C-c SPC" ==> ace-jump-word-mode

>enter first character of a word, select the highlighted key to move to it.
"C-u C-c SPC" ==> ace-jump-char-mode

>enter a character for query, select the highlighted key to move to it.
"C-u C-u C-c SPC" ==> ace-jump-line-mode

>each non-empty line will be marked, select the highlighted key to move to it.
Thanks emacsrocks website, they make a great show to ace jump mode,
refer to [here](http://www.youtube.com/watch?feature=player_embedded&v=UZkpmegySnc#!).


How to install it?
------------------

;;
;; ace jump mode major function
;;
(add-to-list 'load-path "/full/path/where/ace-jump-mode.el/in/")
(autoload
'ace-jump-mode
"ace-jump-mode"
"Emacs quick move minor mode"
t)
;; you can select the key you prefer to
(define-key global-map (kbd "C-c SPC") 'ace-jump-mode)



;;
;; enable a more powerful jump back function from ace jump mode
;;
(autoload
'ace-jump-mode-pop-mark
"ace-jump-mode"
"Ace jump back:-)"
t)
(eval-after-load "ace-jump-mode"
'(ace-jump-mode-enable-mark-sync))
(define-key global-map (kbd "C-x SPC") 'ace-jump-mode-pop-mark)

;;If you use viper mode :
(define-key viper-vi-global-user-map (kbd "SPC") 'ace-jump-mode)
;;If you use evil
(define-key evil-normal-state-map (kbd "SPC") 'ace-jump-mode)


I want to know more about customized configuration?
---------------------------------------------------
See [FAQ ](http://github.com/winterTTr/ace-jump-mode/wiki/AceJump-FAQ)
Loading

0 comments on commit 8542d54

Please sign in to comment.