diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-05-12 20:19:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 20:19:29 +0800 |
commit | 3a91adabda43376638e0edc80f54181258c98dea (patch) | |
tree | 7863a14dc1113b0304cd74e44f414de8533f9217 /src/nvim/vim.h | |
parent | a2d4b862f16ed9814ce45a865a3596c958e066af (diff) | |
download | rneovim-3a91adabda43376638e0edc80f54181258c98dea.tar.gz rneovim-3a91adabda43376638e0edc80f54181258c98dea.tar.bz2 rneovim-3a91adabda43376638e0edc80f54181258c98dea.zip |
refactor: rename keymap.{c,h} to keycodes.{c,h} (#18535)
Most code in keymap.h is for keycode definitions, while most code in
keymap.c is for the parsing and conversion of keycodes.
The name "keymap" may also make people think these two files are for
mappings, while in fact keycodes are used even when no mappings are
involved, so "keycodes" should be a better file name than "keymap".
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 4e269bc9d4..1c05387da3 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -31,7 +31,7 @@ enum { NUMBUFLEN = 65, }; #define ROOT_UID 0 #include "nvim/gettext.h" -#include "nvim/keymap.h" +#include "nvim/keycodes.h" #include "nvim/macros.h" // special attribute addition: Put message in history |