Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

Useage

  • Clone repo to $HOME i.e. ~/.dotfiles
  • Run ~/.dotfiles/setup/sh && source ~/.zshrc
  • Go do your thing ...

Other useful tools to make life easier

(like X ... but better)

  • BAT - like cat but ...
  • HTTPie - like curl but ...
  • ack - like grep but ...
  • exa - like ls but ...
  • fd - like find but ...

others

  • mdless - markdown files preview in terminal
  • the_silver_searcher - code searching tool simalr to ack
  • fzf - command line fuzzy finder
  • peco - nteractive filtering tool

Versions Managers

Nerd Fonts

Mac OS

➜ brew tap homebrew/cask-fonts
➜ brew install --cask font-<FONT NAME>

Font reference: https://github.com/Homebrew/homebrew-cask-fonts

Then use the installed font as you would in any other case

Monaco for Powerline Nerd Font: https://github.com/taohexxx/fonts/blob/master/no_ligatures/Monaco%20for%20Powerline%20Nerd%20Font%20Complete.otf

Ubuntu

This was a bit of a pain to figure out, but installing fonts and using them in the terminal was not as straight forward as I would have expected.

You will need to install gnome-tweaks which allows you to edit/override (not sure what verbiage to use). From there, change the monospace font to the once you want to use and make sure to disable the custom font option from the terminal profile text settings

Shells

zsh

if [ -f $HOME/.dotfiles/zsh/init.zsh ]; then source $HOME/.dotfiles/zsh/init.zsh; fi

bash

if [ -f $HOME/.dotfiles/bash/init.bash ]; then source $HOME/.dotfiles/bash/init.bash; fi

### iTerm considerations

* Enable mouse scrolling in for a long buffer

Preference -> Advanced -> Mouse Tab Scroll wheel sends arrow keys when in alternate screen mode: Yes

* Use ⌥ ← and ⌥→ to jump forwards / backwards words in iTerm 2, on OS X. [Guide](https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x)

Preference -> Profiles -> Keys ⌥ ← : Action: Send Escape Sequence and Esc+: b ⌥ →: Action: Send Escape Sequence and Esc+: f

* Tweak the scroll buffer limit

Preferences -> Profiles -> Terminal Tab -> Scrollback Buffer (section) Unlimited scrollback: ✔


* Missing powerline icons:  Install a Powerline Nerd Font and select it under

Preferences -> Profiles -> Text -> Font


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.