curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
sudo cat vimrc.bak > ~/.vimrc
Based on nvchad.
To restore the backup configuration, copy this configuration file to ~/.config/nvim.
- use the following cmd to enable the shell script
sudo chmod +x ./setrn.sh
- use the following cmd to run the shell script
sh ./setrn.sh
- my_auto_save
- my_auto_restore_cursor_position
- my_auto_remove_new_lines_comment
- wakatime/vim-wakatime
- iamcco/markdown-preview.nvim
if the iamcco/markdown-preview.nvim
not working when
:MarkdownPreview
use cmd
:call mkdp#util#install()
~/.local/share/nvim/lazy/ui/lua/nvchad/tabufline/modules.lua
Comment out the TbToggle_theme
function and the local variable toggle_themeBtn
like this
---------------------------------------------------------- btn onclick functions -------------------------------------------------
...
-- disable toggle_themeBtn
-- vim.cmd "function! TbToggle_theme(a,b,c,d) \n lua require('base46').toggle_theme() \n endfunction"
...
---------------------------------------------------------- components ------------------------------------------------------------
...
M.buttons = function()
-- disable toggle_themeBtn
-- local toggle_themeBtn = "%@TbToggle_theme@%#TbLineThemeToggleBtn#" .. vim.g.toggle_theme_icon .. "%X"
local CloseAllBufsBtn = "%@TbCloseAllBufs@%#TbLineCloseAllBufsBtn#" .. " " .. "%X"
-- return toggle_themeBtn .. CloseAllBufsBtn
return CloseAllBufsBtn
end
...