Overview
Comment: | Make vim use XDG basedir |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d283b9b7bc9c85b8d2c4824a4fb2fa46 |
User & Date: | js 2020-02-26 21:10:23 |
Context
2020-02-26
| ||
21:18 | Make Git use XDG basedir check-in: ac6df3c466 user: js tags: trunk | |
21:10 | Make vim use XDG basedir check-in: d283b9b7bc user: js tags: trunk | |
2020-02-20
| ||
22:07 | Remove useless config subdirectory check-in: 24d2eb82f0 user: js tags: trunk | |
Changes
Changes to create_symlinks.sh.
︙ | ︙ | |||
14 15 16 17 18 19 20 | mkdir -p $HOME/.config which git >/dev/null 2>&1 && link_file gitconfig .gitconfig if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then mkdir -p $HOME/.gnupg link_file gpg.conf .gnupg/gpg.conf ../ fi which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf | | < < < | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | mkdir -p $HOME/.config which git >/dev/null 2>&1 && link_file gitconfig .gitconfig if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then mkdir -p $HOME/.gnupg link_file gpg.conf .gnupg/gpg.conf ../ fi which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf which vim >/dev/null 2>&1 && link_file vim .config/vim ../ which fish >/dev/null 2>&1 && link_file fish .config/fish ../ which youtube-dl >/dev/null 2>&1 && link_file youtube-dl .config/youtube-dl ../ which zsh >/dev/null 2>&1 && link_file zshrc .zshrc if test x"$(uname -s)" = x"Darwin"; then dest="$HOME/Library/Keyboard Layouts/eu_US.keylayout" # This does not like being symlinked… |
︙ | ︙ |
Changes to fish/config.fish.
︙ | ︙ | |||
20 21 22 23 24 25 26 27 28 | set -g fish_color_valid_path normal set -g fish_color_vcs 43d696 set -g fish_color_vcs_braces 29bc7d set -g _fish_abbr_gpg gpg2 set -g _fish_abbr_vi vim set -x EDITOR vim set -x LS_COLORS 'di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90' | > > > > > > > > | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | set -g fish_color_valid_path normal set -g fish_color_vcs 43d696 set -g fish_color_vcs_braces 29bc7d set -g _fish_abbr_gpg gpg2 set -g _fish_abbr_vi vim test -n "$XDG_CONFIG_HOME" or set -x XDG_CONFIG_HOME $HOME/.config test -n "$XDG_CACHE_HOME" or set -x XDG_CACHE_HOME $HOME/.cache test -n "$XDG_DATA_HOME" or set -x XDG_DATA_HOME $HOME/.local/share set -x EDITOR vim set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc" set -x LS_COLORS 'di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90' |
Added vim/vimrc.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | set runtimepath+=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after set viminfofile=$XDG_CACHE_HOME/vim/viminfo source $VIMRUNTIME/vimrc_example.vim set t_Co=256 set background=dark let g:inkpot_black_background=1 colorscheme inkpot set cinoptions=+4,(4,u4,w4 set colorcolumn=81 highlight ColorColumn ctermbg=235 let c_space_errors=1 set ignorecase set smartcase set modeline set modelines=1000 set nrformats=hex set mouse= au BufNewFile,BufRead *.c :se ft=c.doxygen au BufNewFile,BufRead *.cs :se ts=4 sw=4 au BufNewFile,BufRead *.fish :se ts=4 sw=4 et au BufNewFile,BufRead *.h :se ft=objc.doxygen au BufNewFile,BufRead *.m :se ft=objc.doxygen au BufNewFile,BufRead *.mm :se ft=objcpp au BufNewFile,BufRead *.pas :se ts=2 sw=2 et au BufNewFile,BufRead *.py :se ts=4 sw=4 et au BufNewFile,BufRead *.rb :se ts=2 sw=2 et au BufNewFile,BufRead *.swift :se ts=4 sw=4 et au BufNewFile,BufRead *.v :se ts=4 sw=4 et au BufNewFile,BufRead *.vhd :se ts=4 sw=4 et au BufNewFile,BufRead *.xml :se ts=2 sw=2 et au BufNewFile,BufRead */LLVM/* :se ts=2 sw=2 et au BufNewFile,BufRead */haiku/* :se ts=4 sw=4 |
Deleted vimrc.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to zshrc.
1 2 3 4 5 6 7 8 | export EDITOR="vim" export PAGER="less" export LS_COLORS='di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90' LISTMAX=32768 WORDCHARS="*?[];!#~" local grep="" local grep_color="auto" local ls="" | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 | export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" export EDITOR="vim" export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" export PAGER="less" export LS_COLORS='di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90' LISTMAX=32768 WORDCHARS="*?[];!#~" local grep="" local grep_color="auto" local ls="" |
︙ | ︙ |