1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-27 01:01:05 +00:00

Add gn function

This commit is contained in:
Mo 2022-05-07 00:11:41 +02:00
parent 3d101a3954
commit aa7ce69928

View file

@ -12,9 +12,6 @@ if status is-interactive
# Abbreviations
## Replacements
abbr -a -g rm trash
# TODO: Remove temporal nvim path
abbr -a -g nvim /home/mo/bin/nvim/bin/nvim
abbr -a -g gnvim /home/mo/bin/Goneovim/goneovim --maximized --nvim /home/mo/bin/nvim/bin/nvim
## Safety options
abbr -a -g cp "cp -i"
@ -77,6 +74,17 @@ if status is-interactive
onefetch --no-palette $argv
end
# TODO: Remove temporal nvim path
function nvim -w nvim
/home/mo/bin/nvim/bin/nvim $argv
end
function gn
# TODO: Remove temporal nvim path
/home/mo/bin/goneovim/goneovim --maximized --nvim /home/mo/bin/nvim/bin/nvim $argv &>/dev/null &
disown
end
## Taskwarrior
function ta -w task -d "Add no priority task"
task add project:$argv[1] $argv[2..]