enzo-mourany / dotfiles

My setup to be productive and code faster. The dotfiles are organized in a simple and clean structure, making it easy to navigate and understand.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues

Table of Contents
  1. About
  2. Getting Started
  3. Usage
  4. Contact

About

My personal configuration for my terminal, vim, vscode, etc... to be more productive


Built With

  • Shell
  • Lua
  • Vim

back to top

Getting Started

Prerequisites

Install lua

brew install lua

Install cargo

curl https://sh.rustup.rs -sSf | sh

Install Homebrew (macos)

Brew is a package manager for macos

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install iTerm

If you are using basic terminal on your mac you should install iTerm which is better built and looks better

brew install --cask iterm2

Install oh-my-zsh

To get this render

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install powerlevel10k

Clone this repository to use powerlevel10k and get a better render. If git is not already installed, go to this page

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Now open ~/.zshrc and set ZSH_THEME="powerlevel10k/powerlevel10k"`

Quit iTerm and relaunch it

A special page will appear and you will have to select proposals to configure powerlevel10k

More info on powerlevel10k github page

Finally quit et relaunch iTerm again and see the result

If you want to edit the configuration :

p10k configure

You can also edit the code on ~/.p10k.zsh

Install Plugins

Syntax Highlighting

brew install zsh-syntax-highlighting

Enable the syntax highlighting :

source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

back to top

VSCode

Installation

brew install --cask visual-studio-code

Setup VSCode Terminal

After configuring oh-my-zsh, VSCode's terminal does not support powerlevel10k icons. So you have to go to vscode settings.json

Go to Settings and search terminal font and change the value to MesloLGS NF

Setup VSCode Settings

Go to Settings and search settings.json. Then copy the content of vscode-settings.json to your settings.json

{
  "workbench.colorTheme": "Palenight Theme",
  "python.defaultInterpreterPath": "/opt/homebrew/bin/python3",
  "editor.suggestSelection": "first",
  "editor.wordWrap": "on",
  "files.exclude": {
    "**/.project": true,
    "**/.settings": true,
    "**/.classpath": true,
    "**/.factorypath": true
  },

  ... // go check vscode/settings.json

}

settings.json

back to top

Hyper

Hyper is a simple to use and efficient terminal coded in javascript. It's easy to configure it to make it use for any use

Installation (with brew)

brew install --cask hyper

Install Hyper Command

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

Change font family

code ~/.hyper.js

or

vim ~/.hyper.js

Change the value of fontFamily


Night Owl Theme

hyper i hyper-night-owl

Install Fig (brew)


brew install --cask fig

Setup Fig

Restart Hyper


Set low opacity


hyper i hyper-opacity

Change the value of opacity which is default 1 to 0.85 for example

Install Plugins

Go to this link to see and install some plugins


NeoVim

Installation

brew install neovim

To config Neovim you have to go to ~/.config/nvim on MacOS

LunarVim


For several months I used a Neovim config that I had created especially for web and mobile development. I recently switched to LunarVim which allows me to have additional features and better rendering

Installation (MacOS)

bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)

To config Neovim you have to go to ~/.config/lvim and ~/.local/share/lunarvim on MacOS

Edit .zshrc and add PATH=$PATH:~/.local/bin

Now enter lvimto open lunarVim


  • This is the render with javascriptreact file


  • To open the integral terminal on your lunarVim window, press ctrl + t


  • Lunar Vim uses telescope — a fuzzy file finder and pattern matching machine. Use it to open files by pressing space + f. You can also open this from the welcome screen


  • Pressing g while in normal mode will open up a different set of options which are incredibly useful. Go to definition, reference, and more!


  • To split window vertically, press escape and type :vsplit

  • To split window horizontally, type :split


  • You can display the file explorer by typing space + e


Author

👤 Enzo Mourany

Show your support

Give a ⭐️ if this project helped you!

About

My setup to be productive and code faster. The dotfiles are organized in a simple and clean structure, making it easy to navigate and understand.


Languages

Language:Lua 84.8%Language:Shell 10.4%Language:PowerShell 3.8%Language:Dockerfile 0.6%Language:Makefile 0.3%