AutoYADM commit: 2024-12-13 19:00:01
This commit is contained in:
parent
b0af8aa733
commit
22d2759c38
4 changed files with 12 additions and 11 deletions
|
@ -1,7 +1,6 @@
|
|||
# disable_terminal_key_bindings yes
|
||||
# BEGIN_KITTY_FONTS
|
||||
# TODO: figure out how to make this conditional?
|
||||
max_fps = 120
|
||||
font_family family='SauceCodePro Nerd Font Mono' postscript_name=SauceCodeProNFM
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
|
|
|
@ -7,15 +7,14 @@ local map = vim.keymap.set
|
|||
|
||||
-- required to remap special sequence
|
||||
-- when inside tmux :)
|
||||
require("tmux-remap").setup({
|
||||
special = "←",
|
||||
remap = "<C-Cr>",
|
||||
autoset = true,
|
||||
})
|
||||
-- require("tmux-remap").setup({
|
||||
-- special = "←",
|
||||
-- remap = "<C-Cr>",
|
||||
-- autoset = true,
|
||||
-- })
|
||||
|
||||
map({ "n" }, "<C-Cr>", function()
|
||||
vim.notify("Special!")
|
||||
end)
|
||||
local special_key = "←"
|
||||
vim.keymap.set({ "n", "i" }, special_key, "<C-CR>", { remap = true })
|
||||
|
||||
vim.keymap.set({ "i", "n" }, "<C-t>", "<Nop>")
|
||||
|
||||
|
|
|
@ -12,6 +12,9 @@ return {
|
|||
nerd_font_variant = "mono",
|
||||
},
|
||||
completion = {
|
||||
list = {
|
||||
selection = "manual",
|
||||
},
|
||||
accept = {
|
||||
-- experimental auto-brackets support
|
||||
auto_brackets = {
|
||||
|
@ -40,7 +43,7 @@ return {
|
|||
|
||||
keymap = {
|
||||
preset = "default",
|
||||
["<CR>"] = {},
|
||||
["<CR>"] = { "accept", "fallback" },
|
||||
["<Tab>"] = { "fallback" },
|
||||
["<C-CR>"] = { "select_and_accept", "fallback" },
|
||||
-- ["<C-l>"] = { "select_prev", "fallback" },
|
||||
|
|
|
@ -5,7 +5,7 @@ local M = {}
|
|||
|
||||
M.config = {
|
||||
special = "←",
|
||||
remap = "<C-Cr>",
|
||||
remap = "<C-CR>",
|
||||
autoset = true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue