diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 07535e9..49f4363 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -65,7 +65,7 @@ set termguicolors nnoremap :NvimTreeToggle nnoremap r :NvimTreeRefresh nnoremap n :NvimTreeFindFile - +nnoremap :BufferPick lua require('init') " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % diff --git a/nvim/.config/nvim/lua/init.lua b/nvim/.config/nvim/lua/init.lua index 050e3ba..bfbb14b 100644 --- a/nvim/.config/nvim/lua/init.lua +++ b/nvim/.config/nvim/lua/init.lua @@ -14,4 +14,4 @@ require("which-key").setup { } - +require'nvim-web-devicons'.get_icons()