diff --git a/.tmux.conf2 b/.tmux.conf2 index d78fc6d..2b788d3 100644 --- a/.tmux.conf2 +++ b/.tmux.conf2 @@ -1,5 +1,7 @@ set -g prefix ^a +set -g mouse off set -g default-terminal "xterm-256color" +set -g history-limit 10000 # plugins set -g @plugin 'https://hub.fastgit.xyz/thewtex/tmux-mem-cpu-load' @@ -45,4 +47,4 @@ set -g window-status-bell-style fg=colour237,bg=colour214 # panes and windows set -g pane-active-border-style fg=brightblue set -g window-style fg=colour248 -set -g window-active-style fg=white \ No newline at end of file +set -g window-active-style fg=white diff --git a/.vimrc2 b/.vimrc2 new file mode 100644 index 0000000..b40402e --- /dev/null +++ b/.vimrc2 @@ -0,0 +1,22 @@ +set cursorline +set nocompatible +set syntax=on +set autoindent +set smartindent +set tabstop=4 +set expandtab "spaces instead of tabs +set number "line numbers +set history=1000 +set ignorecase "when searching +set smartcase "but not when containing upper case chars +set linebreak +"set termguicolors "true color +set completeopt=preview,menu "auto complete +set laststatus=2 "always show statusline +hi User1 ctermfg=21 ctermbg=15 +hi User2 ctermfg=237 ctermbg=214 +hi User3 ctermfg=15 ctermbg=2 +au InsertEnter * hi User3 ctermfg=15 ctermbg=5 +au InsertLeave * hi User3 ctermfg=15 ctermbg=2 +set statusline=%3*\ %{mode()}\ %*[%F](%{\"\".(&fenc==\"\"?&enc:&fenc).((exists(\"+bomb\")\ &&\ &bomb)?\"+\":\"\").\"\"},%{&ff},%Y)%2*%r%1*%m%*%<%=\'0x%B\'\ [Line:%l/%L,Col:%c][%p%%] +filetype on diff --git a/install.sh b/install.sh index c64457d..57dea67 100755 --- a/install.sh +++ b/install.sh @@ -188,6 +188,7 @@ install(){ install_crontab insert_if_not_exist "${HOME}/.zshrc" "source ${dotfile_home_path}/.zshrc2" insert_if_not_exist "${HOME}/.tmux.conf" "source-file ${dotfile_home_path}/.tmux.conf2" + insert_if_not_exist "${HOME}/.vimrc" "source ${dotfile_home_path}/.vimrc2" create_symlink "${dotfile_path}/.ssh/authorized_keys2" "${HOME}/.ssh/authorized_keys2" fmt_note "done installing!" } @@ -198,6 +199,7 @@ uninstall(){ uninstall_crontab delete_if_exist "${HOME}/.zshrc" "source ${dotfile_home_path}/.zshrc2" delete_if_exist "${HOME}/.tmux.conf" "source-file ${dotfile_home_path}/.tmux.conf2" + delete_if_exist "${HOME}/.vimrc" "source ${dotfile_home_path}/.vimrc2" delete_link_if_match "${dotfile_path}/.ssh/authorized_keys2" "${HOME}/.ssh/authorized_keys2" fmt_note "done uninstalling!" fi