Giter Site home page Giter Site logo

dotfiles-1's Introduction

Dotfiles by Chloe Moon

My personal setup and notes for myself! Probably not useful to most, but you might find some useful stuff in here, especially if you use Colemak and Vim!

Colemak and Vim!

I have intuitive and concise mappings to reconcile Colemak and Vim with traditional homerow arrows. All my tools [less, tmux, etc] are configured consistently in this Vim style. I've been using this since 2008 and haven't looked back!

The idea is to use HNEI as arrows โ€“ keeping the traditional Vim homerow style โ€“ and changing as little else as possible. This means JKL are free to use and NEI need new keys.

  • k/K is the new n/N.
  • s/S is the new i/I ["inSert"].
  • j/J is the new e/E ["Jump" to EOW].
  • l/L skip to the beginning and end of lines. Much more intuitive than ^/$.
  • Ctrl-L joins lines, making L the veritable "Line" key.
  • r replaces i as the "inneR" modifier [e.g. diw becomes drw].
  • That's most of it! See .vimrc for a few other details...

Tools

Includes customization for:

  • zsh - shell flavored with prezto
  • tmux - session management and shell multiplexing
  • vim - text editing
  • git - version control
  • pentadactyl - Firefox Vim-inspired browsing
  • powerline - statusline and prompt for vim, tmux, zsh, and others
  • less - pager and file viewer

Setup

Again...notes for myself.

  • Clone dotfiles: git clone https://github.com/bunnyfly/dotfiles.git ~/dotfiles
  • Install dotfiles: cd ~/dotfiles && ./install_dotfiles.sh
  • Install Vim plugins: :PlugClean and :PlugUpgrade and :PlugUpdate
  • Install Zim: git clone --recursive https://github.com/zimfw/zimfw.git ~/.zim
  • Fill in .<program>rc-local configs.
  • sudo apt-get install python-pip
  • pip install powerline-status
  • pip install --user neovim
  • lesskey ~/.lesskey
  • sudo apt-get install exuberant-ctags
  • sudo apt-get install silversearcher-ag
  • sudo apt-get install ack-grep

...and probably some other steps like installing Powerline-enabled fonts. But that's most of it.

Lesskey with OSX

OSX's default less install comes with lesskey disabled. Solution is to build your own! Verify the most recent version of less's URL and do something like:

wget http://www.greenwoodsoftware.com/less/less-481.zip
unzip less-481.zip
cd less-481
./configure && make install

This installs it to /usr/local/bin; you may need to change your PATH order or replace /usr/bin/less with /usr/local/bin/less or a link to it.

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.