mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
80 lines
1.9 KiB
Markdown
80 lines
1.9 KiB
Markdown
# configs
|
|
config files
|
|
|
|
## List of utilities for terminal
|
|
- bat https://github.com/sharkdp/bat
|
|
- rg https://github.com/BurntSushi/ripgrep
|
|
- tig https://github.com/jonas/tig
|
|
- gitg
|
|
```
|
|
alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
|
|
```
|
|
- exa https://github.com/ogham/exa
|
|
```
|
|
alias ls='exa'
|
|
alias lst='exa -l -snew'
|
|
```
|
|
- fd https://github.com/sharkdp/fd
|
|
- jq https://github.com/stedolan/jq
|
|
- tmux
|
|
- nvim
|
|
- mpsyt (mps-youtube) https://github.com/mps-youtube/mps-youtube
|
|
- fzf https://github.com/junegunn/fzf
|
|
|
|
|
|
---
|
|
|
|
|
|
- Vim: `.vimrc`
|
|
- put `vimconfigbase.vim` into `~/`
|
|
- put `.vimrc` into `~/`
|
|
- install https://github.com/junegunn/vim-plug
|
|
- inside vim, execute: `:PlugInstall`
|
|
- NeoVim: `init.vim`
|
|
- put `vimconfigbase.vim` into `~/`
|
|
- in `.config/nvim/init.vim`
|
|
- install https://github.com/junegunn/vim-plug
|
|
- inside neovim, execute: `:PlugInstall`
|
|
- for the vim-go, execute: :GoInstallBinaries
|
|
- `.bashrc`
|
|
- in `~/home/.bashrc` directory
|
|
- execute `source .bashrc`
|
|
- Tmux: `.tmux.conf`
|
|
- in `~/home/.tmux.conf` directory
|
|
- Keyboard remap `.Xmodmap`
|
|
- in `~/home/.Xmodmap`
|
|
- changes will be applied each session start
|
|
- to apply changes in the current session use `xmodmap ~/.Xmodmap`
|
|
- Redshift `redshift.conf`
|
|
- in `~/.config/redshift.conf`
|
|
- i3 config files `/i3` and `/i3status` directories go inside `~/.config/` directory
|
|
- alacritty: copy `alacritty` dir into `~/.config/` directory
|
|
|
|
|
|
### server side
|
|
- radicale `config`
|
|
- in `~/.conf/radicale/config`
|
|
|
|
## swap file
|
|
```bash
|
|
# create swap file
|
|
> dd if=/dev/zero of=./swapfile bs=1GB count=40
|
|
|
|
# add permisions
|
|
> chmod 600 ./swapfile
|
|
|
|
# format the swapfile
|
|
> mkswap ./swapfile
|
|
|
|
# enable swap on swapfile
|
|
> swapon ./swapfile
|
|
|
|
# check that it is enabled
|
|
> swapon --show
|
|
|
|
|
|
# make swap persistent:
|
|
# add the following line at the end of the /etc/fstab file
|
|
~/swapfile swap swap defaults 0 0
|
|
```
|