nvim basic config
This commit is contained in:
14
nvim/.config/nvim/lua/romanzy/remap.lua
Normal file
14
nvim/.config/nvim/lua/romanzy/remap.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
vim.keymap.set("n", "<leader>dl", vim.cmd.Ex)
|
||||
|
||||
vim.keymap.set("n", "<leader>s", ":set spell!<CR>")
|
||||
|
||||
-- terminal exploration...
|
||||
-- original to exit terminal mode on Esc
|
||||
--vim.keymap.set("t", "<Esc>", "<C-\\><C-n>")
|
||||
-- new one to go back to main window
|
||||
vim.keymap.set("t", "<Esc>", "<C-\\><C-n><C-w>k")
|
||||
|
||||
vim.keymap.set("n", "<leader>t", "<C-w>ji")
|
||||
Reference in New Issue
Block a user