fix clipboard fuck yes
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
{
|
||||
programs.nixvim.keymaps = [
|
||||
# clipboard - OSC52 yank and paste
|
||||
{
|
||||
mode = ["n" "v"];
|
||||
key = "y";
|
||||
action = ''"+y'';
|
||||
options.desc = "Yank to system clipboard (OSC52)";
|
||||
}
|
||||
{
|
||||
mode = ["n" "v"];
|
||||
key = "p";
|
||||
action = ''"+p'';
|
||||
options.desc = "Paste from system clipboard (OSC52)";
|
||||
}
|
||||
{
|
||||
mode = ["n" "v"];
|
||||
key = "P";
|
||||
action = ''"+P'';
|
||||
options.desc = "Paste before from system clipboard (OSC52)";
|
||||
}
|
||||
# e - explore/edit
|
||||
{
|
||||
mode = "n";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
programs.nixvim = {
|
||||
globals = {
|
||||
clipboard = "osc52";
|
||||
};
|
||||
opts = {
|
||||
expandtab = true;
|
||||
|
||||
Reference in New Issue
Block a user