change tab character + nvim-tree keybind
This commit is contained in:
parent
d64b6a332a
commit
0a05725d56
9
init.lua
9
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', '<leader>p', ':NvimTreeToggle<CR>', { silent = true })
|
||||
vim.keymap.set('n', '<leader>0', ':NvimTreeToggle<CR>', { silent = true })
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue