mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-23 03:48:01 +00:00
[neovim] Remove ESC from exiting cmp autocompletion
This commit is contained in:
parent
6ec86fbfc9
commit
f8982f2b9b
@ -37,15 +37,15 @@ packer.init({
|
|||||||
|
|
||||||
return packer.startup(function(use)
|
return packer.startup(function(use)
|
||||||
-- Plugins
|
-- Plugins
|
||||||
use({ "wbthomason/packer.nvim", commit = "6afb67460283f0e990d35d229fd38fdc04063e0a" })
|
use({ "wbthomason/packer.nvim", commit = "dcd2f380bb49ec2dfe208f186236dd366434a4d5" })
|
||||||
use({ "nvim-lua/plenary.nvim", commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7" })
|
use({ "nvim-lua/plenary.nvim", commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7" })
|
||||||
use({ "windwp/nvim-autopairs", commit = "5d75276fce887c0cf433bb1b9867717907211063" })
|
use({ "windwp/nvim-autopairs", commit = "99f696339266c22e7313d6a85a95bd538c3fc226" })
|
||||||
use({ "numToStr/Comment.nvim", tag = "v0.*" })
|
use({ "numToStr/Comment.nvim", tag = "v0.*" })
|
||||||
use({ "JoosepAlviste/nvim-ts-context-commentstring", commit = "32d9627123321db65a4f158b72b757bcaef1a3f4" })
|
use({ "JoosepAlviste/nvim-ts-context-commentstring", commit = "32d9627123321db65a4f158b72b757bcaef1a3f4" })
|
||||||
use({ "kyazdani42/nvim-web-devicons", commit = "189ad3790d57c548896a78522fd8b0d0fc11be31" })
|
use({ "kyazdani42/nvim-web-devicons", commit = "189ad3790d57c548896a78522fd8b0d0fc11be31" })
|
||||||
use({ "akinsho/bufferline.nvim", tag = "v3.*" })
|
use({ "akinsho/bufferline.nvim", tag = "v3.*" })
|
||||||
use({ "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56" })
|
use({ "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56" })
|
||||||
use({ "nvim-lualine/lualine.nvim", commit = "b6314ac556098d7abea9bb8cf896d2e3500eca41" })
|
use({ "nvim-lualine/lualine.nvim", commit = "bfa0d99ba6f98d077dd91779841f1c88b7b5c165" })
|
||||||
use({ "lewis6991/impatient.nvim", commit = "d3dd30ff0b811756e735eb9020609fa315bfbbcc" })
|
use({ "lewis6991/impatient.nvim", commit = "d3dd30ff0b811756e735eb9020609fa315bfbbcc" })
|
||||||
use({ "lukas-reineke/indent-blankline.nvim", tag = "v2.*" })
|
use({ "lukas-reineke/indent-blankline.nvim", tag = "v2.*" })
|
||||||
use({ "nvim-zh/auto-save.nvim", commit = "4b59610e1318f8a89501cee9d47a0e8650f0a4d5" })
|
use({ "nvim-zh/auto-save.nvim", commit = "4b59610e1318f8a89501cee9d47a0e8650f0a4d5" })
|
||||||
@ -53,7 +53,7 @@ return packer.startup(function(use)
|
|||||||
use({ "romgrk/fzy-lua-native", commit = "085c7d262aa35cc55a8523e8c1618d398bf717a7", run = "make" })
|
use({ "romgrk/fzy-lua-native", commit = "085c7d262aa35cc55a8523e8c1618d398bf717a7", run = "make" })
|
||||||
use({ "mg979/vim-visual-multi", tag = "v0.*" })
|
use({ "mg979/vim-visual-multi", tag = "v0.*" })
|
||||||
use({ "Shatur/neovim-session-manager", commit = "24ceb4bfe666ca74f52ed3821a9f778c6324a84b" })
|
use({ "Shatur/neovim-session-manager", commit = "24ceb4bfe666ca74f52ed3821a9f778c6324a84b" })
|
||||||
use({ "nvim-treesitter/nvim-treesitter", commit = "e973a5cbb2b87bcacbb390365527652aa0256bb3" })
|
use({ "nvim-treesitter/nvim-treesitter", commit = "a49223a99f28a2d52a20603baff586d630789618" })
|
||||||
use({ "ray-x/sad.nvim", commit = "01b7d84f4f73c8963f5933f09e88c833757bc7d8" })
|
use({ "ray-x/sad.nvim", commit = "01b7d84f4f73c8963f5933f09e88c833757bc7d8" })
|
||||||
use({
|
use({
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
@ -63,7 +63,7 @@ return packer.startup(function(use)
|
|||||||
use({ "taybart/b64.nvim", commit = "12dde6ebc3035f010833f513cfbd9abad92b28b3" })
|
use({ "taybart/b64.nvim", commit = "12dde6ebc3035f010833f513cfbd9abad92b28b3" })
|
||||||
|
|
||||||
-- Colorschemes
|
-- Colorschemes
|
||||||
use({ "folke/tokyonight.nvim", commit = "62b4e89ea1766baa3b5343ca77d62c817f5f48d0" })
|
use({ "folke/tokyonight.nvim", commit = "58008d1ff7c1105ef702ac5460cb06bdccf278a6" })
|
||||||
|
|
||||||
-- cmp plugins
|
-- cmp plugins
|
||||||
use({ "hrsh7th/nvim-cmp", commit = "93f385c17611039f3cc35e1399f1c0a8cf82f1fb" })
|
use({ "hrsh7th/nvim-cmp", commit = "93f385c17611039f3cc35e1399f1c0a8cf82f1fb" })
|
||||||
@ -74,30 +74,30 @@ return packer.startup(function(use)
|
|||||||
|
|
||||||
-- Snippets
|
-- Snippets
|
||||||
use({ "L3MON4D3/LuaSnip", tag = "v1.*" })
|
use({ "L3MON4D3/LuaSnip", tag = "v1.*" })
|
||||||
use({ "rafamadriz/friendly-snippets", commit = "03f91a18022964d80a3f0413ed82cf1dbeba247f" })
|
use({ "rafamadriz/friendly-snippets", commit = "b4f857a1d94d05e747951b1e8cb1a6c567396898" })
|
||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
use({ "neovim/nvim-lspconfig", commit = "abe6c99c7489de2c317869cf5dea57a9595a0cca" })
|
use({ "neovim/nvim-lspconfig", commit = "9f49f35cf04edcf11fc23d849467d51f462be141" })
|
||||||
use({ "williamboman/mason.nvim", commit = "bfc5997e52fe9e20642704da050c415ea1d4775f" })
|
use({ "williamboman/mason.nvim", commit = "4a679b785f51dcbe8d358eea65b598cdd8850ef6" })
|
||||||
use({ "williamboman/mason-lspconfig.nvim", commit = "edf15b98cd7d7ce0f83cf7d3a968145a3f974772" })
|
use({ "williamboman/mason-lspconfig.nvim", commit = "4674ed145fd0e72c9bfdb32b647f968b221bf2f2" })
|
||||||
use({ "jose-elias-alvarez/null-ls.nvim", commit = "c51978f546a86a653f4a492b86313f4616412cec" })
|
use({ "jose-elias-alvarez/null-ls.nvim", commit = "a67897283fdb0051ad5c72e840e1845e195b979b" })
|
||||||
use({ "RRethy/vim-illuminate", commit = "a6d0b28ea7d6b9d139374be1f94a16bd120fcda3" })
|
use({ "RRethy/vim-illuminate", commit = "a6d0b28ea7d6b9d139374be1f94a16bd120fcda3" })
|
||||||
use({ "folke/trouble.nvim", commit = "897542f90050c3230856bc6e45de58b94c700bbf" })
|
use({ "folke/trouble.nvim", commit = "897542f90050c3230856bc6e45de58b94c700bbf" })
|
||||||
use({ "glepnir/lspsaga.nvim", commit = "af711c8985dfced92a5883591f221ba223841f76" })
|
use({ "glepnir/lspsaga.nvim", commit = "2eb8d023790099b182ac0c43d13dede80f42153e" })
|
||||||
use({ "arkav/lualine-lsp-progress", commit = "56842d097245a08d77912edf5f2a69ba29f275d7" })
|
use({ "arkav/lualine-lsp-progress", commit = "56842d097245a08d77912edf5f2a69ba29f275d7" })
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
use({ "nvim-telescope/telescope.nvim", commit = "4d77743a8ec4d19b3c47e0d04f3e88f1a933698e" })
|
use({ "nvim-telescope/telescope.nvim", commit = "cabf991b1d3996fa6f3232327fc649bbdf676496" })
|
||||||
use({ "nvim-telescope/telescope-ui-select.nvim", commit = "62ea5e58c7bbe191297b983a9e7e89420f581369" })
|
use({ "nvim-telescope/telescope-ui-select.nvim", commit = "62ea5e58c7bbe191297b983a9e7e89420f581369" })
|
||||||
use({
|
use({
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
commit = "65c0ee3d4bb9cb696e262bca1ea5e9af3938fc90",
|
commit = "ae9d95da9ff5669eb8e35f758fbf385b3e2fb7cf",
|
||||||
run = "make",
|
run = "make",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Git
|
-- Git
|
||||||
use({ "lewis6991/gitsigns.nvim", tag = "v0.*" })
|
use({ "lewis6991/gitsigns.nvim", tag = "v0.*" })
|
||||||
use({ "sindrets/diffview.nvim", commit = "e48f04dd6fe2bcf9d481e5071335ca23ff9af12c" })
|
use({ "sindrets/diffview.nvim", commit = "6a82dfcb59f0af1e814f34bf8344d68afe8618ec" })
|
||||||
use({ "f-person/git-blame.nvim", commit = "d3afb1c57918720548effb42edec530232436378" })
|
use({ "f-person/git-blame.nvim", commit = "d3afb1c57918720548effb42edec530232436378" })
|
||||||
|
|
||||||
-- DAP
|
-- DAP
|
||||||
@ -107,10 +107,10 @@ return packer.startup(function(use)
|
|||||||
use({ "theHamsta/nvim-dap-virtual-text", commit = "2971ce3e89b1711cc26e27f73d3f854b559a77d4" })
|
use({ "theHamsta/nvim-dap-virtual-text", commit = "2971ce3e89b1711cc26e27f73d3f854b559a77d4" })
|
||||||
|
|
||||||
-- Go
|
-- Go
|
||||||
use({ "ray-x/go.nvim", commit = "02943e53160148f4690cbdfadffa84b833432152" })
|
use({ "ray-x/go.nvim", commit = "45292409715143f6a8ea32863173391324b028a4" })
|
||||||
use({
|
use({
|
||||||
"ray-x/guihua.lua",
|
"ray-x/guihua.lua",
|
||||||
commit = "1784231d6997c2603a42049558579d0e2624f6b1",
|
commit = "6026fcca876e2dad6f379c856d3f31ec51bb8b54",
|
||||||
run = "cd lua/fzy && make",
|
run = "cd lua/fzy && make",
|
||||||
|
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -56,10 +56,6 @@ cmp.setup({
|
|||||||
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
|
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
|
||||||
["<C-f>"] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }),
|
["<C-f>"] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }),
|
||||||
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
|
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
|
||||||
["<ESC>"] = cmp.mapping({
|
|
||||||
i = cmp.mapping.abort(),
|
|
||||||
c = cmp.mapping.close(),
|
|
||||||
}),
|
|
||||||
["q"] = cmp.mapping({
|
["q"] = cmp.mapping({
|
||||||
i = cmp.mapping.abort(),
|
i = cmp.mapping.abort(),
|
||||||
c = cmp.mapping.close(),
|
c = cmp.mapping.close(),
|
||||||
|
Loading…
Reference in New Issue
Block a user