Giter Club home page Giter Club logo

talon-configs's Introduction

My talon config

Overview

Basic alphabet

air bat cap drum each fine gust harp sit jury crunch look made near odd pit quench red sun trap urge vest whale plex yank zip

I prefer these over the default letters:

  • door/dip - d
  • far - f
  • hope - h
  • ice - i
  • king - k
  • oy/oil - o
  • tea - t
  • box - x

Key overrides

  • enter - use / apply
  • escape - scape
  • backspace - junk
  • shift - sky / ship
  • command - kemmed
  • home - pop
  • end - push
  • undo - ups

Skipping, selecting, deleting whole words

<num> before / <num> after

Jumps over <num> words to the left or right (cursor can be in the middle of the word before jumping)

<num> befores / <num> afters

Selects <num> words to the left or to the right

delete <num> befores / delete <num> afters

Deletes <num> words to the left or to the right

correct

Selects last insertion

Repetition

<any command> <num> ok

go down 5 ok? - I love saying that with an implied question mark

wink [num]

repeats the last command [num] or 1 times

again [num] / back [num]

Special commands that hook up to other commands as forward/backward actions or as "extend action". The direct repeaters like wink are great, but you lose them every time you say any command other than the one you want to repeat.

Again/back are attached to commands that are commonly repeated, for example, search forward (cmd-g) after search (cmd-f).

The inspiration for this feature came from anonfunc/talon-user extension logic.

Examples of how again/back works

  • after search (cmd-f) the again/back commands are cmd-g and cmd-shift-g (search forwards or backwards)
  • after 2 befores (having 2 words selected), again 2 results in 4 words selected, back results in 1 words selected
  • after next tab command, the again is ctrl-tab and back is ctrl-shift-tab

image

The last repeatable command is shown in the bottom of the phrase history along with the shortcuts that will be performed for again/back.

Picking a previous command

If you're lazy like me, you don't want to say long commands over and over, all latest repeatable commands are stored and can be re-sent by saying re-run and picking the right command from the picker that pops up.

Named clipboard

copy <word> - copies selection indexed by <word>

(free | paste) <word> - paste clipping stored under <word>

show clips - show what's saved in the named clipboard

image

Smart parameterized macro

macro start - to start recording a new macro sequence. The macro sequence will be shown as it is recorded. It will keep showing in the phrase history as long as you're using it.

macro stop - to stop recording

image

The script in macro.py now supports a number argument. You can record a macro with a number in it, like a complex vim command - ys1aw] (surround around 1 word[s] with square brackets)

macro play / replay - will play the macro as recorded

replay 5 - will play the key sequence with 5 instead of 1 - ys5aw]

replay 1 1 - will play the key sequence with 11 instead of 1 - ys11aw]


Inspiration

Most of the code in this repo was scavenged from or inspired by other members of the talon community:

anonfunc/talon-user

2shea/talon_configs

seananderson/talon-config

dwiel/talon_community

talon-configs's People

Contributors

madd0g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.