Skip to content

Instantly share code, notes, and snippets.

@kozko2001
Last active August 29, 2015 13:56
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 kozko2001/8898892 to your computer and use it in GitHub Desktop.
Save kozko2001/8898892 to your computer and use it in GitHub Desktop.
Setting up REPL (Read–eval–print loop) for vim and python
### If using iTerm2 powershell was not getting my colors right...
alias tmux="tmux -2"
set -g default-terminal "screen-256color"
unbind C-b
set -g prefix C-a
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## So we can now use Ctrl-a + a To begin of line in bash / vim
bind a send-prefix
set -g history-limit 5000
Bundle 'epeli/slimux'
map <Leader>s :SlimuxREPLSendLine<CR>
vmap <Leader>s :SlimuxREPLSendSelection<CR>
map <Leader>a :SlimuxShellLast<CR>
map <Leader>k :SlimuxSendKeysLast<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment