add mapping for minimalistc mode
This commit is contained in:
parent
bbe48d229d
commit
c231dba0b6
1
init.lua
1
init.lua
|
@ -56,6 +56,7 @@ cmd "hi PmenuSel guibg=#98c379"
|
||||||
cmd "hi Pmenu guibg=#282c34"
|
cmd "hi Pmenu guibg=#282c34"
|
||||||
|
|
||||||
cmd "hi Normal guibg=NONE ctermbg=NONE"
|
cmd "hi Normal guibg=NONE ctermbg=NONE"
|
||||||
|
-- cmd "hi Normal guibg=#1e222a"
|
||||||
|
|
||||||
require "telescope.lua"
|
require "telescope.lua"
|
||||||
require "nvimTree.lua"
|
require "nvimTree.lua"
|
||||||
|
|
|
@ -30,5 +30,7 @@ map("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt)
|
||||||
-- toggle numbers ---
|
-- toggle numbers ---
|
||||||
map("n", "<leader>n", [[ <Cmd> set nu!<CR>]], opt)
|
map("n", "<leader>n", [[ <Cmd> set nu!<CR>]], opt)
|
||||||
|
|
||||||
-- toggle truezen.nvim's ataraxis mode
|
-- toggle truezen.nvim's ataraxis and minimalist mode
|
||||||
map("n", "<leader>z", [[ <Cmd> TZAtaraxis<CR>]], opt)
|
map("n", "<leader>z", [[ <Cmd> TZAtaraxis<CR>]], opt)
|
||||||
|
map("n", "<leader>m", [[ <Cmd> TZMinimalist<CR>]], opt)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ true_zen.setup(
|
||||||
before_minimalist_mode_hidden = true,
|
before_minimalist_mode_hidden = true,
|
||||||
after_minimalist_mode_shown = true,
|
after_minimalist_mode_shown = true,
|
||||||
after_minimalist_mode_hidden = true,
|
after_minimalist_mode_hidden = true,
|
||||||
unknown_bkg_color_fix = true,
|
-- unknown_bkg_color_fix = true,
|
||||||
bottom = {
|
bottom = {
|
||||||
hidden_laststatus = 0,
|
hidden_laststatus = 0,
|
||||||
hidden_ruler = false,
|
hidden_ruler = false,
|
||||||
|
@ -34,9 +34,9 @@ true_zen.setup(
|
||||||
shown_signcolumn = "no"
|
shown_signcolumn = "no"
|
||||||
},
|
},
|
||||||
ataraxis = {
|
ataraxis = {
|
||||||
just_do_it_for_me = true,
|
just_do_it_for_me = false,
|
||||||
left_padding = 40,
|
left_padding = 37,
|
||||||
right_padding = 40,
|
right_padding = 37,
|
||||||
top_padding = 2,
|
top_padding = 2,
|
||||||
bottom_padding = 2
|
bottom_padding = 2
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue