summaryrefslogtreecommitdiff
path: root/nvim/lua/tjk/plugins/cmp.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
commit78d5e2082554d370f43216406f84872eaa2a4e5b (patch)
treefc354e842111062c057484cbb319e02037404975 /nvim/lua/tjk/plugins/cmp.lua
parent75793a911de3648963385c70237fc737f1967e9d (diff)
downloaddotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.tar.xz
dotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.zip
remove zsh and nvim configs from this repo and move to another
Diffstat (limited to 'nvim/lua/tjk/plugins/cmp.lua')
-rw-r--r--nvim/lua/tjk/plugins/cmp.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/nvim/lua/tjk/plugins/cmp.lua b/nvim/lua/tjk/plugins/cmp.lua
deleted file mode 100644
index 1a3cf2f..0000000
--- a/nvim/lua/tjk/plugins/cmp.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-return {
- "hrsh7th/nvim-cmp",
- dependencies = {
- "hrsh7th/cmp-path",
- "hrsh7th/cmp-buffer",
- "ray-x/cmp-treesitter",
- },
- config = function()
- local cmp = require("cmp")
- cmp.setup {
- sources = {
- { name = "path" },
- { name = "buffer" },
- { name = "treesitter" },
- },
- mapping = cmp.mapping.preset.insert {
- --['<C-b>'] = cmp.mapping.scroll_docs(-4),
- --['<C-f>'] = cmp.mapping.scroll_docs(4),
- --['<C-Space>'] = cmp.mapping.complete(),
- --['<C-e>'] = cmp.mapping.abort(),
- --['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
- ['<Tab>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
- },
- }
- end
-}