many snippets
This commit is contained in:
parent
ca932c83df
commit
4fab2f7425
3 changed files with 120 additions and 1 deletions
|
|
@ -11,5 +11,19 @@ return {
|
|||
vim.o.tabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.expandtab = true
|
||||
|
||||
vim.keymap.set('', '<up>', '<nop>', { noremap = true })
|
||||
vim.keymap.set('', '<down>', '<nop>', { noremap = true })
|
||||
vim.keymap.set('i', '<up>', '<nop>', { noremap = true })
|
||||
vim.keymap.set('i', '<down>', '<nop>', { noremap = true })
|
||||
vim.keymap.set('i', '<left>', '<nop>', { noremap = true })
|
||||
vim.keymap.set('i', '<right>', '<nop>', { noremap = true })
|
||||
|
||||
vim.opt.mouse = ''
|
||||
vim.opt.mousescroll = 'ver:0,hor:0'
|
||||
|
||||
vim.api.nvim_create_user_command('ConfEdit', function()
|
||||
vim.cmd 'edit ~/.config/nvim/lua/custom/plugins/'
|
||||
end, { desc = 'Ouvrir le dossier des plugins personnalisés' })
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue