Files
dotfiles/nvim/snippets/all.lua
FaultyBranches e751cee778 feat: Removing the old web-devicons from lualine, disabling the snippet
style auto-pair attempt (will continue on other branches), disabling
passthrough in tmux as it is not seemingly necessary for clipboard usage
(remote testing needed), disabling the old mouse cursor fix for X
systems.

Adding the wezterm shortcuts for actually using the Clipboard for
pasting using the usual ctrl+shift+v combo.
2026-07-30 05:41:44 -05:00

38 lines
955 B
Lua

-- require('luasnip.session.snippet_collection').clear_snippets('all')
-- local ls = require('luasnip')
-- local s = ls.snippet
-- local sn = ls.snippet_node
-- local i = ls.insert_node
-- local t = ls.text_node
-- local c = ls.choice_node
-- local r = ls.restore_node
--
-- -- Replacement of autopairs
-- local function pair(pair_begin, pair_end)
-- -- Auto-pair using snippets
-- return s({ trig = pair_begin, wordTrig = false }, {
-- t({ pair_begin }),
-- c(1, {
-- r(1, "content", i(1)),
-- sn(nil, { t({"", "\t"}), r(1, "content", i(1)), t({ "", "" }) }),
-- }),
-- t({ pair_end }),
-- })
-- end
--
-- ls.add_snippets('all', {
-- pair('(', ')'),
-- pair('{', '}'),
-- pair('[', ']'),
-- pair('<', '>'),
-- pair("'", "'"),
-- pair('"', '"'),
-- pair('`', '`'),
-- }, {
-- -- type = 'autosnippets',
-- -- key = 'all_auto',
-- })
-- end autopairs