9 lines
243 B
Cheetah
9 lines
243 B
Cheetah
function vim --wraps=micro --description 'run micro instead of vim'
|
|
if type -q micro
|
|
{{ lookPath "micro" }} $argv
|
|
else if type -q nvim
|
|
{{ lookPath "nvim" }} $argv
|
|
else
|
|
{{ lookPath "vim" }} $argv
|
|
end
|
|
end
|