Compare commits

...

5 Commits

Author SHA1 Message Date
andrzej b34e0fbc1a misc 2024-06-25 22:15:52 +02:00
andrzej 27a5af493a minecraft ssh 2024-06-25 22:15:39 +02:00
andrzej 0b796a146c super comma 2024-06-25 22:15:31 +02:00
andrzej f2432d6989 make jsx commentable 2024-06-25 22:11:59 +02:00
andrzej 36389b433b smaller tabstop 2024-06-25 22:11:41 +02:00
7 changed files with 23 additions and 4 deletions

2
bgs

@ -1 +1 @@
Subproject commit cd1971abc93ce4f3c6fe42da7fccbbbe6b44d6d2
Subproject commit 6f26892e699d04f1a072af50300543fae28d3e77

View File

@ -38,6 +38,7 @@
"nvim-treesitter-context": { "branch": "master", "commit": "2650e6431f7daba5d9c2c64134fa5eb2312eb3d7" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
"oil.nvim": { "branch": "master", "commit": "f630887cd845a7341bc16488fe8aaecffe3aaa8a" },
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },
@ -50,6 +51,7 @@
"telescope-zoxide": { "branch": "main", "commit": "68966349aa1b8e9ade403e18479ecf79447389a7" },
"telescope.nvim": { "branch": "0.1.x", "commit": "7011eaae0ac1afe036e30c95cf80200b8dc3f21a" },
"trouble.nvim": { "branch": "main", "commit": "b9cf677f20bb2faa2dacfa870b084e568dca9572" },
"ts-error-translator.nvim": { "branch": "main", "commit": "11ae55b28bde02663b5f983f59b0e3fd9c4e845b" },
"twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
"vim-pencil": { "branch": "master", "commit": "6d70438a8886eaf933c38a7a43a61adb0a7815ed" },
"vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },

View File

@ -41,7 +41,7 @@ vim.keymap.set({ "i", "n" }, "<M-->", "<cmd>b#<cr>", { desc = "Previous buffer."
--SUPER COMMA
-- go to next comma and press enter
vim.keymap.set("n", "<C-,>", "f,a<cr><esc>")
vim.keymap.set("n", "<M-,>", "f,a<cr><esc>")
-- add a comma at end of line and CR
vim.keymap.set("i", "<M-,>", "<esc>A,<cr>")

View File

@ -52,3 +52,5 @@ vim.opt.spell = true
vim.opt.textwidth = 0 --prevent vim from inserting linebreaks
vim.opt.linebreak = true
vim.opt.wrap = true
vim.opt.tabstop = 2

View File

@ -1,2 +1,13 @@
--this plugin allows commenting selections
return { "numToStr/Comment.nvim", opts = {} }
return {
"numToStr/Comment.nvim",
dependencies = { "JoosepAlviste/nvim-ts-context-commentstring" },
config = function()
require("ts_context_commentstring").setup({
enable_autocmd = false,
})
require("Comment").setup({
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
})
end,
}

View File

@ -14,3 +14,7 @@ Host gitea
Hostname 192.168.0.184
User root
Host minecraft
Hostname 192.168.0.206
User root

View File

@ -1 +1 @@
LAST_EPOCH=19884
LAST_EPOCH=19898