feat: auto save and fix cmp keymap

This commit is contained in:
xinyangli 2024-09-02 11:29:17 +08:00
parent 4138a017a3
commit 7e0140a6a9
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
2 changed files with 43 additions and 12 deletions

View file

@ -47,6 +47,8 @@
signcolumn = "yes";
# Search case sensitivity.
ic = true;
# For dragging windows
mouse = "a";
};
# Clipboard.
@ -54,5 +56,12 @@
register = "unnamedplus";
providers.xclip.enable = true;
};
autoCmd = [
{
event = "InsertLeave";
pattern = "*";
command = "silent! update";
}
];
};
}