Skip to content

Instantly share code, notes, and snippets.

@ejcx
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejcx/e9de6f533f424a1fdfc8 to your computer and use it in GitHub Desktop.
Save ejcx/e9de6f533f424a1fdfc8 to your computer and use it in GitHub Desktop.
config
set -g default-terminal "xterm-256color"
setw -g xterm-keys on
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 -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
fu! Kernelstyle()
set sw=8
set ts=8
set noexpandtab
endf
fu! Normalstyle()
syntax on
set tabstop=2
set shiftwidth=2
set expandtab
set ai
set number
set hlsearch
set ruler
set incsearch
highlight Comment ctermfg=green
endf
call Normalstyle()
PS1="\w \u \`if [ \$? = 0 ]; then echo -e '\[\e[01;32m\]:)'; else echo -e '\[\e[01;31m\]:('; fi\` \[\e[01;34m\]\[\e[00m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment