Compare commits

...

2 commits

8 changed files with 25 additions and 63 deletions

View file

@ -14,6 +14,6 @@ fish_add_path $HOME/.ghcup/bin
source ~/.config/fish/myfunctions/code.fish
source ~/.config/fish/myfunctions/dotfiles.fish
source ~/.config/fish/myfunctions/packages.fish
source ~/.config/fish/myfunctions/pacman.fish
source ~/.config/fish/myfunctions/qol.fish
source ~/.config/fish/myfunctions/replacements.fish

View file

@ -2,9 +2,6 @@ function config
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $argv
end
function lazyconfig
lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/ $argv
end
alias lc=lazyconfig
abbr -a lc "lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/"

View file

@ -1,32 +0,0 @@
function i
sudo pacman -S $argv
end
function zi
sudo zypper install $argv
end
function s
sudo pacman -Ss $argv
end
function zs
sudo zypper search $argv
end
function u
sudo pacman -Syu
end
function zu
sudo zypper refresh && sudo zypper update
end
function r
sudo pacman -Rns $argv
end
function zr
sudo zypper remove $argv
end

View file

@ -1,16 +1,5 @@
function i
sudo pacman -S $argv
end
function s
sudo pacman -Ss $argv
end
function u
sudo pacman -Syu
end
function r
sudo pacman -Rns $argv
end
abbr -a i sudo pacman -S
abbr -a s sudo pacman -Ss
abbr -a u sudo pacman -Syu
abbr -a r sudo pacman -Rns

View file

@ -1,8 +1,9 @@
function ls
exa --icons -l $argv
end
alias find=fd
alias df=duf
abbr -a find fd
abbr -a df duf
abbr -a v nvim
function rm
echo "rm is disabled, use trash instead"
end

View file

@ -0,0 +1,14 @@
require("copilot").setup({
suggestion = {enabled = false},
panel = {enabled = false},
filetypes = {
yaml = false,
help = false,
gitcommit = false,
gitrebase = false,
hgcommit = false,
svn = false,
cvs = false,
["."] = true
}
})

View file

@ -36,13 +36,6 @@ lazy.setup({
'tpope/vim-surround',
'tpope/vim-obsession',
{
'm4xshen/hardtime.nvim',
config = function()
require 'hardtime'.setup {}
end
},
--Tmux navigation
{
'alexghergh/nvim-tmux-navigation',

View file

@ -8,8 +8,8 @@ local options = {
ui = {
icons = {
package_pending = "",
package_installed = " ",
package_uninstalled = " ",
package_installed = "󰄳 ",
package_uninstalled = " ",
},
keymaps = {