1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Add icon picker

This commit is contained in:
Mo 2022-08-21 22:37:40 +02:00
parent 4deb488d1e
commit 105006d7c2
3 changed files with 16 additions and 0 deletions

View file

@ -42,3 +42,8 @@ set("n", "<space>b", telescope_builtin.resume, opts)
-- LSP
set("n", "<space>h", vim.lsp.buf.hover, opts)
-- Icon picker
set("n", "<Leader>e", "<cmd>IconPickerNormal symbols emoji<cr>", opts)
set("n", "<Leader>y", "<cmd>IconPickerYank symbols emoji<cr>", opts)
set("i", "<C-e>", "<cmd>IconPickerInsert symbols emoji<cr>", opts)

View file

@ -67,6 +67,14 @@ return require("packer").startup({
},
})
-- Icon picker
use({
"ziontee113/icon-picker.nvim",
requires = {
"stevearc/dressing.nvim",
},
})
-- Treesitter
use({
"nvim-treesitter/nvim-treesitter",

View file

@ -0,0 +1,3 @@
require("icon-picker").setup({
disable_legacy_commands = true,
})