configs  Check-in [0a2da42b3e]

Overview
Comment:vimrc: Place swap, undo and backup in ~/.cache
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a2da42b3e0f5d62097358618dbb33f68512895998afef0101e32c3c0222f2cf
User & Date: js 2020-02-26 23:09:17
Context
2020-02-27
20:52
vimrc: Fix runtimepath order check-in: 8483441fc2 user: js tags: trunk
2020-02-26
23:09
vimrc: Place swap, undo and backup in ~/.cache check-in: 0a2da42b3e user: js tags: trunk
22:52
fish: Add dlna command check-in: 223094cce0 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vim/vimrc.

1



2



3
4
5
6
7
8
9
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

>
>
>

>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set runtimepath+=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after
call mkdir($XDG_CACHE_HOME . "/vim/swap", "p")
call mkdir($XDG_CACHE_HOME . "/vim/backup", "p")
call mkdir($XDG_CACHE_HOME . "/vim/undo", "p")
set viminfofile=$XDG_CACHE_HOME/vim/viminfo
set directory=$XDG_CACHE_HOME/vim/swap//
set backupdir=$XDG_CACHE_HOME/vim/backup//
set undodir=$XDG_CACHE_HOME/vim/undo//

source $VIMRUNTIME/vimrc_example.vim

set t_Co=256
set background=dark
let g:inkpot_black_background=1
colorscheme inkpot