mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-11-09 08:31:15 +01:00
Compare commits
7 Commits
efb0a60374
...
server
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c01039530 | |||
| bfcc3267aa | |||
| 768a4b0aec | |||
| 879dfa8d5e | |||
|
|
bccdd7edfb | ||
|
|
1b16fbbdc5 | ||
|
|
58c38bd31c |
@@ -11,6 +11,8 @@ alias "...."="cd ../../.."
|
||||
alias "....."="cd ../../../.."
|
||||
alias "......"="cd ../../../../.."
|
||||
alias "dockervol"="cd /var/lib/docker/volumes"
|
||||
alias prev='cd ../"$(ls -F .. | grep '/' | grep -B1 -xF "${PWD##*/}/" | head -n 1)"'
|
||||
alias next='cd ../"$(ls -F .. | grep '/' | grep -A1 -xF "${PWD##*/}/" | tail -n 1)"'
|
||||
|
||||
# cp
|
||||
alias cp="cp -i"
|
||||
@@ -37,10 +39,10 @@ haste() {
|
||||
}
|
||||
|
||||
# ls(d)
|
||||
alias l="lsd"
|
||||
alias la="lsd -la"
|
||||
alias ll="lsd -l"
|
||||
alias tree="lsd --tree"
|
||||
alias l="eza"
|
||||
alias la="eza -la"
|
||||
alias ll="eza -l"
|
||||
alias tree="eza --tree"
|
||||
|
||||
# metaflac
|
||||
alias tag="metaflac"
|
||||
@@ -60,6 +62,9 @@ alias ping="ping -c 5"
|
||||
# rm
|
||||
alias rm="rm -i"
|
||||
|
||||
# rsync
|
||||
alias rsync="rsync -vh --progress --partial"
|
||||
|
||||
# sc-im
|
||||
alias sc="sc-im"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Plug 'tomasiser/vim-code-dark'
|
||||
call plug#end()
|
||||
" end plugin section
|
||||
|
||||
set go=a
|
||||
"set go=a
|
||||
|
||||
" enable mouse for all modes
|
||||
set mouse=a
|
||||
@@ -77,7 +77,7 @@ endif
|
||||
" enable persistent undo
|
||||
if has('persistent_undo')
|
||||
set undofile
|
||||
set undodir=$XDG_CACHE_HOME/vim/undo
|
||||
set undodir="$XDG_CACHE_HOME/vim/undo"
|
||||
endif
|
||||
|
||||
" unmap unwanted commands
|
||||
|
||||
@@ -8,24 +8,24 @@ My debian-based/arch compatible server/root-account dotfiles.
|
||||
|
||||
### Required
|
||||
|
||||
- lsd
|
||||
- git
|
||||
- tmux
|
||||
- neovim
|
||||
- zsh
|
||||
- eza
|
||||
- sc-im (recommended)
|
||||
|
||||
#### Debian-based Systems
|
||||
|
||||
- `apt install git tmux neovim zsh`
|
||||
- get the rest manually
|
||||
- https://github.com/Peltoche/lsd
|
||||
- https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export
|
||||
- [eza](https://github.com/eza-community/eza)
|
||||
- [sc-im (recommended)](https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export)
|
||||
|
||||
#### Arch-based Systems
|
||||
|
||||
- Get the yay-AUR-pckagemanager or something similar (`pacman -S yay`).
|
||||
- `yay -S lsd git tmux neovim zsh sc-im`
|
||||
- `yay -S eza git tmux neovim zsh sc-im`
|
||||
|
||||
## Migration of my dotfiles to other system
|
||||
|
||||
|
||||
Reference in New Issue
Block a user