Skip to content

Commit

Permalink
Sticky shift problems. So alias Q Q! and W to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
JonGretar committed Sep 24, 2024
1 parent 2dbd802 commit 2872cc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10

-- Alias uppercase commands because of sticky fingers
vim.cmd.cnoreabbrev 'W w'
vim.cmd.cnoreabbrev 'Q q'
vim.cmd.cnoreabbrev 'Q! q!'
vim.cmd.cnoreabbrev 'Wq wq'

-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`

Expand Down

0 comments on commit 2872cc5

Please sign in to comment.