Skip to content

Commit

Permalink
feat: remove tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkn committed Aug 21, 2024
1 parent 24112f6 commit 64fef5a
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 117 deletions.
87 changes: 0 additions & 87 deletions .tmux.conf

This file was deleted.

4 changes: 0 additions & 4 deletions .zshrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# start tmux
# export PATH="/opt/homebrew/bin:$PATH" # to recognize tmux
# [[ -z "$TMUX" ]] && tmux -u

ENABLE_CORRECTION="true"

source "$HOME/dotfiles/zsh/path.zsh"
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ curl -s https://raw.githubusercontent.com/ebkn/dotfiles/master/bin/init/ubuntu.s
- install by [homebrew-bundle](https://github.com/Homebrew/homebrew-bundle), [homebrew-cask](https://github.com/Homebrew/homebrew-cask)(mac only)
- [zsh](https://github.com/zsh-users/zsh)
- install [plugins](https://github.com/ebkn/dotfiles/blob/master/zsh/plugin.zsh) by [zinit](https://github.com/zdharma/zinit)
- [tmux](https://github.com/tmux/tmux)
- [neovim](https://github.com/neovim/neovim)
- install [plugins](https://github.com/ebkn/dotfiles/blob/master/vim/dein) by [dein](https://github.com/Shougo/dein.vim)
- and some setting files
Expand Down
7 changes: 0 additions & 7 deletions bin/init/macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ rm ~/installer.sh

printf "\n--- Installing shell packages ---\n"
brew bundle --file="~/dotfiles/brewfiles/Brewfile-shell"
[ -f ~/.tmux.conf ] && mv ~/.tmux.conf ~/backup/
[ -f ~/.bash_profile ] && mv ~/.bash_profile ~/backup/
[ -f ~/.bashrc ] && mv ~/.bashrc ~/backup/
[ -f ~/.vimrc ] && mv ~/.vimrc ~/backup/
Expand All @@ -73,7 +72,6 @@ brew bundle --file="~/dotfiles/brewfiles/Brewfile-shell"
ln -s ~/dotfiles/.gitignore_global ~
ln -s ~/dotfiles/.bash_profile ~
ln -s ~/dotfiles/.bashrc ~
ln -s ~/dotfiles/.tmux.conf ~
ln -s ~/dotfiles/.vimrc ~
ln -s ~/dotfiles/.xvimrc ~
ln -s ~/dotfiles/.ideavimrc ~
Expand All @@ -88,11 +86,6 @@ sudo ln -s /usr/local/share/git-core/contrib/diff-highlight/diff-highlight /usr/

source ~/.zshrc

printf "\n--- Starting tmux ---\n"
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux
tmux source-file ~/.tmux.conf

printf "\n--- Installing languages from homebrew ---\n"
brew bundle --file="~/dotfiles/brewfiles/Brewfile-lang"

Expand Down
11 changes: 0 additions & 11 deletions bin/init/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ git clone \
https://github.com/adobe-fonts/source-code-pro ~/.local/share/fonts/source-code-pro
fc-cache -f -v ~/.local/share/fonts/adobe-fonts/source-code-pro


printf "\n--- Installing zsh ---\n"
sudo apt install zsh

Expand All @@ -42,16 +41,6 @@ printf "\n--- Starting zsh ---\n"
zsh
source ~/.zshrc

printf "\n--- Installing tmux ---\n"
sudo apt install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
[ -f ~/.tmux.conf ] && mv ~/.tmux.conf ~/backup/
ln -s ~/dotfiles/.tmux.conf ~

printf "\n--- Starting tmux ---\n"
tmux
tmux source-file ~/.tmux.conf

printf "\n--- Installing vim ---\n"
sudo apt install vim

Expand Down
1 change: 1 addition & 0 deletions brewfiles/Brewfile-cask
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ cask 'kindle'
cask 'zoom'
cask 'deepl'
cask 'typora'
cask 'wezterm'
1 change: 0 additions & 1 deletion brewfiles/Brewfile-shell
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
brew 'zsh'
brew 'tmux'
brew 'vim'
brew 'fzf'
brew 'neovim'
Expand Down
1 change: 0 additions & 1 deletion vim/color.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
" enable 256 colors
set t_Co=256

" tmux
if (empty($TMUX))
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
Expand Down
4 changes: 0 additions & 4 deletions vim/dein/instantly/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ nnoremap <silent>sd <Plug>(operator-surround-delete)
nnoremap <silent>sr <Plug>(operator-surround-replace)
'''

# improved autoread
[[plugins]]
repo = 'tmux-plugins/vim-tmux-focus-events'

# for vim-delve
[[plugins]]
repo = 'benmills/vimux'
Expand Down
1 change: 0 additions & 1 deletion zsh/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ alias vim='nvim'

# dotfiles
alias dot='cd ~/dotfiles'
alias tmuxs='tmux source-file ~/.tmux.conf'
alias zshrc='vim ~/.zshrc'

# requires procs
Expand Down

0 comments on commit 64fef5a

Please sign in to comment.