changeset 218:12d9ea3a39f0

Fix c-a in tmux
author zegervdv <zegervdv@me.com>
date Mon, 22 Dec 2014 19:16:29 +0100
parents 9332fdb1ff4d
children a7355c906b3e
files tmux.conf vimrc
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tmux.conf	Sat Dec 13 18:06:58 2014 +0100
+++ b/tmux.conf	Mon Dec 22 19:16:29 2014 +0100
@@ -28,6 +28,7 @@
 #act like GNU screen
 unbind C-b
 set -g prefix C-a
+bind-key C-a send-prefix
 
 bind Escape copy-mode
 # Setup 'v' to begin selection as in Vim
@@ -59,9 +60,6 @@
 # increase scrollback lines
 set -g history-limit 10000
 
-# switch to last pane
-bind-key C-a last-pane
-
 setw -g mode-mouse on
 
 # Map window numbers
--- a/vimrc	Sat Dec 13 18:06:58 2014 +0100
+++ b/vimrc	Mon Dec 22 19:16:29 2014 +0100
@@ -19,6 +19,7 @@
 Plug 'tpope/vim-commentary'
 Plug 'wellle/targets.vim'
 Plug 'mtth/scratch.vim'
+Plug 'mrmargolis/dogmatic.vim'
 
 " Undo
 Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' }
@@ -168,6 +169,7 @@
 " Sentences are ended with double spaces
 set cpo+=J
 
+
 " set list
 " set listchars=tab:▸\ ,eol:¬
 " }}}
@@ -535,6 +537,7 @@
 " Dispatch {{{
 nnoremap <leader>s :Make<CR>
 autocmd FileType python setlocal makeprg=ipython\ --pdb\ %
+autocmd FileType ruby setlocal makeprg=ruby\ %
 " }}}
 
 " Load local vimrc