mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
feat: Migrate Vim and Tmux plugins to dedicated managers
Migrated Vim plugins from Git submodules to vim-plug, and Tmux plugins to TPM (Tmux Plugin Manager). This change: - Updates `install.sh` to automatically install vim-plug and TPM. - Modifies `dotfiles/vimrc` to configure plugins via vim-plug. - Modifies `dotfiles/tmux.conf` to configure plugins via TPM. - Removes all Vim and Tmux submodule entries from `.gitmodules`. - Deletes the old submodule directories from the repository. This streamlines plugin management, making updates easier and reducing the complexity of the main `install.sh` script.
This commit is contained in:
@@ -67,12 +67,10 @@ bind M \
|
||||
bind C-c run "tmux show-buffer | xsel -i -b"
|
||||
bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer"
|
||||
|
||||
# Enable logging module, if available
|
||||
run-shell "~/.tmux/tmux-logging/logging.tmux || true"
|
||||
|
||||
# Enable TMUX Plugin Manager
|
||||
# install with:
|
||||
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
run-shell "~/.tmux/plugins/tpm/tpm || true"
|
||||
set -g @plugin 'tmux-plugins/tmux-logging'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Submodule dotfiles/tmux/tmux-logging deleted from b5c5f7b9bc
Submodule dotfiles/vim/pack/matir/opt/solarized8 deleted from 7693d4aaa7
Submodule dotfiles/vim/pack/matir/start/editorconfig deleted from 6a58b7c11f
Submodule dotfiles/vim/pack/matir/start/fugitive deleted from 4a745ea72f
Submodule dotfiles/vim/pack/matir/start/surround deleted from 3d188ed211
@@ -9,6 +9,17 @@ if !isdirectory($HOME . '/.cache/vim/swap')
|
||||
silent !mkdir -p ~/.cache/vim/{backup,swap,undo}
|
||||
endif
|
||||
|
||||
" vim-plug plugin list
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
Plug 'lifepillar/vim-solarized8'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" Make sure files get completely written, but don't write backups
|
||||
set nobackup
|
||||
set writebackup
|
||||
|
||||
Reference in New Issue
Block a user