Inspired by holmans dotfiles Rakefile. Since some moron systems don't ship with ruby I wanted to use a pure shell script based installation. Luckily we can install ruby later with the help of rvm.
How to use this:
./dotey install
Symlink dotfiles to the home directory
./dotey uninstall
Remove all dotfile symlinks from home directory and restore from backup if possible
./dotey update
Fetch updates from the repository and update symlinks if needed
./dotey link
Update symlinks if needed
./dotey privatedots install
Decrypt and unpack your private dotfiles and install them at this computer
./dotey privatedots link
Link newly added private dotfiles to your home directory
./dotey privatedots pack
Encrypt and pack your private dotfiles to transfer them to another box
./dotey privatedots delete
Delete your private dotfiles from this computer
- Open a fresh shell/Terminal session
- git clone git://github.com/ftf/dotfiles .dotfiles
- or if the system has no git installed, grab the zip file
- -> wget https://github.com/ftf/dotfiles/zipball/master && unzip master -d .dotfiles && rm master
- cd .dotfiles
- ./dotey install
- dotey should work with different pathnames too, but I wouldn't count on it
- to use a couple of neat vim bundles run:
./dotey vimupdate
- get the lolcat gem for color awesomeness
If you want, yes.
Or you can skip to the next file without replacing it or you can choose
to move your file to .dotfiles/backup
.
Store them at .dotfiles/privatedots/zsh/
as somefile.zsh
.
Git will ignore them, so you won't share any sensitive information if
you fork this repo.
As above, store them at .dotfiles/privatedots/bash
as somefile.bash
Just put them in .dotfiles
and name them something.symlink
to get them linked to your home directory, to do this run
./dotey link
.
Example: ~/.dotfiles/.someth.ing.symlink
will be linked to ~/.someth.ing
Just run ./dotey link
Put them in .dotfiles/privatedots. When they should be linked to your
home directory add as before .symlink
to the filename.
To link newly added private dotfiles use ./dotey privatedots link
The privatedots
directory will be compressed with tar/bzip2 and
afterwards encrypted with openssl/des.
- Run
./dotey privatedots pack
and enter a password when prompted - Copy the privdots.des3 file to anothers box
.dotfile
directory by ftp/sftp/scp/rsync whatever - At the other machine run
./dotey privatedots install
Just run ./dotey privatedots delete
and they are gone
While this thought should be appreciated, you probably don't want to share your ftp or irssi passwords with everyone out there.
Launch vim and run :PlugInstall thanks to the awesome [vim-plug]:(https://github.com/junegunn/vim-plug)
- The Leader key is mapped to the space bar. (thx sheerun)
- Switch a buffer with CtrlP
Space + b
- Open a new file with CtrlP
Space + o
- Un-/Comment a line:
gcc
- Un-/Comment a visual block:
gc
- Fast window navigation with:
,k
,j
,h
,l
- View hidden characters:
Space + h
- Disable highlighted search result:
Space + q
- Enable//Disable line numbers:
Space + l
- View syntastic errors:
Space + e
- Use
tab
to jump through results in the youcompleteme omnibox, - use
ctrl+j
to expand a snippet - On a Mac, open the file in chrome:
Space + cr
- On a Mac, open the file in safari:
Space + sf
- Toggle line wrapping with
Space + w
- Toggle paste mode with
Space + p
- Toggle vim hardmode with
Space + k
(Disables all for cursor keys andh,j,k,l
)
All vim plugins that are pulled in right now:
- You complete me
- GitGutter
- Airline
- bufferline
- colorschemes
- fugitive
- syntastic
- trailing whitespace
- matchit
- emmet
- nerdtree
- vim-indent
- Vim plugin: vim-smartinput
- multiple coursors
- ctrlp
- ultisnips
- snippets
- vim commentary
- Javascript Syntax
- Javascript Indent
Go fork the repo and come up with something better.
The same applies if you don't like my config files ;)