Skip to content

Commit

Permalink
Update keymaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonllera committed Apr 21, 2023
1 parent 1e364a5 commit 6cc8892
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ vim.g.maplocalleader = " "
-- kj to normal mode
inoremap("kj", "<Esc>")

-- page up/down with recentering
nnoremap("<C-u>", "<C-u>zz")
nnoremap("<C-d>", "<C-d>zz")

-- Run omnifunc, mostly used for autocomplete
inoremap("<C-SPACE>", "<C-x><C-o>")

Expand Down

0 comments on commit 6cc8892

Please sign in to comment.