Skip to content

Commit

Permalink
feat(options)!: set default localleader to \
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jul 20, 2023
1 parent 4d0427e commit 258f339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/config/options.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- This file is automatically loaded by plugins.core
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.g.maplocalleader = "\\"

This comment has been minimized.

Copy link
@willian

willian Jul 21, 2023

Why is this change needed?

This comment has been minimized.

Copy link
@folke

folke Jul 21, 2023

Author Collaborator

Because some plugins (like vimtex) use localleader keymaps that clash with normal leader keymaps.

Feel free to change it to whatever you want in your config


local opt = vim.opt

Expand Down

0 comments on commit 258f339

Please sign in to comment.