nixvim(cmp): configure keymaps the way i like them
This commit is contained in:
parent
8b9a12e428
commit
ed932da1f6
2 changed files with 7 additions and 1 deletions
2
flake.lock
generated
2
flake.lock
generated
|
|
@ -315,7 +315,7 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-1L5aXNQndyNRWsIE5GzvmHNKT7UWX4BRSPitnvuUdp0=",
|
"narHash": "sha256-qIze//rcbqR1WxlONQNikWyyizNP1XzVATZOP2lJjIc=",
|
||||||
"path": "./nixvim",
|
"path": "./nixvim",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,12 @@
|
||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mapping = {
|
||||||
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item({'i', 's'}))";
|
||||||
|
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item({'i', 's'}))";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue