Skip to content

yxyfer/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yxyfer's Dotfiles 🚀

  1. Intro - Quick Install
  2. Terminal Profile
    2.1 config.sh
    2.2 custom prompt
    2.3 git integration
  3. Vim Profile
    3.1 Vim Installation
    3.2 YxyComment
    3.3 YxyHeader
  4. Git Profile
  5. About the Purple Themes

How to setup yxyfer's dotfiles easily?

  1. You don't need anything! --> Installs everything including Oh-my-zsh and the necessary plugins. ( you can add some by modifying the install file.
  2. go in the dotfiles folder.
  cd ~/dotfiles # if dotfiles is at your root. 
  1. source install
  source install
  1. multiple options:
  termi # to Install terminal profile
  vimi  # to Install vim profile (includes custom purple_theme)
  giti  # to Install git
  1. if you're on a mac (with original terminal)

    you can import the purple_theme.terminal in the terminal configurations and set it to default

  2. You're Done :) enjoy

About the Terminal Profile ✍️

[ ] TODO: Explain the different plugins

Configs.sh

alt text

  • This is essentially the .zshrc.

Custom folder

Prompt.sh

alt text

  • This is a fully custom prompt
  • It's designed to be extremely fast and simple without any useless functionality
format: user.name dir-1/dir >   [...]   [git-branch] // Git branch on the right

Git integration:

alt text

What everything means:

  • new file red dot.
  • Modified file orange dot.
  • added file green dot.
  • pull red down arrow
  • Committed file blue up arrow

About the Vim Profile

alt text

  • My personal Vim profile
  • adds quite a lot of features.
  • Includes a custom and fast status line

Install Vim Profile

cd ~/dotfiles
source install
vimi

vim # Inside vim 
:PlugInstall
  • If you code in C you might want to run the following command as well:
c_completion # installs C completion for YMC
  • You may want to change $user_name in .vimrc to your name for header generation

YxyComment

Super light comment manager for vim!

  • As always: No fluf just the strictly necessary features.

usage:

  • Type in ,c to comment a line.
  • Type in ,c again to uncomment a line.
  • Normal selection operator work (you can thus comment/uncomment multiple lines at once when selecting before applying the shortcut)

YxyHeader

  • You may want to change $user_name in .vimrc to your name for header generation
  • Automatic Header generation for your coding files - Provides some information about what you are writing

[ ] TODO add features

About Git profile

  • Installation:
    giti "John Appleseed" john@hello.com johnyyyyy

About the purple_theme themes 💜

alt text

  • Two versions:
    • Vim
    • Mac terminal
  • This two themes have been thought and made to work together.
  • You will notice that the terminal theme is a bit darker than the vim theme because otherwise I had trouble differentiating them...
  • they are easy on the eyes :).