Added some vertical motion remaps
This commit is contained in:
parent
840b0895c1
commit
125979e2b6
8
init.lua
8
init.lua
|
|
@ -3,6 +3,12 @@
|
|||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- Random Motion Keybind Remap
|
||||
vim.keymap.set('n', '<C-d>', '<C-d>zz', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<C-u>', '<C-u>zz', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', 'n', 'nzzzv', { noremap = true, silent = true })
|
||||
vim.keymap.set('n', 'N', 'Nzzzv', { noremap = true, silent = true })
|
||||
|
||||
-- Install package manager
|
||||
-- https://github.com/folke/lazy.nvim
|
||||
-- `:help lazy.nvim.txt` for more info
|
||||
|
|
@ -46,7 +52,7 @@ require('lazy').setup({
|
|||
|
||||
-- Useful status updates for LSP
|
||||
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
|
||||
{ 'j-hui/fidget.nvim', opts = {} },
|
||||
{ 'j-hui/fidget.nvim', opts = {} },
|
||||
|
||||
-- Additional lua configuration, makes nvim stuff amazing!
|
||||
'folke/neodev.nvim',
|
||||
|
|
|
|||
Loading…
Reference in New Issue