9 lines
243 B
Fish
9 lines
243 B
Fish
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
|