-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Rename user commands and replace emoji.vim with emoji.lua
- Loading branch information
Showing
3 changed files
with
30 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
vim.api.nvim_create_user_command("EmojiInsert", function() | ||
require("emoji").insert() | ||
end, { | ||
desc = "Insert an Emoji at the cursor's current position", | ||
nargs = 0, | ||
}) | ||
|
||
vim.api.nvim_create_user_command("EmojiInsertByGroup", function() | ||
require("emoji").insert_by_group() | ||
end, { | ||
desc = "Insert an Emoji, filtered by group, at the cursor's current position", | ||
nargs = 0, | ||
}) | ||
|
||
vim.api.nvim_create_user_command("KaomojiInsert", function() | ||
require("emoji").insert_kaomoji() | ||
end, { | ||
desc = "Insert a Kaomoji at the cursor's current position", | ||
nargs = 0, | ||
}) | ||
|
||
vim.api.nvim_create_user_command("KaomojiInsertByGroup", function() | ||
require("emoji").insert_kaomoji_by_group() | ||
end, { | ||
desc = "Insert an Kaomoji, filtered by group, at the cursor's current position", | ||
nargs = 0, | ||
}) |
This file was deleted.
Oops, something went wrong.