aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/after/ftplugin/xmodmap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim/after/ftplugin/xmodmap.lua')
-rw-r--r--home/.config/nvim/after/ftplugin/xmodmap.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/.config/nvim/after/ftplugin/xmodmap.lua b/home/.config/nvim/after/ftplugin/xmodmap.lua
new file mode 100644
index 0000000..75c9f8a
--- /dev/null
+++ b/home/.config/nvim/after/ftplugin/xmodmap.lua
@@ -0,0 +1,4 @@
+vim.api.nvim_create_autocmd(
+ "BufWritePost",
+ { buffer = 0, command = "!xmodmap %" }
+)