AutoYADM commit: 2024-12-13 19:00:01

This commit is contained in:
Daniel Fichtinger 2024-12-13 19:00:01 -05:00
parent b0af8aa733
commit 22d2759c38
4 changed files with 12 additions and 11 deletions

View file

@ -1,7 +1,6 @@
# disable_terminal_key_bindings yes # disable_terminal_key_bindings yes
# BEGIN_KITTY_FONTS # BEGIN_KITTY_FONTS
# TODO: figure out how to make this conditional? # TODO: figure out how to make this conditional?
max_fps = 120
font_family family='SauceCodePro Nerd Font Mono' postscript_name=SauceCodeProNFM font_family family='SauceCodePro Nerd Font Mono' postscript_name=SauceCodeProNFM
bold_font auto bold_font auto
italic_font auto italic_font auto

View file

@ -7,15 +7,14 @@ local map = vim.keymap.set
-- required to remap special sequence -- required to remap special sequence
-- when inside tmux :) -- when inside tmux :)
require("tmux-remap").setup({ -- require("tmux-remap").setup({
special = "", -- special = "←",
remap = "<C-Cr>", -- remap = "<C-Cr>",
autoset = true, -- autoset = true,
}) -- })
map({ "n" }, "<C-Cr>", function() local special_key = ""
vim.notify("Special!") vim.keymap.set({ "n", "i" }, special_key, "<C-CR>", { remap = true })
end)
vim.keymap.set({ "i", "n" }, "<C-t>", "<Nop>") vim.keymap.set({ "i", "n" }, "<C-t>", "<Nop>")

View file

@ -12,6 +12,9 @@ return {
nerd_font_variant = "mono", nerd_font_variant = "mono",
}, },
completion = { completion = {
list = {
selection = "manual",
},
accept = { accept = {
-- experimental auto-brackets support -- experimental auto-brackets support
auto_brackets = { auto_brackets = {
@ -40,7 +43,7 @@ return {
keymap = { keymap = {
preset = "default", preset = "default",
["<CR>"] = {}, ["<CR>"] = { "accept", "fallback" },
["<Tab>"] = { "fallback" }, ["<Tab>"] = { "fallback" },
["<C-CR>"] = { "select_and_accept", "fallback" }, ["<C-CR>"] = { "select_and_accept", "fallback" },
-- ["<C-l>"] = { "select_prev", "fallback" }, -- ["<C-l>"] = { "select_prev", "fallback" },

View file

@ -5,7 +5,7 @@ local M = {}
M.config = { M.config = {
special = "", special = "",
remap = "<C-Cr>", remap = "<C-CR>",
autoset = true, autoset = true,
} }