add linode:ash
parent
2e84c4eb04
commit
9cd17eea5f
|
@ -10,16 +10,16 @@
|
||||||
-- - zk @ https://github.com/mickael-menu/zk
|
-- - zk @ https://github.com/mickael-menu/zk
|
||||||
-- - prettierd @ npm install -g @fsouza/prettierd
|
-- - prettierd @ npm install -g @fsouza/prettierd
|
||||||
|
|
||||||
-- vim-plug
|
|
||||||
local data_dir = vim.fn.stdpath('data')
|
local data_dir = vim.fn.stdpath('data')
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
|
||||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||||
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
endif
|
endif
|
||||||
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
]])
|
]])
|
||||||
|
--
|
||||||
|
-- vim-plug
|
||||||
local Plug = vim.fn['plug#']
|
local Plug = vim.fn['plug#']
|
||||||
|
|
||||||
-- TODO: Change this to relative datadir
|
-- TODO: Change this to relative datadir
|
||||||
|
@ -87,7 +87,7 @@ Plug('mickael-menu/zk-nvim') -- Zettelkasten
|
||||||
---------
|
---------
|
||||||
vim.call('plug#end')
|
vim.call('plug#end')
|
||||||
|
|
||||||
if vim.v.vim_did_enter then
|
|
||||||
|
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
set number relativenumber
|
set number relativenumber
|
||||||
|
@ -889,4 +889,4 @@ vim.cmd([[
|
||||||
let g:conjure#mapping#doc_word = v:false
|
let g:conjure#mapping#doc_word = v:false
|
||||||
]])
|
]])
|
||||||
|
|
||||||
end
|
|
||||||
|
|
|
@ -43,8 +43,8 @@ Host lizzi
|
||||||
User hungtr
|
User hungtr
|
||||||
Port 22
|
Port 22
|
||||||
|
|
||||||
Host lizzi
|
Host ash
|
||||||
HostName 172.105.135.218
|
HostName 192.155.95.41
|
||||||
User hungtr
|
User hungtr
|
||||||
Port 22
|
Port 22
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue