tabs<->spaces ?
#15391
-
|
I know I can, for example Should this be a built-in feature? vscode has it |
Beta Was this translation helpful? Give feedback.
Answered by
Rudxain
Mar 9, 2026
Replies: 2 comments 3 replies
-
|
Is this a dupe of #2576 ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
In this specific case, macros don't need to prompt for an arg/param: # example keystrokes: <backspace>e4;
# assumptions:
# - `C-s` bound to `save_selection`
# - `C-o` bound to `jump_backward`
[keys.normal.backspace]
# generic and manual
e.n = "@<C-s>%|expand -t"
# concrete and auto
e.2 = "@<C-s>%|expand -t2<ret><C-o>"
e.3 = "@<C-s>%|expand -t3<ret><C-o>"
e.4 = "@<C-s>%|expand -t4<ret><C-o>"
e.6 = "@<C-s>%|expand -t6<ret><C-o>"
e.8 = "@<C-s>%|expand -t8<ret><C-o>"
u.n = "@<C-s>%|unexpand -t"
u.2 = "@<C-s>%|unexpand -t2<ret><C-o>"
u.3 = "@<C-s>%|unexpand -t3<ret><C-o>"
u.4 = "@<C-s>%|unexpand -t4<ret><C-o>"
u.6 = "@<C-s>%|unexpand -t6<ret><C-o>"
u.8 = "@<C-s>%|unexpand -t8<ret><C-o>"it's fast enough, but still no auto-detect |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Rudxain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this specific case, macros don't need to prompt for an arg/param:
it's f…