Этот коммит содержится в:
Ihar Hancharenka 2024-05-03 11:15:58 +03:00
родитель d1bbe8417f
Коммит 1d567a0f96
8 изменённых файлов: 52 добавлений и 50 удалений

Просмотреть файл

@ -13,6 +13,8 @@ ProtoHistoryWithNikolaySubbotin - Sklyarov - Anenerbe Materials Validity 13:00 o
!
! Sklyarov - Piramidy vystroeny ne v Egipte (eto dopotopnyhe sooruzheniya)
2023
ShadowsControl - Burovskiy - Occultism and Magy in Anenerbe 15:00 of 1:00:55
https://www.youtube.com/watch?v=RK5_dYh6o8g
Minaev - Ahnenerbe of 1:06:08
https://www.youtube.com/watch?v=_EJHaCO4Rc4
2022

Просмотреть файл

@ -0,0 +1 @@
Burovskiy Andrey Mihailovich

Просмотреть файл

@ -0,0 +1 @@
Sklyarov

50
os/editors/neovim/dist/nvchad/cfg/cfg.txt поставляемый
Просмотреть файл

@ -20,53 +20,3 @@ lua/
options.lua
~/.config/nvim/lua/custom/
https://github.com/search?q=language%3Alua+config.lua&type=repositories
samples
https://github.com/creativenull/dotfiles/blob/main/config/nvim/init.lua
https://github.com/creativenull/dotfiles/blob/main/config/nvim/init.lua#L70
last position restore
-- ---
-- When editing a file, always jump to the last known cursor position.
-- Don't do it when the position is invalid, when inside an event handler
-- (happens when dropping a file on gvim) and for a commit message (it's
-- likely a different one than last time).
vim.api.nvim_create_autocmd('BufReadPost', {
-- !!! -- group = vim.g.user.event,
callback = function(args)
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
local not_commit = vim.b[args.buf].filetype ~= 'commit'
if valid_line and not_commit then
vim.cmd([[normal! g`"]])
end
end,
})
at my rhino:
~/.config/nvim/lua/custom/init.lua
-- local autocmd = vim.api.nvim_create_autocmd
-- Auto resize panes when resizing nvim window
-- autocmd("VimResized", {
-- pattern = "*",
-- command = "tabdo wincmd =",
-- })
-- ---
-- When editing a file, always jump to the last known cursor position.
-- Don't do it when the position is invalid, when inside an event handler
-- (happens when dropping a file on gvim) and for a commit message (it's
-- likely a different one than last time).
vim.api.nvim_create_autocmd('BufReadPost', {
-- group = vim.g.user.event,
callback = function(args)
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
local not_commit = vim.b[args.buf].filetype ~= 'commit'
if valid_line and not_commit then
vim.cmd([[normal! g`"]])
end
end,
})

46
os/editors/neovim/dist/nvchad/cfg/last-pos-restore.txt поставляемый Обычный файл
Просмотреть файл

@ -0,0 +1,46 @@
https://github.com/creativenull/dotfiles/blob/main/config/nvim/init.lua
https://github.com/creativenull/dotfiles/blob/main/config/nvim/init.lua#L70
last position restore
-- ---
-- When editing a file, always jump to the last known cursor position.
-- Don't do it when the position is invalid, when inside an event handler
-- (happens when dropping a file on gvim) and for a commit message (it's
-- likely a different one than last time).
vim.api.nvim_create_autocmd('BufReadPost', {
-- !!! -- group = vim.g.user.event,
callback = function(args)
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
local not_commit = vim.b[args.buf].filetype ~= 'commit'
if valid_line and not_commit then
vim.cmd([[normal! g`"]])
end
end,
})
at my rhino:
~/.config/nvim/lua/custom/init.lua
-- local autocmd = vim.api.nvim_create_autocmd
-- Auto resize panes when resizing nvim window
-- autocmd("VimResized", {
-- pattern = "*",
-- command = "tabdo wincmd =",
-- })
-- ---
-- When editing a file, always jump to the last known cursor position.
-- Don't do it when the position is invalid, when inside an event handler
-- (happens when dropping a file on gvim) and for a commit message (it's
-- likely a different one than last time).
vim.api.nvim_create_autocmd('BufReadPost', {
-- group = vim.g.user.event,
callback = function(args)
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
local not_commit = vim.b[args.buf].filetype ~= 'commit'
if valid_line and not_commit then
vim.cmd([[normal! g`"]])
end
end,
})

Просмотреть файл

@ -1,3 +1,5 @@
https://github.com/search?q=language%3Alua+config.lua&type=repositories
https://docs.rockylinux.org/ru/books/nvchad/template_chadrc/
https://github.com/nightn/custom-NvChad/tree/main