format
This commit is contained in:
parent
e7fec208e5
commit
2b9c6cb6ee
6
init.lua
6
init.lua
|
@ -348,7 +348,7 @@ vim.o.termguicolors = true
|
|||
-- [[ Basic Keymaps ]]
|
||||
|
||||
|
||||
-- some helper functions:
|
||||
-- some helper functions:
|
||||
local function toggleComment() require("Comment.api").toggle.linewise.current() end
|
||||
|
||||
|
||||
|
@ -367,9 +367,7 @@ vim.keymap.set(main_modes, '<C-\\>', ':vsplit<CR>', { noremap = true, silent = t
|
|||
vim.keymap.set({ 'n', 'v' }, '<C-s>', ":w<CR>", { noremap = true })
|
||||
vim.keymap.set('i', '<C-s>', "<escape>:w<CR>a", { noremap = true })
|
||||
|
||||
vim.keymap.set('i', '<C-_>', toggleComment,
|
||||
{ noremap = true, silent = true })
|
||||
|
||||
vim.keymap.set('i', '<C-_>', toggleComment, { noremap = true, silent = true })
|
||||
|
||||
-- delete cuts to a register
|
||||
vim.api.nvim_set_keymap('n', 'd', '"ad', { noremap = true })
|
||||
|
|
Loading…
Reference in New Issue