summary refs log tree commit diff
path: root/.vim/plugin/hardmode.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugin/hardmode.lua')
-rw-r--r--.vim/plugin/hardmode.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/.vim/plugin/hardmode.lua b/.vim/plugin/hardmode.lua
deleted file mode 100644
index f18a5ef..0000000
--- a/.vim/plugin/hardmode.lua
+++ /dev/null
@@ -1,10 +0,0 @@
--- hard mode means we're not using the arrow keys!
-
-local bail = function()
-  vim.cmd([[silent! echohl ErrorMsg | echo "HARD MODE: hjkl operation only" | echohl None]])
-end
-
-vim.keymap.set({ 'v', 'i' }, '<up>', bail)
-vim.keymap.set({ 'v', 'i' }, '<down>', bail)
-vim.keymap.set({ 'v', 'i' }, '<left>', bail)
-vim.keymap.set({ 'v', 'i' }, '<right>', bail)