From 28192c4c639cc7d865829af80f6cf7b1563bda81 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Tue, 1 Apr 2025 15:15:55 +0200 Subject: [PATCH] vimrc: updated netrw, removed ginit.vim --- .config/nvim/ginit.vim | 5 ----- .config/nvim/init.lua | 1 + .vimrc | 3 +++ 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .config/nvim/ginit.vim diff --git a/.config/nvim/ginit.vim b/.config/nvim/ginit.vim deleted file mode 100644 index 1ff65e9..0000000 --- a/.config/nvim/ginit.vim +++ /dev/null @@ -1,5 +0,0 @@ -GuiFont Hack:h9 -GuiTabline 0 -:call GuiClipboard() -let $NVIM_TUI_ENABLE_TRUE_COLOR=1 -set termguicolors diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 546ff24..383c561 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -2,6 +2,7 @@ vim.o.termguicolors = true vim.opt.runtimepath:append("~/.vim") vim.opt.runtimepath:append("~/.vim/after") vim.opt.packpath:append(vim.opt.runtimepath) +vim.o.guifont = "Hack:h9" vim.cmd('source ~/.vimrc') require("formatter").setup() require("mason").setup() diff --git a/.vimrc b/.vimrc index 6ec3b6f..a7b6f7f 100644 --- a/.vimrc +++ b/.vimrc @@ -75,6 +75,7 @@ let g:gitgutter_highlight_linenrs = 1 let g:goyo_width = 120 let g:netrw_banner = 0 let g:netrw_keepdir = 0 +let g:netrw_list_hide = '\(^\|\s\s\)\zs\.\S\+' let g:netrw_liststyle = 3 let g:netrw_localcopydircmd = 'cp -r' let g:netrw_winsize = 20 @@ -125,6 +126,8 @@ map :NERDTreeToggle nnoremap b :BlamerToggle nnoremap g :Goyo nnoremap l :Limelight!! +nnoremap dd :Lexplore %:p:h +nnoremap da :Lexplore " Activate Limelight when Goyo is entered autocmd! User GoyoEnter Limelight