Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add editor-variable-universal-argument-function #1704

Conversation

SequentialDesign
Copy link
Contributor

add editor-variable-universal-argument-function so that users can define their own incrementing patterns to universal-argument. for example :

(setf (variable-value 'lem/universal-argument:universal-argument-function :global)
      (lambda (x) (* 4 x)))

in this case, C-u is much more granular. the default C-u jumps too much for me, going from 4 to 16. but going from 4 to 8 and then 12 is much better for me

the default is kept at exponent of 4 : (lambda (x) (expt 4 x))

add `editor-variable-universal-argument-function` so that users can define their own incrementing patterns to `universal-argument`.  for example :

```
(setf (variable-value 'lem/universal-argument:universal-argument-function :global)
      (lambda (x) (* 4 x)))
```

in this case, `C-u` is much more granular.  the default `C-u` jumps too much for me, going from 16.  but going from 4 to 8 and then 12 is much better

the default is kept at `(lambda (x) (expt 4 x))`
@cxxxr cxxxr merged commit 3f708ad into lem-project:main Dec 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants