Bunch of changes

Credit https://git.sr.ht/~novakane/dotfiles
This commit is contained in:
FollieHiyuki 2021-07-09 00:27:02 +03:00
parent 52b9be4bee
commit e1b2a23507
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
11 changed files with 71 additions and 5 deletions

View File

@ -23,15 +23,16 @@
- [ ] ~~[dotdrop](https://github.com/deadc0de6/dotdrop)~~ / ~~Org Babel~~ / Ansible
- [x] Migrate zsh to [zinit](https://github.com/zdharma/zinit)
- [x] Wayland compositors
- [x] New Neovim config in Lua
- [ ] ~~[ion](https://github.com/redox-os/ion)~~ / [oksh](https://github.com/ibara/oksh) / [nushell](https://www.nushell.sh/) / [oil](https://www.oilshell.org/) / [xonsh](https://xon.sh/) / ~~[elvish](https://elv.sh/)~~ / [oh](https://github.com/michaelmacinnis/oh)
- [ ] NixOS / Guix / Gentoo / FreeBSD
- [ ] New Neovim config in Lua
- [ ] Independent ~/.emacs.d
- [ ] [kakoune](https://github.com/mawww/kakoune) / [lite-xl](https://github.com/franko/lite-xl)
### :star2: Credits
- [@glepnir](https://github.com/glepnir/nvim)'s Neovim config
- [@glepnir](https://github.com/glepnir/nvim)'s Neovim config, and also [NvChad](https://github.com/siduck76/NvChad)
- [@novakane](https://git.sr.ht/~novakane/) for git aliases
- [@hlissner](https://github.com/hlissner)'s zsh config
- [@daviwil](https://github.com/daviwil)'s/[@tecosaur](https://tecosaur.github.io/emacs-config/config.html)'s Emacs configurations
- [@begs](https://git.sr.ht/~begs/dotfiles)'s Waybar config

View File

@ -123,6 +123,7 @@ cp -rfv ./home/.config/pipe-viewer/ ~/.config/pipe-viewer/
cp -rfv ./home/.config/QtProject/ ~/.config/QtProject/
# cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
cp -rfv ./home/.config/ranger/ ~/.config/ranger/
cp -rfv ./home/.config/ripgrep/ ~/.config/ripgrep/
# cp -rfv ./home/.config/tg/ ~/.config/tg/
cp -rfv ./home/.config/tmux/ ~/.config/tmux/
cp -rfv ./home/.config/translate-shell/ ~/.config/translate-shell/

View File

@ -38,6 +38,7 @@ export XINITRC=$XDG_CONFIG_HOME/X11/xinitrc
export XSERVERRC=$XDG_CONFIG_HOME/X11/xserverrc
export WGETRC=$XDG_CONFIG_HOME/wget/wgetrc
export WEECHAT_HOME=$XDG_CONFIG_HOME/weechat
export RIPGREP_CONFIG_PATH=$XDG_CONFIG_HOME/ripgrep/config
# env
export PAGER="less -R"

View File

@ -2,7 +2,6 @@
env:
TERM: alacritty
# TERM: xterm-256color
window:
padding:

View File

@ -49,6 +49,7 @@ set -gx XINITRC $XDG_CONFIG_HOME/X11/xinitrc
set -gx XSERVERRC $XDG_CONFIG_HOME/X11/xserverrc
set -gx WGETRC $XDG_CONFIG_HOME/wget/wgetrc
set -gx WEECHAT_HOME $XDG_CONFIG_HOME/weechat
set -gx RIPGREP_CONFIG_PATH $XDG_CONFIG_HOME/ripgrep/config
# env
set -gx EDITOR nvim

View File

@ -38,12 +38,25 @@
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
[fetch]
prune = true
[init]
defaultBranch = main
[rebase]
autosquash = true
[push]
followTags = true
[submodule]
recurse = true
[help]
autocorrect = 1
[alias]
l = log --graph --pretty=format:'%C(italic)%t%Creset %C(bold)<%an>%Creset -> %C(bold)%d%Creset %C(blue)%s%Creset - %C(italic)(%cr)%Creset'
s = status -sbu
sbu = submodule update --remote --merge
unstage = reset HEAD
[url "https://github.com/"]
insteadOf = gh:
[url "https://gist.github.com/"]

44
home/.config/git/ignore Normal file
View File

@ -0,0 +1,44 @@
# Meson
/subprojects/*
!/subprojects/*.wrap
meson-logs
meson-private
meson_benchmark_setup.dat
meson_test_setup.dat
# Ninja
build.ninja
.ninja_deps
.ninja_logs
.ninja_log
# Compiled stuff
*.o
*.a
*.exe
*.class
*.elc
*.pyc
*.out
*.obj
*.so
*.so.*
*.dll
# OS files
.DS_Store?
.DS_Store
# Neovim
*.swp
.*.sw[a-z]
*.un~
.netrwhist
# Misc
compile_commands.json
*.orig
*.rej
# QtCreator
CMakeLists.txt.user

View File

@ -116,8 +116,8 @@ local function load_options()
opt.list = true
opt.listchars = 'tab:»·,nbsp:+,trail:·,extends:→,precedes:←'
opt.showbreak = ''
opt.linebreak = true
opt.breakat = [[\ \ ;:,!?]]
-- opt.linebreak = true
-- opt.breakat = [[\ \ ;:,!?]]
-- opt.breakindentopt = 'shift:4,min:20'
-- Undo file path

View File

@ -0,0 +1,4 @@
--glob
!git/*
--smart-case

View File

@ -36,6 +36,7 @@ export XINITRC=$XDG_CONFIG_HOME/X11/xinitrc
export XSERVERRC=$XDG_CONFIG_HOME/X11/xserverrc
export WGETRC=$XDG_CONFIG_HOME/wget/wgetrc
export WEECHAT_HOME=$XDG_CONFIG_HOME/weechat
export RIPGREP_CONFIG_PATH=$XDG_CONFIG_HOME/ripgrep/config
# env
export PAGER="less -R"

1
home/.ssh/environment Normal file
View File

@ -0,0 +1 @@
TERM=xterm-256color