configs  Check-in [8483441fc2]

Overview
Comment:vimrc: Fix runtimepath order
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8483441fc29a47d0ff1f0291f21570cbc55e99a457c61f9cc0cc9993dcf84694
User & Date: js 2020-02-27 20:52:44
Context
2020-02-27
20:57
Partially import github.com/keith/swift.vim check-in: 00ec87204a user: js tags: trunk
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
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vim/vimrc.




1
2
3
4
5
6
7
8
9
10



11
12
13
14
15
16
17



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

set cinoptions=+4,(4,u4,w4
>
>
>
|








|
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after
exe 'set runtimepath=$XDG_CONFIG_HOME/vim,' . &runtimepath .
\   ',$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/defaults.vim
set backup
set undofile
set hlsearch

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

set cinoptions=+4,(4,u4,w4