added keybind to refresh current config page without restarting nvim
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
--/lua/keybinds.lua
|
||||
-- This file defines all of the kybinds for nvim.
|
||||
-- vim.keymap.set('mode','<modifier>key','action', {desc = 'description'})
|
||||
-- Add these lines at the very top of your keymaps file
|
||||
vim.cmd('silent! unmapclear') -- Clears Normal, Visual, Select, and Operator-pending maps
|
||||
vim.cmd('silent! cmapclear') -- Clears Command-line maps
|
||||
vim.cmd('silent! imapclear') -- Clears Insert maps
|
||||
vim.cmd('silent! tmapclear') -- Clears Terminal maps
|
||||
|
||||
-- ==========================================
|
||||
-- Define your current keymaps below this line
|
||||
-- ==========================================
|
||||
vim.keymap.set('n', '<leader>w', ':w<CR>')
|
||||
local utils = require("custom-functions")
|
||||
|
||||
-- move betwwen buffer easier
|
||||
|
||||
Reference in New Issue
Block a user