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:
parent
3d101a3954
commit
aa7ce69928
1 changed files with 11 additions and 3 deletions
|
@ -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..]
|
||||
|
|
Loading…
Reference in a new issue