refact
This commit is contained in:
parent
89dad836a2
commit
b0112c069b
7 changed files with 102 additions and 85 deletions
14
lua/custom/remap.lua
Normal file
14
lua/custom/remap.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- vim.keymap.set('n', '!', '_') -- For macos only
|
||||
|
||||
-- Center the view when moving
|
||||
vim.keymap.set('n', '<C-d>', '<C-d>zz')
|
||||
vim.keymap.set('n', '<C-u>', '<C-u>zz')
|
||||
|
||||
-- Access to file viewer easily
|
||||
vim.keymap.set('n', '<leader>pv', vim.cmd.Ex, { desc = '[P]roject files [V]iewer' })
|
||||
|
||||
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
|
||||
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
|
||||
|
||||
-- Undotree
|
||||
vim.keymap.set('n', '<F5>', vim.cmd.UndotreeToggle)
|
||||
Loading…
Add table
Add a link
Reference in a new issue