switch to nvimtree and add neoterm

This commit is contained in:
LordMZTE 2021-06-26 23:30:51 +02:00
parent 5c19bca141
commit b2c7c5d3cf
2 changed files with 11 additions and 5 deletions

View file

@ -12,9 +12,6 @@ return require("packer").startup(function(use)
branch = "release", branch = "release",
config = pconf("coc") config = pconf("coc")
} }
use "scrooloose/nerdtree"
use "Xuyuanp/nerdtree-git-plugin"
use "tiagofumo/vim-nerdtree-syntax-highlight"
use "ryanoasis/vim-devicons" use "ryanoasis/vim-devicons"
use "cespare/vim-toml" use "cespare/vim-toml"
use "junegunn/fzf" use "junegunn/fzf"
@ -54,5 +51,10 @@ return require("packer").startup(function(use)
run = "cargo build --release", run = "cargo build --release",
config = pconf("markdowncomposer") config = pconf("markdowncomposer")
} }
use "kassio/neoterm"
use "kyazdani42/nvim-web-devicons"
use "kyazdani42/nvim-tree.lua"
end) end)

View file

@ -16,8 +16,13 @@ wo.cursorline = true
wo.cursorcolumn = true wo.cursorcolumn = true
g.airline_powerline_fonts = 1 g.airline_powerline_fonts = 1
g.neoterm_default_mod = "tab"
g.neovide_iso_layout = true g.neovide_iso_layout = true
g.NERDTreeShowHidden = true g.nvim_tree_auto_close = 1
if not g.started_by_firenvim then
g.nvim_tree_auto_open = 1
end
cmd("colorscheme dracula") cmd("colorscheme dracula")
@ -25,7 +30,6 @@ cmd("colorscheme dracula")
cmd("autocmd CursorHold * silent call CocActionAsync('highlight')") cmd("autocmd CursorHold * silent call CocActionAsync('highlight')")
cmd("autocmd StdinReadPre * let s:std_in=1") cmd("autocmd StdinReadPre * let s:std_in=1")
cmd("autocmd VimEnter * if argc() == 0 && !exists('s:std_in') && !exists('g:started_by_firenvim') | NERDTree | endif")
cmd("filetype plugin on") cmd("filetype plugin on")