aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-11-04 14:18:45 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-11-04 14:18:45 +0800
commit73e7f0979390ec2ac4fac77b0cf4849c9d4b3fdf (patch)
treefc28319a98f26a1bfa9ddbca70545142218564f7
parentce4db0c26e36963f817a5e83b6c811f34b90ca97 (diff)
Update
-rw-r--r--init.vim10
-rw-r--r--nvim.lua5
2 files changed, 15 insertions, 0 deletions
diff --git a/init.vim b/init.vim
index b3325ea..b43cc30 100644
--- a/init.vim
+++ b/init.vim
@@ -42,3 +42,13 @@ else
42" Plugin 42" Plugin
43 source ~/.vim/vim-init/init/init-plugins.vim 43 source ~/.vim/vim-init/init/init-plugins.vim
44endif 44endif
45
46" Temp
47let g:NERDTreeWinPos = "right"
48let NERDTreeShowHidden=0
49let NERDTreeQuitOnOpen=1
50let NERDTreeIgnore = ['\.pyc$', '__pycache__']
51let g:NERDTreeWinSize=35
52map <leader>nn :NERDTreeToggle<cr>
53map <leader>nb :NERDTreeFromBookmark<Space>
54map <leader>nf :NERDTreeFind<cr>
diff --git a/nvim.lua b/nvim.lua
index 1833d00..5bf9f13 100644
--- a/nvim.lua
+++ b/nvim.lua
@@ -80,6 +80,7 @@ require('lazy').setup({
80 80
81 81
82 82
83
83 -- NOTE: This is where your plugins related to LSP can be installed. 84 -- NOTE: This is where your plugins related to LSP can be installed.
84 -- The configuration is done below. Search for lspconfig to find it below. 85 -- The configuration is done below. Search for lspconfig to find it below.
85 { 86 {
@@ -230,6 +231,10 @@ require('lazy').setup({
230 build = ':TSUpdate', 231 build = ':TSUpdate',
231 }, 232 },
232 233
234 {
235 'preservim/nerdtree'
236 },
237
233 -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart 238 -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
234 -- These are some example plugins that I've included in the kickstart repository. 239 -- These are some example plugins that I've included in the kickstart repository.
235 -- Uncomment any of the lines below to enable them. 240 -- Uncomment any of the lines below to enable them.