Last active
August 29, 2015 13:56
-
-
Save kozko2001/8898892 to your computer and use it in GitHub Desktop.
Setting up REPL (Read–eval–print loop) for vim and python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### If using iTerm2 powershell was not getting my colors right... | |
alias tmux="tmux -2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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