1
0
Fork 0

Prettify nvim and tmux some more

main
Mari 3 years ago
parent de51da3593
commit 64b2ec6daa
  1. 2
      bash/bash_tmux.sh
  2. 1
      nvim/init.vim
  3. 4
      set-git-urls.sh
  4. 6
      tmux/tmux.conf
  5. 1
      vim/vimrc
  6. 2
      zsh/customizations/zsh_tmux.zsh

@ -17,7 +17,7 @@ function tmux_init() {
function go_tmux ()
{
if [[ "$TERM" == screen* ]]; then
if [[ "$TERM" == screen* ]] || "$TERM" == tmux* ]]; then
echo "You're already inside a tmux instance!"
return 1;
fi

@ -1,4 +1,5 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
set termguicolors " True Color support
let &packpath = &runtimepath
source ~/.vimrc
map <Leader>n <plug>NERDTreeTabsToggle<CR>

@ -0,0 +1,4 @@
#!/bin/bash
cd ${__COMMON_CONFIGS}
git remote set-url origin https://git.reya.zone/reya/common-configs.git
git remote set-url --push origin ssh://git@git.reya.zone/reya/common-configs.git

@ -15,8 +15,10 @@ bind % split-window -h -c "#{pane_current_path}"
# Terminal Properties
#####################
set-option -g default-shell /bin/zsh
set-option -sa terminal-overrides ',xterm:RGB'
set-option -g default-terminal screen-256color-bce
set-option -sga terminal-overrides ',xterm*:Tc'
set-option -sga terminal-overrides ',screen*:Tc'
set-option -sga terminal-overrides ',tmux*:Tc'
set-option -g default-terminal tmux-256color
set-option -sg escape-time 10
############################

@ -36,6 +36,7 @@ syntax on
"hi ALEWarning ctermbg=106 ctermfg=Black
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
set modeline
set expandtab
set shiftwidth=2

@ -11,7 +11,7 @@ function tmux_init() {
}
function go_tmux() {
if [[ "$TERM" == screen* ]]; then
if [[ "$TERM" == screen* ]] || [[ "$TERM" == tmux* ]]; then
>&2 echo "You're already inside a tmux instance!"
return 1
fi

Loading…
Cancel
Save