+
Skip to content

astaugaard/reasymotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reasymotion

Reasymotion is an implementation of some basic easymotion-like functionality for Kakoune.

Install

git clone https://github.com/astaugaard/reasymotion.git
cd reasymotion
cargo install --path .

Then add the following to your kakrc or load the file included in rc/reasymotion_kak

evaluate-commands $sh {
    rkak_easymotion start
}

Commands

Underlying Commands

reasymotion-selection: runs reasymotion to keep one of your current selections

reasymotion-selection-expand: runs reasymotion to expand the selection described in it's first argument using one of your current selections

Basic Movement Commands

reasymotion-on-letter-to-letter: allows you to input a letter then it will start reasymotion to try to jump to an instance of that letter

reasymotion-on-letter-to-word: the same thing as reasymotion-on-letter-to-letter, but instead only selects letters at the start of a word

reasymotion-select-screen <keystrokes>: select the whole screen then runs keystrokes and then runs reasymotion-selection (this is used to implement most of higher level functions)

reasymotion-word: use reasymotion to jump to a word on the screen

Selection Expanding Commands

(I'm willing to take suggestions for the name of this section)

Each of the above "basic movement commands" has a {name}-expand variant that expands the current selection.

Configuration

reasymotion_keys: keys to use when jumping to a selection.

default value: "abcdefghijklmnopqrstuvwxyz"

REasymotionBackground - the face that is used on the entire screen running reasymotion (currently not entirely working maybe?)

REasymotionForeground - the face that is used to display the "jump prompts"

About

easymotion for kakoune implemented in rust

Topics

Resources

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载