Change leader from "," to "\"
This commit is contained in:
parent
939ffe178f
commit
2d695245b3
4
init.lua
4
init.lua
|
@ -13,7 +13,7 @@ require('lualine').setup{
|
||||||
|
|
||||||
-- toggleterm config
|
-- toggleterm config
|
||||||
require('toggleterm').setup{
|
require('toggleterm').setup{
|
||||||
open_mapping = [[,t]],
|
open_mapping = [[\t]],
|
||||||
size = 20,
|
size = 20,
|
||||||
hide_numbers = true, -- hide the number column in toggleterm buffers
|
hide_numbers = true, -- hide the number column in toggleterm buffers
|
||||||
direction = 'float',
|
direction = 'float',
|
||||||
|
@ -26,7 +26,7 @@ function _lazygit_toggle()
|
||||||
lazygit:toggle()
|
lazygit:toggle()
|
||||||
end
|
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
|
-- aerial telescope integration
|
||||||
require('telescope').load_extension('aerial')
|
require('telescope').load_extension('aerial')
|
||||||
|
|
Loading…
Reference in a new issue