add linode:ash

nix-components
pegasust 2022-11-22 06:21:46 +00:00
parent 2e84c4eb04
commit 9cd17eea5f
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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