Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.52 KB

README.md

File metadata and controls

73 lines (50 loc) · 2.52 KB

dotfiles

Dotfiles are the threads that hold the IDE together. Each tool has a configuration file - a dotfile. For the shell it's (.zshrc) for neovim it's the more modern (.config/nvim/init.vim) .

To keep track of the dotfiles and bootstrap the enviornment we use "yet another dotfiles manager".

Installation

You first need to get yadm - yet another dotffile management. In OSX it's brew install yadm and on Ubuntu it's apt install yadm.

Once you have yadm, fork this repo and then yadm clone <fork's url>. It will ask you whether to run the bootstrap file. Answer yes and it'll be installed and configured for you.

If it fails, DON'T PANIC. Please copy the screen output and paste into an issue and mark it as a bug and we'll help.

Batteries Included

Aliases

  • hi - to print last 100 commands
  • vi - for neovim
  • lg - concise git log & tree

Using ^ for ctrl:

Basic Keystrokes

"^" is for CTRL:

Splitting windows:

* ^a | - split verticlly  
* ^a - - split verticlly  
* ^a x - kill pane 

Pane Navigation:

The vim-tmux-navigator plugin let's us move seamlessly between vim and tmux panes.

* ^a ^h - move one pane right
* ^a ^l - move one pane left
* ^a ^j - move one pane down
* ^a ^k - move one pane up

State

tmux-resurrect let's us store and restore all the panes. As long as you remember to save occasionaly,

* ^a ^s - Saving current windows and panes
* ^a ^r - Restore the last saved windows and panes