-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
39 lines (32 loc) · 1.73 KB
/
README
File metadata and controls
39 lines (32 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This is basically now my bash + x settings
Ubuntu note:
- need to install https://bitbucket.org/sjl/hg-prompt, clone and add .hgrc file to home dir.
- sudo apt-get install vim-gtk, for clipboard support.
- sudo apt-get install vim-nok, for ruby support, is this needed if we do vim-gtk?
- need to install ruby1.8-dev, for compile vim command-t
- git config --global color.ui true
- git config --global alias.ci "commit"
- git config --global alias.co "checkout"
To get remote linux clipboard available locally (in vim), do: http://unix.stackexchange.com/questions/35285/is-there-a-clipboard-on-non-gui-ubuntu-linux-systems-can-i-synchronize-it-wit
- config X11 to share clipboard (need to start X11)
- X11 forwarding (ssh -X)
- vim with +xterm_clipboard support, check with vim --version
Tmux clipboard, need to: http://robots.thoughtbot.com/post/19398560514/how-to-copy-and-paste-with-tmux-on-mac-os-x
- brew install reattach-to-user-namespace
- and in .tmux.conf have: set-option -g default-command "reattach-to-user-namespace -l sh"
- and in .vimrc have: set clipboard+=autoselect
Python virtualenv
And a very good clipboard manager:
http://anamnesis.sourceforge.net/
Very good note taking software inspired by Notational Velocity
https://github.com/cpbotha/nvpy
Setting up tmux remote: http://jjasonclark.com/Remote-Pairing-with-SSH-and-Tmux-on-a-Mac
- set up account for remote
- enable ssh log in for that account in preference Sharing
- add the following to the end of /etc/sshd_config
Match User remotepair
X11Forwarding no
AllowTcpForwarding no
ForceCommand /usr/local/bin/tmux -S /tmp/pair attach -t workenv
- setting up the shared Tmux session, the two ~/bin file: remotepair and pair
- profit!