⚙️ config(nvim): define localleader
This commit is contained in:
parent
2b1877fb6d
commit
c549b8ad1e
1 changed files with 4 additions and 3 deletions
|
@ -6,6 +6,10 @@ local opt = vim.g
|
||||||
-- Optimizations on startup
|
-- Optimizations on startup
|
||||||
vim.loader.enable()
|
vim.loader.enable()
|
||||||
|
|
||||||
|
-- Define leader key
|
||||||
|
opt.mapleader = " "
|
||||||
|
opt.maplocalleader = "\\"
|
||||||
|
|
||||||
-- Autoformat on save (Global)
|
-- Autoformat on save (Global)
|
||||||
opt.autoformat = true
|
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_size = opt.gui_font_default_size
|
||||||
opt.gui_font_face = "JetBrainsMono Nerd Font"
|
opt.gui_font_face = "JetBrainsMono Nerd Font"
|
||||||
|
|
||||||
-- Define leader key
|
|
||||||
opt.mapleader = " "
|
|
||||||
|
|
||||||
-- Enable EditorConfig integration
|
-- Enable EditorConfig integration
|
||||||
opt.editorconfig = true
|
opt.editorconfig = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue