This repository is a set of scripts/utilities to improve your productivity at a nix-like terminal.
In particular it provides several ease-of-use wrappers around (and plugins for) the following tools:
- TMUX
- VIM
- ZSH: I am using oh-my-zsh
- Linux (all relatively recent distributions)
- Cygwin
- MacOS-X (use iTerm2). You may want to remap the
Fn
andCtrl
keys if you are like me and are annoyed how Apple insists on being different. Karabiner-Elements seems to work well. - WSL
The required prerequisite packages are
Common:
zsh
neovim
tmux
git
bc
Optionally you can install
- autojump for a fuzzy MRU directory finder.
If you would like copy/paste integration with the system clipboard you will need
Ubuntu Linux
xsel
wl-clipboard # wayland clipboard
Cygwin
xinit
xclip
xclipboard
cygutils-extra
MacOS-X
pbcopy/pbpaste
WSL
Need to copy paste.exe to C:\Windows\System32\paste.exe
.
Simply clone the repository and install
git clone https://github.com/rjmccabe3701/linux_config.git
linux_config/install.sh [/path/to/custom_config]
Run the uninstall script:
linux_config/uninstall.sh
User-specific customization is allowed. Please refer to CUSTOM_CONFIG for details (and examples) of how to set that up. See my linux_config_custom repository for a real-world example.
(this is only applicable for ssh-ing into a machine with linux_config
installed).
VcXsrv seems to work quite well.
I've also had good luck with the cygwin xserver (while Xming works, the clipboard integration is flaky). Just do this in a cygwin terminal:
/usr/bin/XWin -listen tcp -multiwindow
You will need to update your DISPLAY
env variable. To do this inside vim do
let $DISPLAY = 'localhost:11.0'
where localhost:11.0
is determined by opening a new terminal and typing echo $DISPLAY