Change leader from "," to "\"

This commit is contained in:
Edward Litherland-Smith 2022-09-16 10:24:57 +01:00
parent 939ffe178f
commit 2d695245b3
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ require('lualine').setup{
-- toggleterm config
require('toggleterm').setup{
open_mapping = [[,t]],
open_mapping = [[\t]],
size = 20,
hide_numbers = true, -- hide the number column in toggleterm buffers
direction = 'float',
@ -26,7 +26,7 @@ function _lazygit_toggle()
lazygit:toggle()
end
vim.api.nvim_set_keymap("n", ",g", "<cmd>lua _lazygit_toggle()<CR>", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<leader>g", "<cmd>lua _lazygit_toggle()<CR>", {noremap = true, silent = true})
-- aerial telescope integration
require('telescope').load_extension('aerial')

View file

@ -58,7 +58,7 @@ endif
colorscheme onehalfdark
set cursorline
let mapleader=","
let mapleader="\\"
set number
set relativenumber