mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-21 08:51:35 +00:00
fix(config): vim plugged config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,3 +36,4 @@ ssh/local.d/*
|
|||||||
config/fish/fish_variables
|
config/fish/fish_variables
|
||||||
**/exports-secret.fish
|
**/exports-secret.fish
|
||||||
config/fish/completions/asdf.fish
|
config/fish/completions/asdf.fish
|
||||||
|
config/vim/.netrwhist
|
||||||
|
|||||||
@@ -7,12 +7,10 @@ set viminfo+=n$XDG_CACHE_HOME/vim/viminfo
|
|||||||
set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIM,$VIMRUNTIME
|
set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIM,$VIMRUNTIME
|
||||||
let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
|
let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
|
||||||
|
|
||||||
set v=$XDG_CONFIG_HOME/vim
|
|
||||||
|
|
||||||
"*****************************************************************************
|
"*****************************************************************************
|
||||||
"" Vim-Plug core
|
"" Vim-Plug core
|
||||||
"*****************************************************************************
|
"*****************************************************************************
|
||||||
let vimplug_exists=expand(v . '/autoload/plug.vim')
|
let vimplug_exists=expand('$HOME/.config/autoload/plug.vim')
|
||||||
if has('win32')&&!has('win64')
|
if has('win32')&&!has('win64')
|
||||||
let curl_exists=expand('C:\Windows\Sysnative\curl.exe')
|
let curl_exists=expand('C:\Windows\Sysnative\curl.exe')
|
||||||
else
|
else
|
||||||
@@ -38,7 +36,7 @@ if !filereadable(vimplug_exists)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Required:
|
" Required:
|
||||||
call plug#begin(expand(v . '/plugged'))
|
call plug#begin(expand('$HOME/.config/vim/plugged'))
|
||||||
|
|
||||||
"*****************************************************************************
|
"*****************************************************************************
|
||||||
"" Plug install packages
|
"" Plug install packages
|
||||||
@@ -246,7 +244,7 @@ endif
|
|||||||
"" Disable the blinking cursor.
|
"" Disable the blinking cursor.
|
||||||
set gcr=a:blinkon0
|
set gcr=a:blinkon0
|
||||||
|
|
||||||
set scrolloff=3
|
set scrolloff=10
|
||||||
|
|
||||||
|
|
||||||
"" Status bar
|
"" Status bar
|
||||||
|
|||||||
Reference in New Issue
Block a user