Browse Source

update plugins, slightly modify some settings, append archlinux defaults to my config

master
Von Random 3 years ago
parent
commit
94a9fee96f
  1. 2
      .gitmodules
  2. 2
      opt/ale
  3. 2
      opt/jedi-vim
  4. 24
      start/0/plugin/archlinux.vim
  5. 1
      start/0/plugin/color.vim
  6. 3
      start/0/plugin/gui.vim
  7. 2
      start/vim-easy-align
  8. 2
      start/vim-polyglot
  9. 2
      start/vim-rsi
  10. 2
      start/vim-signify

2
.gitmodules vendored

@ -15,7 +15,7 @@
url = https://github.com/mhinz/vim-signify.git
[submodule "vim-tru-typewriter"]
path = start/vim-tru-typewriter
url = https://git.vdrandom.org/vim-tru-typewriter
url = https://mechanus.net/von/vim-tru-typewriter/
[submodule "ale"]
path = opt/ale
url = https://github.com/w0rp/ale.git

2
opt/ale

@ -1 +1 @@
Subproject commit 1d4f98553852499e0f8ebd951db6ada2b1d973e3
Subproject commit 80ab12c7b645b392feb98723873d77b045a0a7e2

2
opt/jedi-vim

@ -1 +1 @@
Subproject commit 48af2afd3ef06a61242d5c08a6357879ea639c36
Subproject commit b9f83175951654256cff41737841b4abc0c9266d

24
start/0/plugin/archlinux.vim

@ -0,0 +1,24 @@
set suffixes+=.aux,.bbl,.blg,.brf,.cb,.dvi,.idx,.ilg,.ind,.inx,.jpg,.log,.out,.png,.toc
set suffixes-=.h
set suffixes-=.obj
" Move temporary files to a secure location to protect against CVE-2017-1000382
if exists('$XDG_CACHE_HOME')
let &g:directory=$XDG_CACHE_HOME
else
let &g:directory=$HOME . '/.cache'
endif
let &g:undodir=&g:directory . '/vim/undo//'
let &g:backupdir=&g:directory . '/vim/backup//'
let &g:directory.='/vim/swap//'
" Create directories if they doesn't exist
if ! isdirectory(expand(&g:directory))
silent! call mkdir(expand(&g:directory), 'p', 0700)
endif
if ! isdirectory(expand(&g:backupdir))
silent! call mkdir(expand(&g:backupdir), 'p', 0700)
endif
if ! isdirectory(expand(&g:undodir))
silent! call mkdir(expand(&g:undodir), 'p', 0700)
endif

1
start/0/plugin/color.vim

@ -1,4 +1,5 @@
if $TERM !~ '^linux'
set bg=light
colorscheme solarized16
endif

3
start/0/plugin/gui.vim

@ -2,4 +2,7 @@ if has('gui_running')
set guifont=Fantasque\ Sans\ Mono\ 11
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
set guiheadroom=0 guioptions=aeim mouse=a
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
endif

2
start/vim-easy-align

@ -1 +1 @@
Subproject commit 1cd724dc239c3a0f7a12e0fac85945cc3dbe07b0
Subproject commit 12dd6316974f71ce333e360c0260b4e1f81169c3

2
start/vim-polyglot

@ -1 +1 @@
Subproject commit c161994e9607399a7b365ab274592bfc4f100306
Subproject commit d52700284984ada048ce325404dfa25237271ba1

2
start/vim-rsi

@ -1 +1 @@
Subproject commit 24dfc44639166f910ef9e3ca3902e02df77a342a
Subproject commit 8b7abe2d470b7fffac6562818468e14594735564

2
start/vim-signify

@ -1 +1 @@
Subproject commit 14f7fda00013a11213c767f82f5f03a2e735ba06
Subproject commit ac23bd95d5fe0c7a7bf4a331e9d37eb72697c46e
Loading…
Cancel
Save