nvim : move leader definition to a variable.
This commit is contained in:
parent
7bda232a83
commit
15c7f7d7ab
|
@ -1,4 +1,8 @@
|
||||||
vim.g.mapleader = ' '
|
require("key/rekey")
|
||||||
vim.g.maplocalleader = ' '
|
|
||||||
|
leader = " "
|
||||||
|
|
||||||
|
vim.g.mapleader = leader
|
||||||
|
vim.g.maplocalleader = leader
|
||||||
-- vim.api.nvim_set_keymap('', '<Space>', '<Nop>', { noremap = true, silent = true })
|
-- vim.api.nvim_set_keymap('', '<Space>', '<Nop>', { noremap = true, silent = true })
|
||||||
vim.cmd("set notimeout nottimeout")
|
vim.cmd("set notimeout nottimeout")
|
||||||
|
|
Reference in a new issue