added nvim-tree and setup keymap to toggle file-browser
This commit is contained in:
parent
564a16e7ab
commit
71074dd171
4 changed files with 61 additions and 1 deletions
9
init.lua
9
init.lua
|
|
@ -41,6 +41,13 @@ P.S. You can delete this when you're done too. It's your config now :)
|
|||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- disable netrw at the very start of your init.lua
|
||||
-- needed for nvim-tree
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
-- vim.o.guifont = 'Inconsolata LGC Nerd Font'
|
||||
|
||||
-- Install package manager
|
||||
-- https://github.com/folke/lazy.nvim
|
||||
-- `:help lazy.nvim.txt` for more info
|
||||
|
|
@ -513,7 +520,7 @@ cmp.setup {
|
|||
}
|
||||
|
||||
-- custom settings
|
||||
pcall(require('custom.options'))
|
||||
pcall(require('custom'))
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue