# HG changeset patch # User zegervdv # Date 1412803670 -7200 # Node ID e037d9b797ebf85f2c19f5a524fbcf563fe2e1b4 # Parent 0958749f45f049f37b2c656ad3431d697959423e Fix colors and clipboad in vim and tmux diff -r 0958749f45f0 -r e037d9b797eb tmux.conf --- a/tmux.conf Wed Oct 08 23:27:33 2014 +0200 +++ b/tmux.conf Wed Oct 08 23:27:50 2014 +0200 @@ -7,8 +7,8 @@ # act like vim setw -g mode-keys vi set -g status-keys vi -bind-key -t vi-edit Up -bind-key -t vi-eidt Down +# bind-key -t vi-edit Up +# bind-key -t vi-eidt Down bind h select-pane -L bind j select-pane -D bind k select-pane -U @@ -50,5 +50,6 @@ # Local config if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local' -bind -t vi-copy 'v' begin-selection -bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy" +# bind -t vi-copy 'v' begin-selection +# bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy" +set-option -g default-command "reattach-to-user-namespace -l zsh" diff -r 0958749f45f0 -r e037d9b797eb vim/colors/Tomorrow-Night.vim --- a/vim/colors/Tomorrow-Night.vim Wed Oct 08 23:27:33 2014 +0200 +++ b/vim/colors/Tomorrow-Night.vim Wed Oct 08 23:27:50 2014 +0200 @@ -272,7 +272,7 @@ " Standard Highlighting call X("Comment", s:comment, "", "") - call X("Todo", s:comment, s:background, "") + call X("Todo", s:green, s:background, "") call X("Title", s:comment, "", "") call X("Identifier", s:red, "", "none") call X("Statement", s:foreground, "", "") diff -r 0958749f45f0 -r e037d9b797eb vimrc --- a/vimrc Wed Oct 08 23:27:33 2014 +0200 +++ b/vimrc Wed Oct 08 23:27:50 2014 +0200 @@ -99,6 +99,8 @@ au BufNewFile,BufRead,BufEnter *.txt setlocal spell spelllang=en_gb au BufNewFile,BufRead,BufEnter *.txt setlocal textwidth=0 +highlight SpellBad ctermbg=256 ctermfg=210 +highlight SpellLocal ctermbg=240 ctermfg=010 " When editing a file, always jump to the last known cursor position. " Don't do it for commit messages, when the position is invalid, or when @@ -480,9 +482,9 @@ " }}} " Vim - Rspec {{{ map t :call RunCurrentSpecFile() -map s :call RunNearestSpec() -map l :call RunLastSpec() -map r :call RunAllSpecs() +" map s :call RunNearestSpec() +" map l :call RunLastSpec() +" map r :call RunAllSpecs() " }}} " Cucumber {{{ map f :call RunAllFeatures()