Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

all sorts of stuff

  • Loading branch information...
commit 4268854f7ed0bd4ed7ae8b95f7f795b7188c81df 1 parent e87629f
@kennethlove authored
View
6 .gitmodules
@@ -85,3 +85,9 @@
[submodule ".vim/bundle/vim-xsnippet"]
path = .vim/bundle/vim-xsnippet
url = https://github.com/bloodeclipse/vim-xsnippet.git
+[submodule ".vim/bundle/vim-smartinput"]
+ path = .vim/bundle/vim-smartinput
+ url = https://github.com/kana/vim-smartinput.git
+[submodule ".vim/bundle/vitality.vim"]
+ path = .vim/bundle/vitality.vim
+ url = https://github.com/sjl/vitality.vim.git
View
2  .pentadactyl/info/default/command-history
1 addition, 1 deletion not shown
View
2  .pentadactyl/info/default/local-marks
1 addition, 1 deletion not shown
View
2  .pentadactyl/info/default/register-ring
@@ -1 +1 @@
-[{"text":"to http://www.tumblr.com/","isLine":0,"timestamp":1331768327609000},{"text":"o","isLine":0,"timestamp":1331767565971000},{"text":",","isLine":0,"timestamp":1331767561852000},{"text":" ","isLine":0,"timestamp":1331767561706000},{"text":" ","isLine":0,"timestamp":1331767555800000},{"text":".","isLine":0,"timestamp":1331767555665000},{"text":"a","isLine":0,"timestamp":1331767555148000},{"text":"n","isLine":0,"timestamp":1331767555013000},{"text":"d","isLine":0,"timestamp":1331767554833000},{"text":" ","isLine":0,"timestamp":1331767554698000}]
+[{"text":"to http://forums.somethingawful.com/usercp.php","isLine":0,"timestamp":1335560811506000},{"text":"to http://www.tumblr.com/","isLine":0,"timestamp":1335560429129000},{"text":"weeds","isLine":0,"timestamp":1335558299553000},{"text":"d","isLine":0,"timestamp":1335558297343000},{"text":"Movies, TV shows, actors, directors, genres","isLine":0,"timestamp":1335558295545000},{"text":"to netflix.com","isLine":0,"timestamp":1335558242991000},{"text":"to quora.com","isLine":0,"timestamp":1335558230915000},{"text":"to imdrunk.com","isLine":0,"timestamp":1335558097994000},{"text":"n","isLine":0,"timestamp":1335558096947000},{"text":"o http://forums.somethingawful.com/usercp.php","isLine":0,"timestamp":1335557803866000}]
View
21 .tmux.conf
@@ -12,8 +12,9 @@ unbind %
bind v split-window -h
bind s split-window -v
-set -g visual-activity off
-setw -g monitor-activity on
+# set -g visual-activity on
+# setw -g monitor-activity on
+# set -g status-justify centre # center the window list
setw -g window-status-current-fg black
setw -g window-status-current-bg white
@@ -33,8 +34,12 @@ set -g status-left '#[fg=green]#T'
setw -g mode-mouse on
set -g mouse-select-pane on
+set -g mouse-resize-pane on
+set -g mouse-select-window on
-set-option -g default-command "reattach-to-user-namespace -l zsh"
+set-option -g default-command "reattach-to-user-namespace -l /usr/local/bin/zsh"
+
+bind-key Y run-shell "tmux save-buffer - | reattach-to-user-namespace pbcopy"
#### Powerline
# Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤
@@ -64,3 +69,13 @@ set -g pane-active-border-fg colour39
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
+
+##### Vi keys for Copy and Paste
+#unbind [
+#bind Escape copy-mode
+#unbind p
+#bind p paste-buffer
+#bind -t vi-copy 'v' begin-selection
+#bind -t vi-copy 'y' copy-selection
+#bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
+#bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer"
1  .vim/bundle/vim-smartinput
@@ -0,0 +1 @@
+Subproject commit c01d81a697de5e28452f32762a9c8fbe3eac0496
1  .vim/bundle/vitality.vim
@@ -0,0 +1 @@
+Subproject commit 700e28967484effcc1243c0a7c9fee9edaf5b53b
View
31 .vimrc
@@ -474,9 +474,6 @@ inoremap <A-j> <Esc>:m+<CR>==gi
inoremap <A-k> <Esc>:m-2<CR>==gi
vnoremap <A-j> :m'>+<CR>gv=gv
vnoremap <A-k> :m-2<CR>gv=gv
-" reselect block after outdent/indent
-vnoremap < <gv
-vnoremap > >gv
" Mac OS X/Safari keybindings for tabs
nmap <D-{> :tabprevious<CR>
@@ -974,17 +971,25 @@ endfunc
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" Add the virtualenv's site-packages to vim path
-py << EOF
-import os.path
-import sys
-import vim
-if os.environ['VIRTUAL_ENV']:
- project_base_dir = os.environ['VIRTUAL_ENV']
- sys.path.insert(0, project_base_dir)
- activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
- execfile(activate_this, dict(__file__=activate_this))
-EOF
+"py << EOF
+"import os.path
+"import sys
+"import vim
+"if os.environ['VIRTUAL_ENV']:
+" project_base_dir = os.environ['VIRTUAL_ENV']
+" sys.path.insert(0, project_base_dir)
+" activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
+" execfile(activate_this, dict(__file__=activate_this))
+"EOF
nmap <F3> <C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR><Esc>
imap <F3> <C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>
+nnoremap U :syntax sync fromstart<CR>:redraw!<CR>
+
+" Yank text to the OS X clipboard
+noremap <leader>y "*y
+noremap <leader>yy "*Y
+
+" Preserve indentation while pasting text from the OS X clipboard
+noremap <leader>p :set paste<CR>:put *<CR>:set nopaste<CR>
Please sign in to comment.
Something went wrong with that request. Please try again.