Add wget configuration and move vimrc to .config

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-02-12 22:08:42 +01:00
parent 3f45971851
commit 606ca1e914
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
6 changed files with 27 additions and 9 deletions

View file

@ -71,14 +71,19 @@ This folder contains my [Streamlink](https://streamlink.github.io/) configuratio
This folder contains my configuration for my terminal emulator This folder contains my configuration for my terminal emulator
[Termite](https://github.com/thestinger/termite). [Termite](https://github.com/thestinger/termite).
### `.config/vim`
This folder contains my [Vim](https://www.vim.org/) configuration.
### `.config/vue` ### `.config/vue`
This file contains my configuration for [vue-cli](https://github.com/vuejs/vue-cli). This folder contains my configuration for
[vue-cli](https://github.com/vuejs/vue-cli).
### `.config/wget`
This folder contains my configuration for [wget](https://www.gnu.org/software/wget/).
### `.config/Trolltech.conf` ### `.config/Trolltech.conf`
This file contains my QT4 configuration. This file contains my QT4 configuration.
### `bin` ### `bin`
This folder contains a bunch of scripts that I use. Some of them are used by This folder contains a bunch of scripts that I use. Some of them are used by
Polybar or i3 and others are used directly and some like `utils.sh` contain Polybar or i3 and others are used directly and some like `utils.sh` contain
@ -115,9 +120,6 @@ This file is used for my custom GTK 2 configuration. This file gets included in
### `.keyleds` ### `.keyleds`
This file contains the configuration for my keyboard backlight. This file contains the configuration for my keyboard backlight.
### `.vimrc`
This file contains my [Vim](https://www.vim.org/) configuration.
### `.xinitrc` ### `.xinitrc`
This file is called when a new x-server is started manually. It loads the contents of `.xsetup` and then starts i3. This file is called when a new x-server is started manually. It loads the contents of `.xsetup` and then starts i3.

View file

@ -50,13 +50,14 @@ LINKED_FILES_HOME=(
".config/streamlink" ".config/streamlink"
".config/termite" ".config/termite"
".config/Trolltech.conf" ".config/Trolltech.conf"
".config/vim"
".config/vue" ".config/vue"
".config/wget"
".dircolors" ".dircolors"
".env" ".env"
".gtkrc-2.0.mine" ".gtkrc-2.0.mine"
".gtkrc-2.0" ".gtkrc-2.0"
".keyleds" ".keyleds"
".vimrc"
".xinitrc" ".xinitrc"
".xprofile" ".xprofile"
".Xresources" ".Xresources"

View file

@ -28,4 +28,7 @@ alias cat="bat"
alias pj="cd ~/Projects" alias pj="cd ~/Projects"
# Alias for opening my code editor # Alias for opening my code editor
alias e="code" alias e="code"
# Alias for wget to use XDG directories
alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""

View file

@ -9,6 +9,14 @@
" "
" USAGE: " USAGE:
" This file is automatically used by Vim. " This file is automatically used by Vim.
" Directory configurations
set undodir=$XDG_CACHE_HOME/vim/undo
set directory=$XDG_CACHE_HOME/vim/swap
set backupdir=$XDG_CACHE_HOME/vim/backup
set viminfo+='1000,n$XDG_CACHE_HOME/vim/viminfo
set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after
syntax on syntax on
set encoding=utf-8 set encoding=utf-8
set virtualedit=onemore set virtualedit=onemore
@ -18,4 +26,5 @@ filetype on
filetype indent on filetype indent on
filetype plugin on filetype plugin on
:imap jk <Esc> :imap jk <Esc>

View file

View file

@ -20,6 +20,9 @@ export XDG_DATA_HOME="${HOME}/.local/share"
# XDG Overrides for unsupported programs # XDG Overrides for unsupported programs
export HTTPIE_CONFIG_DIR="${XDG_CONFIG_HOME}/httpie" export HTTPIE_CONFIG_DIR="${XDG_CONFIG_HOME}/httpie"
export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
export WGETRC="${XDG_CONFIG_HOME}/wget/wgetrc"
export VIMINIT=":source ${XDG_CONFIG_HOME}/vim/vimrc"
# Bash # Bash
export HISTCONTROL=ignoreboth export HISTCONTROL=ignoreboth