diff --git a/home/.config/nvim/lua/mappings.lua b/home/.config/nvim/lua/mappings.lua index 4d98f5c..d35b58b 100644 --- a/home/.config/nvim/lua/mappings.lua +++ b/home/.config/nvim/lua/mappings.lua @@ -29,6 +29,10 @@ function tmap(shortcut, command, options) keymap("t", shortcut, command, options) end +function xmap(shortcut, command, options) + keymap("x", shortcut, command, options) +end + -- Unmap arrow keys in normal mode to remove bad habits nmap("", "") nmap("", "") @@ -109,4 +113,3 @@ nmap("Q", ":bufdo bdelete") -- a message saying that dbext plugin isn't installed -- See :h ft-sql.txt vim.g.omni_sql_no_default_maps = 1 -