Skip to content

Commit 5bf4213

Browse files
committedJan 9, 2025··
update
Signed-off-by: Kirill Mokevnin <mokevnin@gmail.com>
1 parent 1527e4f commit 5bf4213

File tree

8 files changed

+120
-90
lines changed

8 files changed

+120
-90
lines changed
 

‎nvim/lazy-lock.json

+39-25
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,66 @@
11
{
2-
"LazyVim": { "branch": "main", "commit": "d0c366e4d861b848bdc710696d5311dca2c6d540" },
3-
"auto-save.nvim": { "branch": "main", "commit": "b58948445c43e6903987a9bb97c82e66fdcc0786" },
4-
"blink.cmp": { "branch": "main", "commit": "5f442681df24fe705d1ee7ce5b4d435aa4b4dee4" },
2+
"LazyVim": { "branch": "main", "commit": "d1529f650fdd89cb620258bdeca5ed7b558420c7" },
3+
"SchemaStore.nvim": { "branch": "main", "commit": "7de878c943c130ff0378bf0e9b67cee8bb53731b" },
4+
"auto-save.nvim": { "branch": "main", "commit": "29f793a3a7f98129387590269ffe3ad61ab5e509" },
5+
"blink.cmp": { "branch": "main", "commit": "1cc3b1a908fbcfd15451c4772759549724f38524" },
56
"bufferline.nvim": { "branch": "main", "commit": "9f0826ae6adfd836a23bf8a4910e3c07450211f4" },
67
"catppuccin": { "branch": "main", "commit": "f67b886d65a029f12ffa298701fb8f1efd89295d" },
7-
"conform.nvim": { "branch": "master", "commit": "9180320205d250429f0f80e073326c674e2a7149" },
8-
"ctrlsf.vim": { "branch": "master", "commit": "32236a8b376d9311dec9b5fe795ca99d32060b13" },
8+
"conform.nvim": { "branch": "master", "commit": "70019124aa4f2e6838be9fbd2007f6d13b27a96d" },
99
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" },
1010
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
11-
"fzf-lua": { "branch": "main", "commit": "c054a21cd22cef41c62ce96247040abccaab8dbc" },
12-
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
13-
"gp.nvim": { "branch": "main", "commit": "2372d5323c6feaa2e9c19f7ccb537c615d878e18" },
14-
"grug-far.nvim": { "branch": "main", "commit": "c88435b825a35bfa468b47159709b3221976ecd1" },
15-
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
11+
"fzf-lua": { "branch": "main", "commit": "af6ecbd7f421e7894127a9e94b40e13172fbfb13" },
12+
"gitsigns.nvim": { "branch": "main", "commit": "68114837e81ca16d06514c3a997c9102d1b25c15" },
13+
"grug-far.nvim": { "branch": "main", "commit": "08f32182335754abf461dfb77b2c4e24bfe4d614" },
14+
"inc-rename.nvim": { "branch": "main", "commit": "4d00cd5029e99f176128bc37ef245e2dd348191d" },
15+
"lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" },
1616
"lazydev.nvim": { "branch": "main", "commit": "8620f82ee3f59ff2187647167b6b47387a13a018" },
1717
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
18-
"mason-lspconfig.nvim": { "branch": "main", "commit": "c6c686781f9841d855bf1b926e10aa5e19430a38" },
18+
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
19+
"mason-lspconfig.nvim": { "branch": "main", "commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7" },
20+
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
1921
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
2022
"mini.ai": { "branch": "main", "commit": "ebb04799794a7f94628153991e6334c3304961b8" },
2123
"mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" },
22-
"mini.icons": { "branch": "main", "commit": "6787321f70d674a481776b7cc2c781fb7002c644" },
24+
"mini.icons": { "branch": "main", "commit": "1c79feb7478ca773fa3dac5cadf43ced9180e861" },
2325
"mini.pairs": { "branch": "main", "commit": "7e834c5937d95364cc1740e20d673afe2d034cdb" },
24-
"mini.surround": { "branch": "main", "commit": "aa5e245829dd12d8ff0c96ef11da28681d6049aa" },
25-
"neo-tree.nvim": { "branch": "main", "commit": "2a0b2c5d394a280cee9444c9894582ac53098604" },
26+
"neo-tree.nvim": { "branch": "main", "commit": "e6645ecfcba3e064446a6def1c10d788c9873f51" },
2627
"noice.nvim": { "branch": "main", "commit": "eaed6cc9c06aa2013b5255349e4f26a6b17ab70f" },
2728
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
28-
"nvim-asciidoc-preview": { "branch": "main", "commit": "3ae4598a68bc966160a695cec127ee5cc06add02" },
29-
"nvim-lint": { "branch": "master", "commit": "1fea92f1d9908eaa5eb8bafe08b4293d7aadaa55" },
30-
"nvim-lspconfig": { "branch": "master", "commit": "8b15a1a597a59f4f5306fad9adfe99454feab743" },
29+
"nvim-ansible": { "branch": "main", "commit": "44dabdaa8a9193b7f564a8408ed6d7107705030a" },
30+
"nvim-asciidoc-preview": { "branch": "main", "commit": "c6a5d952b8151c49da94328e55305c30ae078acf" },
31+
"nvim-dap": { "branch": "master", "commit": "99807078c5089ed30e0547aa4b52c5867933f426" },
32+
"nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" },
33+
"nvim-dap-ruby": { "branch": "main", "commit": "4176405d186a93ebec38a6344df124b1689cfcfd" },
34+
"nvim-dap-ui": { "branch": "master", "commit": "727c032a8f63899baccb42a1c26f27687e62fc5e" },
35+
"nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" },
36+
"nvim-jdtls": { "branch": "master", "commit": "baae618ccc7b6045f7d9453ea0566d1333100740" },
37+
"nvim-lint": { "branch": "master", "commit": "dfa45de973c3ce7bd1b9a6d346f896a68ad07e44" },
38+
"nvim-lspconfig": { "branch": "master", "commit": "88157521e890fe7fdf18bee22438875edd6300a6" },
39+
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
3140
"nvim-surround": { "branch": "main", "commit": "9f0cb495f25bff32c936062d85046fbda0c43517" },
32-
"nvim-treesitter": { "branch": "master", "commit": "5f78e989243f9fb0fb55e0cf54820920d86dfd30" },
41+
"nvim-treesitter": { "branch": "master", "commit": "6df6e80417b58abe377c90f5e3f7fe94cf7dfc55" },
42+
"nvim-treesitter-context": { "branch": "master", "commit": "d0dd7ce5a9d0be1f28086e818e52fdc5c78975df" },
3343
"nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
3444
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
3545
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" },
46+
"other.nvim": { "branch": "main", "commit": "933aa489ad02f8f973269a565bfea16cc784cbbf" },
3647
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
3748
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
3849
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
39-
"snacks.nvim": { "branch": "main", "commit": "d312053f78b4fb55523def179ac502438dd93193" },
50+
"refactoring.nvim": { "branch": "master", "commit": "2db6d378e873de31d18ade549c2edba64ff1c2e3" },
51+
"render-markdown.nvim": { "branch": "main", "commit": "cfe57468a4ab44b745eddfbe90b63b9777ba7223" },
52+
"snacks.nvim": { "branch": "main", "commit": "14e89401da348f5d14509fca164fb7bcec83e597" },
4053
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
41-
"tokyonight.nvim": { "branch": "main", "commit": "45d22cf0e1b93476d3b6d362d720412b3d34465c" },
42-
"treesj": { "branch": "main", "commit": "94f6df623f2d15630b1b617abff39962024cb501" },
54+
"tokyonight.nvim": { "branch": "main", "commit": "7bb270adaa7692c2c33befc35f5567fc596a2504" },
55+
"treesj": { "branch": "main", "commit": "ec234a9a13d61a7b95900abdb02fabaea1afd9f3" },
4356
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
4457
"ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" },
4558
"vim-caddyfile": { "branch": "master", "commit": "24fe0720551883e407cb70ae1d7c03f162d1d5a0" },
4659
"vim-dadbod": { "branch": "master", "commit": "f740950d0703099e0f172016f10e0e39f50fd0ba" },
47-
"vim-dadbod-completion": { "branch": "master", "commit": "71eb73d1f7399be6a56cc43b928276cd5ca27ffd" },
48-
"vim-dadbod-ui": { "branch": "master", "commit": "0fec59e3e1e619e302198cd491b7d27f8d398b7c" },
60+
"vim-dadbod-completion": { "branch": "master", "commit": "95cbcf21ea7a5c8c025f387280c2e261b8cb3a89" },
61+
"vim-dadbod-ui": { "branch": "master", "commit": "65454e2011c029922c2c972d63f8bf04282de033" },
4962
"vim-table-mode": { "branch": "master", "commit": "e4365bde024f73e205eefa2fb78e3029ddb92ea9" },
50-
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" },
51-
"window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" }
63+
"which-key.nvim": { "branch": "main", "commit": "1f8d414f61e0b05958c342df9b6a4c89ce268766" },
64+
"window-picker": { "branch": "main", "commit": "c959032b63f61c1d3cf747e5f67114a05efddee2" },
65+
"yanky.nvim": { "branch": "main", "commit": "f9b905994cccf3c55f41af3a0a1f4c76c844e411" }
5266
}

