#amberlang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #amberlang, aggregated by home.social.
-
I'm really enjoying making small scripts in #AmberLang
https://docs.amber-lang.com/0.6.0-alpha
It's a higher-level and typed language which compiles down to #bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/permalink.ab
The following command (using expansion) is bound to a keyboard shortcut in Helix:
`:sh permalink %{buffer_name} %{selection_line_start} %{selection_line_end}`
And here's one to git blame the current line: https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/blame.ab
-
I'm really enjoying making small scripts in #AmberLang
https://docs.amber-lang.com/0.6.0-alpha
It's a higher-level and typed language which compiles down to #bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/permalink.ab
The following command (using expansion) is bound to a keyboard shortcut in Helix:
`:sh permalink %{buffer_name} %{selection_line_start} %{selection_line_end}`
And here's one to git blame the current line: https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/blame.ab
-
I'm really enjoying making small scripts in #AmberLang
https://docs.amber-lang.com/0.6.0-alpha
It's a higher-level and typed language which compiles down to #bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/permalink.ab
The following command (using expansion) is bound to a keyboard shortcut in Helix:
`:sh permalink %{buffer_name} %{selection_line_start} %{selection_line_end}`
And here's one to git blame the current line: https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/blame.ab
-
I'm really enjoying making small scripts in #AmberLang
https://docs.amber-lang.com/0.6.0-alpha
It's a higher-level and typed language which compiles down to #bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/permalink.ab
The following command (using expansion) is bound to a keyboard shortcut in Helix:
`:sh permalink %{buffer_name} %{selection_line_start} %{selection_line_end}`
And here's one to git blame the current line: https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/blame.ab
-
I'm really enjoying making small scripts in #AmberLang
https://docs.amber-lang.com/0.6.0-alpha
It's a higher-level and typed language which compiles down to #bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/permalink.ab
The following command (using expansion) is bound to a keyboard shortcut in Helix:
`:sh permalink %{buffer_name} %{selection_line_start} %{selection_line_end}`
And here's one to git blame the current line: https://codeberg.org/beeb/.dotfiles/src/branch/main/scripts/blame.ab