Add wget configuration and move vimrc to .config
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
3f45971851
commit
606ca1e914
6 changed files with 27 additions and 9 deletions
|
@ -28,4 +28,7 @@ alias cat="bat"
|
|||
alias pj="cd ~/Projects"
|
||||
|
||||
# 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\""
|
|
@ -9,6 +9,14 @@
|
|||
"
|
||||
" USAGE:
|
||||
" 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
|
||||
set encoding=utf-8
|
||||
set virtualedit=onemore
|
||||
|
@ -18,4 +26,5 @@ filetype on
|
|||
filetype indent on
|
||||
filetype plugin on
|
||||
|
||||
:imap jk <Esc>
|
||||
:imap jk <Esc>
|
||||
|
0
system/.config/wget/wgetrc
Normal file
0
system/.config/wget/wgetrc
Normal file
|
@ -20,6 +20,9 @@ export XDG_DATA_HOME="${HOME}/.local/share"
|
|||
|
||||
# XDG Overrides for unsupported programs
|
||||
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
|
||||
export HISTCONTROL=ignoreboth
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue