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
|
|
@ -8,6 +8,12 @@
|
|||
{ name = "path"; }
|
||||
{ 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