Giter Club home page Giter Club logo

dotfiles's Introduction

sobolevn's dotfiles

sobolevn's dotfiles

Here are some articles I wrote about my environment:

And talks / podcasts:

Contents

What's in there?

Main principles

  • Minimalism in everything: tooling, styling,
  • Simplicity
  • Reduced visual noise, only important things should be shown
  • "Please, do not touch my code": no auto-formatting or code flow interruptions
  • History is valuable, let's preserve it everywhere we can
  • Security: do not share anything with anyone

Installation

We are using dotbot to set things up. Steps:

  1. Decide what you want to install: comment out run_dotbot 'steps/...' that you don't need
  2. Clone this repo with: git clone https://github.com/sobolevn/dotfiles dotfiles
  3. cd dotfiles/
  4. Run: bash ./install

VSCode

I loved my Sublime. It was fast and beautiful. The main reason is that Sublime is almost unmaintained. Packages are also abandoned.

So, I have switched to vscode. It solved almost all issues I had with Sublime. Here's how my new vscode setup looks like, using my own theme called pustota:

sobolevn's vscode for Python

Here's a list of packages (see vscode calls at the bottom) I use:

I try to keep my vscode setup as simple as possible. It was also heavily influenced by makevscodeawesome.

I also use powered-up nano for in-terminal editing.

CLI

I am using hyper as my main terminal with my custom senya theme. I am using zsh with oh-my-zsh as the main shell. And zplug to manage shell plugins. I also have a some tools / scripts / aliases to make my working experience better. But, I try to keep them minimal: only ones I truly use. Including: bat, zoxide, fzf, ag, fd, delta, gh, tig, and many others.

I mainly work with:

  • python

I also have several other languages installed. But I don't use them on a daily basis:

  • node
  • elixir
  • rust
  • c

fzf goodies

I use fzf for several code completion tasks:

  • tab to autocomplete probably all the things using fzf-tab

fzf-tab

Multiple tools have custom completions like: zoxide, make, killall that work well with fzf's preview feature.

  • ctrl+r allows me to fuzzy search command history

fzf-history

  • ctrl+t allows to fuzzy search files and dirs in the current tree to include paths in commands with instant previews for text files (content) and directories (inner tree)

fzf-paths

fzf-git

Apps

I am using brew to install all free apps for my mac. I also sync apps from AppStore with brew via mas, so the resulting Brewfile contains everything.

Infrastructure

I try to containerize everything. So, docker is my main development and deployment tool.

Local configuration

Some of the used tools requires local configuration. Such as git with username and email.

Here's the full list:

  1. ~/.gitconfig_local to store any user-specific data
  2. ~/.shell_env_local to store local shell config, like: usernames, passwords, tokens, gpg keys and so on

License

WTFPL: do the fuck you want. Enjoy!

dotfiles's People

Contributors

amshkv avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar github-actions[bot] avatar sobolevn avatar tarunavba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

Flow does not render correctly

Javascript (Babel) syntax for Sublime breaks with Flow types.
I need something to get over this issue.

A VSCode maybe?

Dependabot couldn't find a sobole-zsh-theme for this project

Dependabot couldn't find a sobole-zsh-theme for this project.

Dependabot requires a sobole-zsh-theme to evaluate your project's current Git dependencies. It had expected to find one at the path: /sobole-zsh-theme.

If this isn't a Git project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Dependabot couldn't find a sobole-zsh-theme for this project

Dependabot couldn't find a sobole-zsh-theme for this project.

Dependabot requires a sobole-zsh-theme to evaluate your project's current Git dependencies. It had expected to find one at the path: /sobole-zsh-theme.

If this isn't a Git project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Add npm global deps

For example, I use yarn and localtunnel as npm global deps.
And that's all.

Can be found with npm list -g --depth=0.

Change how I store me virtualenvs

Since the time of virtualenvwrapper is place my virtualenvs inside ~/.virtualenvs.

But that's not required anymore. I also do not use virtualenvwrapper at all.
Currently I use pipenv which allows to store all envs inside the project.
So, let's do that.

This will also help with editors integration.

Consider adding python plugin for vscode

Note that #28 must be completed before going any further.

Things I need:

  • autocomplete
  • some basic sanity checks

Things I do not need:

  • autoformating
  • linting
  • any 3rd party modules or integrations

Python packages are not in sync

I have installed some new global packages, removed some other packages.
But I have not updated my dotfiles here on github.
This needs to be fixed.

Document wakatime

I am using wakatime for all my activities.
So, I need to document what is it and why I am using it.

Add vscode

I have switched to vscode due to bad subl support by maintainers.
This repo should also be changed.

`git commit -m<tab>` raises an error

» git commit -m__zplug::base::base::git_version:9: bad output format specification
[blue]~/Documents/github/wemake-django-template  master                                    
[blue]~/Documents/github/wemake-django-template  master                                     130 ⚠️]» git commit -m

Did you symlink Sublime settings to dotfiles?

I tried to do it but Sublime stopped picking up changes I made to its settings. I had to restart the app every time.

Did you hardlink the folder perhaps?

Thank you for any help.

Add testing

What needs to be done:

  • create travis pipeline
  • use macos for tests
  • integrate shellcheck

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.