0x75960
11/23/2018 - 1:09 PM

simplified my settings

simplified my settings

set-option -g default-shell /usr/local/bin/xonsh

set -g prefix C-a

unbind C-b

set -sg escape-time 1

set -g base-index 1

setw -g pane-base-index 1

bind r source-file ~/.tmux.conf \; display "Reloaded!"

bind C-a send-prefix

bind | split-window -h
bind - split-window -v

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind -r C-h select-window -t :-
bind -r C-l select-window -t :+

bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5

set -g default-terminal "screen-256color"

set -g status-fg white
set -g status-bg black

setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim

setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright

set -g pane-border-fg green
set -g pane-border-bg black

set -g pane-active-border-fg white
set -g pane-active-border-bg yellow

set -g message-fg white
set -g message-bg black
set -g message-attr bright

set -g status-left-length 40
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
set -g status-right "#[fg=cyan][%Y-%m-%d(%a) %H:%M]"

set -g status-interval 60

set -g status-justify centre

setw -g monitor-activity on
set -g visual-activity on

set -g status-position top
$VI_MODE = True

$INDENT = "    "

$CASE_SENSITIVE_COMPLETIONS = False

#$HISTCONTROL = (ignoredups)

$XONSH_AUTOPAIR = True

$AUTO_CD = True

$XONSH_SHOW_TRACEBACK = True

$SUPPRESS_BRANCH_TIMEOUT_MESSAGE = True

#$PROMPT = "{INTENSE_YELLOW}[ {cwd} ] {GREEN}$ "

$BOTTOM_TOOLBAR = "{BACKGROUND_WHITE}{BLACK}{user}@{hostname}"

$RIGHT_PROMPT = "{curr_branch}"

$XONSH_COLOR_STYLE = 'native'

$COLOR_INPUT = True

$COLOR_RESULTS = True

$SUBSEQUENCE_PATH_COMPLETION = True

$FUZZY_PATH_COMPLETION = True

$AUTO_SUGGEST_IN_COMPLETIONS = True

$AUTO_SUGGEST = True

$AUTO_PUSHD = True

$PUSHD_SILENT = False

if &compatible
  set nocompatible               " Be iMproved
endif

" Required:
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim

" Required:
if dein#load_state('~/.cache/dein')
  call dein#begin('~/.cache/dein')

  " Let dein manage dein
  " Required:
  call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')

  "let s:toml_file = fnamemodify(expand('<sfile>'), ':h').'/dein.toml'
  "call dein#load_toml(s:toml_file)

  " Add or remove your plugins here like this:
  call dein#add('w0ng/vim-hybrid')
  call dein#add('vim-scripts/FuzzyFinder')
  call dein#add('vim-scripts/L9')
  call dein#add('junegunn/vim-easy-align')
  call dein#add('easymotion/vim-easymotion')
  call dein#add('haya14busa/incsearch.vim')

  " Required:
  call dein#end()
  call dein#save_state()
endif

if has('vim_starting') && dein#check_install()
    call dein#install()
endif

" Required:
filetype plugin indent on
syntax enable

" If you want to install not installed plugins on startup.
"if dein#check_install()
"  call dein#install()
"endif


filetype indent plugin on
filetype plugin indent on
syntax enable

set nu
set cursorline

set confirm
set hidden

set autoread
set autoindent

set shiftwidth=4
set tabstop=4
set expandtab
set softtabstop=4

set showmatch
set nowrap
set list
set listchars=tab:>\ ,trail:_,eol:$,nbsp:%

set ignorecase

set backupdir=~/.vim/tmp
set directory=~/.vim/tmp
set undodir=~/.vim/tmp

inoremap jj <ESC>
inoremap JJ <ESC>
vnoremap <SPACE> <ESC>

nnoremap <C-h> <Left>
nnoremap <C-j> <Down>
nnoremap <C-k> <Up>
nnoremap <C-l> <Right>
inoremap <C-h> <Left>
inoremap <C-j> <Down>
inoremap <C-k> <Up>
inoremap <C-l> <Right>

nnoremap <SPACE>h ^
nnoremap <SPACE>l $

nnoremap gs :<C-u>%s///g<Left><Left><Left>
nnoremap vs :<C-u>%s///g<Left><Left><Left>

nnoremap <silent> <ESC><ESC> <ESC>nohlsearch<CR><ESC>

" visual setting
set background=dark
colorscheme hybrid

" EasyMotion
nmap g/ <Plug>(easymotion-sn)
xmap g/ <Plug>(easymotion-sn)
omap g/ <Plug>(easymotion-tn)

" EasyAlign
vmap <Enter> <Plug>(EasyAlign)

" FuzzyFinder
let g:fuf_keyOpen = '<Tab>'
let g:fuf_keyOpenTabpage = '<CR>'
let g:fuf_dir_exclude = 'node_modules'
nnoremap <SPACE>f <ESC>:<C-u>FufFile<SPACE>**/<CR>

autocmd QuickFixCmdPost *grep* cwindow
autocmd QuickFixCmdPost make copen