Giter Site home page Giter Site logo

wesleyegberto / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 8.49 MB

My dotfiles (.zshrc, .vimrc, .tmux.conf)

License: MIT License

Shell 37.01% Dockerfile 0.31% Lua 53.13% Vim Script 9.56%
vim neovim tmux omnisharp-vim vim-extension zsh dotfiles fzf lsp lsp-java

dotfiles's Introduction

My Dotfiles

##########################################################
#                            ___                         #
#                           /\_ \                        #
#  __  __  __     __    ____\//\ \      __   __  __      #
# /\ \/\ \/\ \  /'__`\ /',__\ \ \ \   /'__`\/\ \/\ \     #
# \ \ \_/ \_/ \/\  __//\__, `\ \_\ \_/\  __/\ \ \_\ \    #
#  \ \___x___/'\ \____\/\____/ /\____\ \____\\/`____ \   #
#   \/__//__/   \/____/\/___/  \/____/\/____/ `/___/> \  #
#   __          __       ___      ___            /\___/  #
#  /\ \        /\ \__  /'___\ __ /\_ \           \/__/   #
#  \_\ \    ___\ \ ,_\/\ \__//\_\\//\ \      __    ____  #
#  /'_` \  / __`\ \ \/\ \ ,__\/\ \ \ \ \   /'__`\ /',__\ #
# /\ \_\ \/\ \_\ \ \ \_\ \ \_/\ \ \ \_\ \_/\  __//\__, `\#
# \ \___,_\ \____/\ \__\\ \_\  \ \_\/\____\ \____\/\____/#
#  \/__,_ /\/___/  \/__/ \/_/   \/_/\/____/\/____/\/___/ #
#                                                        #
##########################################################

My scripts and dotfiles for Zsh, Tmux, NeoVim, Git.

My Setup

  • Bash: I'm using Kitty + Oh-My-Zsh + Tmux.
  • Fonts: Microsoft Cascadia Code with ligatures on iTerm2, VS Code, so on.
  • Windows manager: Amethyst.

Aliases & Key mappings:

Instructions

First install Xcode: xcode-select --install

The folder macosx_setup contains the scripts to set the mac OS defaults and install the apps and tools.

sh ./macosx_setup/macos_setup_script.sh

Manual Installation

Git configuration

Copy the content of file .gitconfig to ~/.gitconfig.

Zsh

Install Zsh: brew install zsh

Install Oh-My-Zsh following this steps: sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Then install the plugin manager: sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh)"

Copy the content of file .zshrc to ~/.zshrc.

Tmux

Install Tmux following this steps: brew install tmux

Copy the content of file tmux/.tmux.conf to ~/.tmux.conf.

NeoVim

Install NeoVim following this steps: brew install neovim

Neovim 0.4

For Neovim 0.4, see this branch.

Neovim 0.5+ with Lua

Install Packer plugin manager:

git clone https://github.com/wbthomason/packer.nvim "$HOME"/.local/share/nvim/site/pack/packer/start/packer.nvim

Copy the content of file init.lua to ~/.config/nvim/init.lua.

Then install the plugins by running: vim +PackerUpdate +qall.

Dependencies
  • FZF:
    • brew install fd fzf the_silver_searcher ripgrep
  • Floaterm:
    • lazygit
    • lazydocker
    • lazynpm
  • Python deps and Pylint:
    • pip install --user pynvim
    • pip3 install --user pynvim
    • pip3 install neovim-remote

Tools Configuration

NeoVim

I'm using Neovim 0.9+ configured with Lua. NeoVim plugins installed is listed here.

VS Code

I'm using VSCode with Vim extension which has my favorites Vim plugins (like vim-surround, vim-airline). Using it I can use all the Vim power for editing and navigation.

I've been exploring some configuration and key mappings to allow me to use the same key mappings that I'm using on NeoVim (like navigate between panes, motion, leader key and so on). Here are my configs:

  • VSCode settings: configuration to enable the same behavior (configs with prefix vim.).
  • VSCode key mappings: key mappings to navigate between panes, double j on insert mode, go to definition and implementation, so on.

Links

dotfiles's People

Contributors

wesleyegberto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.