AutoYADM commit: 2025-06-15 15:36:37
This commit is contained in:
parent
c38b84424a
commit
53d84afc8d
4 changed files with 20 additions and 6 deletions
|
@ -1,4 +1,12 @@
|
||||||
function mksh --description 'make executable shell script' --argument-names name
|
function mksh --description 'make executable shell script'
|
||||||
printf '#!/bin/sh\n\n' >$name.sh
|
argparse 'e/edit' -- $argv
|
||||||
chmod +x $name.sh
|
set name $argv[1]
|
||||||
|
echo $name.sh
|
||||||
|
set file $name.sh
|
||||||
|
echo $file
|
||||||
|
printf '#!/bin/sh\n\n' >$file
|
||||||
|
chmod +x $file
|
||||||
|
if set -q _flag_e
|
||||||
|
kak "$file" -e 'exec -with-hooks gjo'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -126,9 +126,11 @@ map -docstring %{
|
||||||
|
|
||||||
map global normal <backspace> '"_'
|
map global normal <backspace> '"_'
|
||||||
define-command goto-debug %{
|
define-command goto-debug %{
|
||||||
buffer *debug*
|
try %{
|
||||||
ui-scrolloff-disable
|
buffer *debug*
|
||||||
execute-keys 'gj'
|
ui-scrolloff-disable
|
||||||
|
execute-keys 'gj'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare-user-mode debug
|
declare-user-mode debug
|
||||||
|
|
2
.config/niri/-e.sh
Normal file
2
.config/niri/-e.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
2
.config/niri/user-mode.sh
Executable file
2
.config/niri/user-mode.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue