Skip to content

Instantly share code, notes, and snippets.

@fumihumi
Last active January 3, 2020 08:19
Show Gist options
  • Save fumihumi/d8814569f2a9498cd190324a81a0d00e to your computer and use it in GitHub Desktop.
Save fumihumi/d8814569f2a9498cd190324a81a0d00e to your computer and use it in GitHub Desktop.
minimum config setting
function share_history {
history -a
history -c
history -r
}
PROMPT_COMMAND='share_history'
shopt -u histappend
export HISTSIZE=9999
set number
set fenc=utf=8
set nobackup
set autoread
set hidden
set showcmd
set cursorline
" column high right
"set cursorcolumn
set virtualedit=block
set smartindent
set laststatus=2
set wildmode=list:longest
set ignorecase
set smartcase
set incsearch
set wrapscan
set hlsearch
nmap <Esc><Esc> :nohlsearch<CR><Esc>
unbind C-b
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
bind | split-window -h
bind - split-window -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment