configs  Check-in [ee8d8f37b0]

Overview
Comment:vimrc: Restore compatibility with Vim 7
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ee8d8f37b0af529eb51732e5c8448f5aa6a6b9d6db662eeae1c5577f7e6cbaff
User & Date: js 2022-12-22 00:35:59
Context
2022-12-22
02:25
zshrc: Don't assume sysctl is in PATH check-in: eea6758068 user: js tags: trunk
00:35
vimrc: Restore compatibility with Vim 7 check-in: ee8d8f37b0 user: js tags: trunk
2022-12-10
19:06
sway: Change bar transparency check-in: efacb3d49a 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
18
19
20
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




>
|
|
|
|
|
|
|
>

>
|
>
>
>







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
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after
exe 'set runtimepath=$XDG_CONFIG_HOME/vim,' . &runtimepath .
\   ',$XDG_CONFIG_HOME/vim/after'
if v:version >= 800
	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//
endif

if v:version >= 800
	source $VIMRUNTIME/defaults.vim
else
	source $VIMRUNTIME/vimrc_example.vim
endif
set backup
set undofile
set hlsearch

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