space
is the leader for most custom commands
Shortcut | Description |
---|---|
space ev |
Edit vimrc |
shift \ |
Toggle Nerd Tree visibility, See help by typing ? |
space w |
Save current file |
space y |
Copy to system clipboard |
space p |
Paste from system clipboard |
space e |
Refresh current pane/window |
space o |
Fuzzy file finder |
space space |
Cancel highlight |
C-a
is the leader for most custom commands
Shortcut | Description |
---|---|
C-a a |
Enter copy mode, use vi keys to navigate |
C-a g |
Open git status pane, requires watch command |
C-a shift + vi-keys |
Resize current pane |
C-a C-s |
Toggle sync mode |
- Expand custom shortcut list
- tmux
- vim
- git
- watch
- the_silver_searcher
- Use
brew
to install dependencies (Ignore this if planning to run ./install.sh)
brew update
brew install git tmux vim the_silver_searcher
- Clone this repository into your code directory.
git clone [email protected]:GeorgeTaveras1231/dev_env.git
Before running the install script, run the dry run script and make sure everything checks off
The dry run output should look like:
/Users/you/code/dev_env/stubs/brew
Installing dependencies...
Updating brew...dup dip dap dip doop.
Installing dependencies...dup dip dap dip doop.
Dependencies: [ 'git', 'tmux', 'vim', 'the_silver_searcher' ]
Installing tmux
Creating link: [ '-s',
'/Users/you/code/dev_env/tmux/tmux.conf',
'/Users/you/.tmux.conf' ]
Installing vim
Making directory: [ '-p', '/Users/you/.vim/scripts' ]
Fetching with curl: [ '-fLo',
'/Users/you/.vim/autoload/plug.vim',
'--create-dirs',
'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ]
Creating link: [ '-s',
'/Users/you/code/dev_env/vim/vimrc',
'/Users/you/.vimrc' ]
Creating link: [ '-s',
'/Users/you/code/dev_env/vim/plugins.vim',
'/Users/you/.vim/scripts/plugins.vim' ]
Creating link: [ '-s',
'/Users/you/code/dev_env/vim/mappings.vim',
'/Users/you/.vim/scripts/mappings.vim' ]
Creating link: [ '-s',
'/Users/you/code/dev_env/vim/ftplugin',
'/Users/you/.vim/ftplugin' ]
Vim command: [ '+PlugInstall',
'+qall',
'-u',
'/Users/you/.vim/scripts/plugins.vim' ]
Vim command: [ '+VimProcInstall',
'+qall',
'-u',
'/Users/you/.vim/scripts/plugins.vim' ]
- Run the
install.sh
script provided
cd dev_env
./install.sh
- Start
vim
and observe new color scheme esc
and arrow keys are no longer mapped...must usejk
andhjkl
keys, respectively.
- Start
tmux
and observe new status bar at the bottom of terminal window.