8000 GitHub - davgonza/dotfiles: some modest dotfiles
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

davgonza/dotfiles

Repository files navigation

dotfiles

I'm mostly writing this because I'm probably going to want to do this again (windows or *nix machine), and I want to make sure I remember how to.

how to make it work:

install

  • git clone https://github.com/davgonza/dotfiles.git

  • git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

  • (optional) in Vim :PluginInstall

  • … and then to make your vimrc, bash_profile easier to work with, update repo, etc...

  • cd ~/dotfiles

  • chmod +x makesymlinks.sh, (on windows, simply run wmakesymlinks.sh)

  • ./makesymlinks.sh

  • voila ! Dot files are easier to update/maintain

maintenance

  • cd ~
  • change vimrc (symbolic link)
  • git push origin master
  • (on other machine)
  • git pull origin master

make it pretty

Setting the theme for VIM in powershell is kind of cumbersome, basically:

  • download registry file: https://github.com/reideast/cmd-colors-monokai
  • and then in powershell, regedit /s C:\directory_to_file\monokai.reg ** OR slightly easier: just double click the .reg file
  • create shortcut to C:\Windows\System32\WindowsPowerShell\v1.0 on desktop

I have weird line ending characters, in VIM?

in the DOS/Windows world, carriage return characters are generated as ^M. To fix this, in vim do: %s/^M$//g (to insert the ^M character, do Ctrl+V Ctrl+M)

About

some modest dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0