From a6610b8b29b72094d29834e522d7bc5d0f4fadc3 Mon Sep 17 00:00:00 2001 From: MasterGordon Date: Mon, 13 Dec 2021 12:49:00 +0100 Subject: [PATCH] improved icons added term --- lua/keys.lua | 2 ++ lua/plugins.lua | 23 +--------------------- lua/plugins/copilot.lua | 2 +- lua/plugins/icons.lua | 42 ++++++++++++++++++++++++++++++++++++++++ spell/de.utf-8.add | 1 + spell/de.utf-8.add.spl | Bin 197 -> 224 bytes 6 files changed, 47 insertions(+), 23 deletions(-) create mode 100644 lua/plugins/icons.lua diff --git a/lua/keys.lua b/lua/keys.lua index a6a9918..ac62b84 100644 --- a/lua/keys.lua +++ b/lua/keys.lua @@ -9,6 +9,8 @@ vim.api.nvim_set_keymap("n", "gd", "lua require('telescope.builtin').lsp_de vim.api.nvim_set_keymap("n", "gi", "lua require('telescope.builtin').lsp_implementations()", {silent = true}) vim.api.nvim_set_keymap("", "q:", "", {silent = true}) vim.api.nvim_set_keymap("n", "h", "RestNvim", {silent = true}) +vim.api.nvim_set_keymap("n", "", ":terminali", {silent = true}) +vim.api.nvim_set_keymap("t", "", "", {silent = true, noremap = true}) function _G.toggle_venn() local venn_enabled = vim.inspect(vim.b.venn_enabled) diff --git a/lua/plugins.lua b/lua/plugins.lua index e94b251..1e45da1 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -29,28 +29,7 @@ return require("packer").startup( use { "kyazdani42/nvim-web-devicons", config = function() - require("nvim-web-devicons").set_icon { - ["test.ts"] = { - icon = "", - color = "#519aba", - name = "TsTest" - }, - ["test.tsx"] = { - icon = "", - color = "#519aba", - name = "TsTest" - }, - ["test.js"] = { - icon = "", - color = "#cbcb41", - name = "JsTest" - }, - ["test.jsx"] = { - icon = "", - color = "#cbcb41", - name = "JsTest" - } - } + require("plugins/icons") end } diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 1bf0e7b..2bb7189 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -1,3 +1,3 @@ vim.g.copilot_enabled = true -- Map Ctrl-Enter to copilot#Accept --- vim.cmd(":Copilot disable") +-- vim.cmd(":Copilot disable>") diff --git a/lua/plugins/icons.lua b/lua/plugins/icons.lua new file mode 100644 index 0000000..c1b2731 --- /dev/null +++ b/lua/plugins/icons.lua @@ -0,0 +1,42 @@ +require("nvim-web-devicons").set_icon { + ["test.ts"] = { + icon = "", + color = "#519aba", + name = "TsTest" + }, + ["test.tsx"] = { + icon = "", + color = "#519aba", + name = "TsTest" + }, + ["test.js"] = { + icon = "", + color = "#cbcb41", + name = "JsTest" + }, + ["test.jsx"] = { + icon = "", + color = "#cbcb41", + name = "JsTest" + }, + ["readme.md"] = { + icon = "", + color = "#42A5F5", + name = "Readme" + }, + ["package.json"] = { + icon = "", + color = "#8BC34A", + name = "PackageJson" + }, + ["package-lock.json"] = { + icon = "", + color = "#8BC34A", + name = "PackageJson" + }, + ["tsconfig.json"] = { + icon = "", + color = "#0288D1", + name = "TsConfig" + } +} diff --git a/spell/de.utf-8.add b/spell/de.utf-8.add index 2d1c5e2..df7437d 100644 --- a/spell/de.utf-8.add +++ b/spell/de.utf-8.add @@ -12,3 +12,4 @@ ConfigManager Grenning BWL Marriot +Loadbalancer diff --git a/spell/de.utf-8.add.spl b/spell/de.utf-8.add.spl index 35903991ba7bccf6858214bf094ed614b00e9211..e60550b30bc7aa699f12cd79c07e6ad9a35af126 100644 GIT binary patch literal 224 zcmYLDI}XAy4D~Y%jGdS`1vfy5fuSqA8`3l=ZBSdp$_+R&yhcKJNc4X8yPWIk?o--- zMC84(#0WBheN)ID21bB?l7p)N4HUyr+K-WM~l_A3w4c}BU zjs{v!4(Imzq##F{UAj|~fbVep7=ETf= ppkNVDAfJ(ufx)E&D3QvT3=~NO@q^MBvp}@N#08R!E)#dD0RY{m7a;%u