Compare commits
2 commits
98d64b5e0e
...
9bd99e2794
Author | SHA1 | Date | |
---|---|---|---|
9bd99e2794 | |||
dffe33e507 |
9 changed files with 29 additions and 13 deletions
|
@ -34,8 +34,8 @@ alias grep='grep --color=auto'
|
|||
alias grep-highlight='grep -e "^" -e'
|
||||
|
||||
alias hist-grep='history 0 | grep '
|
||||
alias http-server='python3 -m http.server'
|
||||
|
||||
alias icat="kitty +kitten icat"
|
||||
alias ip='ip -c'
|
||||
|
||||
alias j='jump'
|
||||
|
@ -50,8 +50,6 @@ alias make='make -j5'
|
|||
alias mkdir='mkdir -pv'
|
||||
alias mv='mv -iv'
|
||||
|
||||
alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix'
|
||||
|
||||
alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)'
|
||||
alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)'
|
||||
alias ps-grep='ps aux | grep -v grep | grep'
|
||||
|
@ -60,7 +58,6 @@ alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG
|
|||
|
||||
alias rm='rm -I --one-file-system -v'
|
||||
|
||||
alias sail='bash vendor/bin/sail'
|
||||
alias sl='ls'
|
||||
alias sudo='sudo '
|
||||
|
||||
|
|
|
@ -38,6 +38,12 @@ target = "eza"
|
|||
pipe = "tar xzO"
|
||||
groups = ["base"]
|
||||
|
||||
[[ autoinstall ]]
|
||||
type = "exe"
|
||||
source = "https://github.com/apple/pkl/releases/download/0.25.2/pkl-linux-amd64"
|
||||
target = "pkl"
|
||||
groups = ["base"]
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://git.serguzim.me/serguzim/tools/releases/download/latest/autostart-manage"
|
||||
|
|
|
@ -27,6 +27,7 @@ export BEMENU_OPTS="--tb '#6272a4'\
|
|||
--no-overlap\
|
||||
-P '>' -p ''"
|
||||
|
||||
export DFT_DISPLAY="side-by-side-show-both"
|
||||
export DMENU="bemenu"
|
||||
export DOCKER_BUILDKIT=1
|
||||
|
||||
|
|
|
@ -5,15 +5,21 @@
|
|||
[core]
|
||||
excludesfile = ~/.config/git/ignore
|
||||
editor = vim
|
||||
pager = less
|
||||
autocrlf = input
|
||||
[help]
|
||||
autocorrect = 20
|
||||
|
||||
[diff]
|
||||
tool = vimdiff
|
||||
tool = difftastic
|
||||
external = difft
|
||||
[difftool]
|
||||
prompt = false
|
||||
trustExitCode = true
|
||||
[difftool "difftastic"]
|
||||
cmd = difft "$LOCAL" "$REMOTE"
|
||||
[pager]
|
||||
difftool = true
|
||||
|
||||
|
||||
[alias]
|
||||
b = branch -vv
|
||||
ci = commit
|
||||
|
@ -28,12 +34,10 @@
|
|||
lo = log --graph --decorate --oneline --all
|
||||
s = status
|
||||
|
||||
[log]
|
||||
date = iso
|
||||
[merge]
|
||||
tool = vim_mergetool
|
||||
conflictstyle = diff3
|
||||
[mergetool "vim_mergetool"]
|
||||
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
|
||||
trustExitCode = true
|
||||
conflictstyle = zdiff3
|
||||
[sendemail]
|
||||
smtpserver = mail.serguzim.me
|
||||
smtpuser = tobias@msrg.cc
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
home.packages = with pkgs; [
|
||||
asciinema # tool to record terminal sessions
|
||||
bat # cat-alternative
|
||||
cachix # tool to manage nix binary caches
|
||||
difftastic # tool to compare files
|
||||
direnv # tool to load custom environments
|
||||
docker-credential-helpers
|
||||
doggo # dns client
|
||||
|
|
3
.config/nix/nix.conf
Normal file
3
.config/nix/nix.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
experimental-features = nix-command flakes
|
||||
substituters = https://cache.nixos.org https://hyprland.cachix.org https://devenv.cachix.org
|
||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=
|
|
@ -1,6 +1,6 @@
|
|||
require'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
|
||||
ensure_installed = { "c", "lua", "pkl", "query", "vim", "vimdoc" },
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
|
|
@ -17,6 +17,7 @@ return require('packer').startup(function(use)
|
|||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate'
|
||||
})
|
||||
use("apple/pkl-neovim")
|
||||
|
||||
use("github/copilot.vim")
|
||||
use("mbbill/undotree")
|
||||
|
|
|
@ -34,6 +34,8 @@ vim.opt.updatetime = 50
|
|||
|
||||
vim.opt.colorcolumn = "80"
|
||||
|
||||
vim.opt.foldenable = false
|
||||
|
||||
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
group = vim.api.nvim_create_augroup('highlight_yank', {}),
|
||||
|
|
Loading…
Reference in a new issue