⚙️ config(nvim): define localleader

This commit is contained in:
Sergio Laín 2024-01-17 10:28:32 +01:00
parent 2b1877fb6d
commit c549b8ad1e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -6,6 +6,10 @@ local opt = vim.g
-- Optimizations on startup
vim.loader.enable()
-- Define leader key
opt.mapleader = " "
opt.maplocalleader = "\\"
-- Autoformat on save (Global)
opt.autoformat = true
@ -14,8 +18,5 @@ opt.gui_font_default_size = 10
opt.gui_font_size = opt.gui_font_default_size
opt.gui_font_face = "JetBrainsMono Nerd Font"
-- Define leader key
opt.mapleader = " "
-- Enable EditorConfig integration
opt.editorconfig = true