diff --git a/init.lua b/init.lua index a77c46e7..28e32e6d 100644 --- a/init.lua +++ b/init.lua @@ -99,8 +99,9 @@ vim.g.loaded_netrwPlugin = 1 -- Sets how neovim will display certain whitespace characters in the editor. -- See `:help 'list'` -- and `:help 'listchars'` +-- for backup tab characters -> » vim.opt.list = true -vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +vim.opt.listchars = { tab = '| ', trail = '·', nbsp = '␣' } -- Preview substitutions live, as you type! vim.opt.inccommand = 'split' @@ -749,11 +750,11 @@ require('lazy').setup({ -- -- Examples: -- - va) - [V]isually select [A]round [)]paren - -- - yinq - [Y]ank [I]nside [N]ext [Q]uote + -- - yinq - [Y]an [I]nside [N]ext [Q]uote -- - ci' - [C]hange [I]nside [']quote require('mini.ai').setup { n_lines = 500 } - -- Add/delete/replace surroundings (brackets, quotes, etc.) + -- Add/delete/replace surroundings (bracets, quotes, etc.) -- -- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren -- - sd' - [S]urround [D]elete [']quotes @@ -828,7 +829,7 @@ require('lazy').setup({ dotfiles = true, }, } - vim.keymap.set('n', 'p', ':NvimTreeToggle', { silent = true }) + vim.keymap.set('n', '0', ':NvimTreeToggle', { silent = true }) end, },