‎nvim/lazyvim.json

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
{
22
"extras": [
3-
"lazyvim.plugins.extras.coding.mini-surround",
3+
"lazyvim.plugins.extras.coding.yanky",
4+
"lazyvim.plugins.extras.dap.core",
5+
"lazyvim.plugins.extras.editor.inc-rename",
6+
"lazyvim.plugins.extras.editor.refactoring",
47
"lazyvim.plugins.extras.formatting.biome",
8+
"lazyvim.plugins.extras.lang.ansible",
9+
"lazyvim.plugins.extras.lang.docker",
10+
"lazyvim.plugins.extras.lang.git",
11+
"lazyvim.plugins.extras.lang.java",
12+
"lazyvim.plugins.extras.lang.json",
13+
"lazyvim.plugins.extras.lang.markdown",
14+
"lazyvim.plugins.extras.lang.php",
15+
"lazyvim.plugins.extras.lang.python",
516
"lazyvim.plugins.extras.lang.ruby",
617
"lazyvim.plugins.extras.lang.sql",
7-
"lazyvim.plugins.extras.lang.tailwind",
18+
"lazyvim.plugins.extras.lang.terraform",
819
"lazyvim.plugins.extras.lang.toml",
20+
"lazyvim.plugins.extras.lang.typescript",
21+
"lazyvim.plugins.extras.lang.yaml",
22+
"lazyvim.plugins.extras.ui.treesitter-context",
923
"lazyvim.plugins.extras.util.dot",
1024
"lazyvim.plugins.extras.util.mini-hipatterns",
1125
"lazyvim.plugins.extras.util.project"

‎nvim/lua/config/autocmds.lua

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
-- https://www.reddit.com/r/neovim/comments/13zd9sc/is_there_a_way_to_configure_indentation_per/
66
-- https://www.reddit.com/r/neovim/comments/vu1y6e/correct_way_to_set_language_specific_settings_in/
7-
vim.cmd([[
8-
augroup myfiletypes
9-
autocmd!
10-
" autocmd FileType ruby,lua,eruby,yaml,javascript,typescript,html,css set ai sw=2 sts=2 et
11-
" autocmd FileType java,kotlin,xml,php set ai sw=4 sts=4 et
12-
" autocmd FileType asciidoc setlocal wrap
13-
augroup END
14-
]])
7+
-- vim.cmd([[
8+
-- augroup myfiletypes
9+
-- autocmd!
10+
-- " autocmd FileType ruby,lua,eruby,yaml,javascript,typescript,html,css set ai sw=2 sts=2 et
11+
-- " autocmd FileType java,kotlin,xml,php set ai sw=4 sts=4 et
12+
-- " autocmd FileType asciidoc setlocal wrap
13+
-- augroup END
14+
-- ]])

‎nvim/lua/config/keymaps.lua

+17-17
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
33
-- Add any additional keymaps here
44

5-
local bind = vim.keymap.set
6-
local opts = { silent = true, noremap = true }
7-
8-
-- for russian layout
9-
bind("i", "<c-х>", "<C-[>", opts)
10-
bind("n", "л", "gk", opts)
11-
bind("n", "о", "gj", opts)
12-
bind("i", "<C-г>", "<C-G>u<C-U>", opts)
13-
bind("i", "<C-ц>", "<C-G>u<C-W>", opts)
14-
15-
bind("n", "[c", function()
16-
require("treesitter-context").go_to_context()
17-
end)
18-
5+
-- local bind = vim.keymap.set
6+
-- local opts = { silent = true, noremap = true }
7+
--
8+
-- -- for russian layout
9+
-- bind("i", "<c-х>", "<C-[>", opts)
10+
-- bind("n", "л", "gk", opts)
11+
-- bind("n", "о", "gj", opts)
12+
-- bind("i", "<C-г>", "<C-G>u<C-U>", opts)
13+
-- bind("i", "<C-ц>", "<C-G>u<C-W>", opts)
14+
--
15+
-- bind("n", "[c", function()
16+
-- require("treesitter-context").go_to_context()
17+
-- end)
18+
--
1919
vim.keymap.set("n", "<leader>[", "<Cmd>call append(line('.') - 1, repeat([''], v:count1))<CR>")
2020
vim.keymap.set("n", "<leader>]", "<Cmd>call append(line('.'), repeat([''], v:count1))<CR>")
21-
22-
vim.keymap.set('n', '<leader>fj', ':Neotree reveal<CR>', {})
23-
vim.keymap.set('n', '<leader>fa', ':Telescope telescope-alternate alternate_file<CR>', {})
21+
--
22+
vim.keymap.set("n", "<leader>fj", ":Neotree reveal<CR>", {})
23+
-- vim.keymap.set('n', '<leader>fa', ':Telescope telescope-alternate alternate_file<CR>', {})

‎nvim/lua/config/options.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ vim.o.langmap =
66
"ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz"
77

88
vim.o.relativenumber = false
9-
vim.o.spell = false
10-
vim.o.spelllang = "ru_ru,en_us"
11-
vim.o.linebreak = true
129
vim.g.autoformat = false
10+
-- vim.o.spell = false
11+
-- vim.o.spelllang = "ru_ru,en_us"
12+
-- vim.o.linebreak = true
1313

14-
vim.g.root_spec = { "cwd" }
14+
-- vim.g.root_spec = { "cwd" }
1515

16-
vim.o.smartindent = false
16+
-- vim.o.smartindent = false
1717

1818
vim.g.snacks_animate = false

‎nvim/lua/plugins/other.lua

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
return {
2+
{
3+
"rgroli/other.nvim",
4+
event = "VeryLazy",
5+
config = function()
6+
require("other-nvim").setup({
7+
showMissingFiles = true,
8+
mappings = {
9+
"react",
10+
"rails",
11+
{
12+
pattern = "/app/controllers/(.*)_controller.rb",
13+
target = {
14+
{ context = "react", target = "/app/javascript/pages/%1/*.tsx" },
15+
},
16+
},
17+
},
18+
})
19+
end,
20+
},
21+
}

‎nvim/lua/plugins/others.lua

+14-25
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
return {
2+
{
3+
"echasnovski/mini.pairs",
4+
event = "VeryLazy",
5+
opts = {
6+
modes = { command = false },
7+
},
8+
},
29
-- {
310
-- "adalessa/laravel.nvim",
411
-- ft = { "php" },
@@ -12,12 +19,6 @@ return {
1219
ft = { "asciidoc" },
1320
opts = {},
1421
},
15-
{
16-
"echasnovski/mini.pairs",
17-
opts = {
18-
modes = { command = false }
19-
}
20-
},
2122
-- {
2223
-- "windwp/nvim-autopairs",
2324
-- event = "InsertEnter",
@@ -54,29 +55,17 @@ return {
5455
{ "dhruvasagar/vim-table-mode" },
5556
-- { "tree-sitter/tree-sitter-embedded-template" },
5657
{ "RRethy/nvim-treesitter-endwise" },
57-
{ "dyng/ctrlsf.vim" },
58+
-- { "dyng/ctrlsf.vim" },
5859
-- { "digitaltoad/vim-pug" },
5960
-- {
60-
-- {
61-
-- "kylechui/nvim-surround",
62-
-- version = "*", -- Use for stability; omit to use `main` branch for the latest features
63-
-- event = "VeryLazy",
64-
-- config = function()
65-
-- require("nvim-surround").setup({
66-
-- -- Configuration here, or leave empty to use defaults
67-
-- })
68-
-- end,
69-
-- },
70-
-- lazy.nvim
7161
{
72-
"robitx/gp.nvim",
62+
"kylechui/nvim-surround",
63+
version = "*", -- Use for stability; omit to use `main` branch for the latest features
64+
event = "VeryLazy",
7365
config = function()
74-
local conf = {
75-
-- For customization, refer to Install > Configuration in the Documentation/Readme
76-
}
77-
require("gp").setup(conf)
78-
79-
-- Setup shortcuts here (see Usage > Shortcuts in the Documentation/Readme)
66+
require("nvim-surround").setup({
67+
-- Configuration here, or leave empty to use defaults
68+
})
8069
end,
8170
},
8271
}

‎nvim/lua/plugins/snacks.lua

-8
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.