Coder Social home page Coder Social logo

dotfiles's Introduction

dotfiles

Mislav's configuration files for bash, zsh, git, and more.

Installation

Clone somewhere, then run the bootstrap script:

$ git clone https://github.com/mislav/dotfiles.git ~/dotfiles
$ ~/dotfiles/script/bootstrap

The install script won't overwrite your existing dotfiles, but will symlink the ones that don't exist. If you want to replace your existing dotfiles, simply move them to a backup location and run install again.

Misc. commands in bin

Check the bin directory for an assortment of useful utilities.

tmux

  • C-h/j/k/l - switch to pane in the given direction
  • C-\\ - toggle between last active panes

Under tmux prefix C-a:

  • C-l - clear terminal
  • S - switch to a session that starts with given name, or switch to the last session if no name given
  • m - open man page in a vertical split
  • g - tail log/development.log in a new window
  • R - source ~/.tmux.conf after changes

Regular tmux keybindings:

% vertical split
" horizontal split
! break pane into new window
c new window

o select next pane
{ swap pane with previous
} swap pane with next
n next window
p previous window
) next session
( previous session
; select previously active pane
l select previously active window

s interactive session & window browser
w interactive window browser

$ rename session
, rename window

: command prompt
d detach
f search text in open windows

[ copy mode
] paste buffer
# list buffers
- delete buffer

dotfiles's People

Contributors

alerque avatar bastilian avatar mislav avatar reentim avatar rtomayko avatar shime avatar tclh123 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  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

dotfiles's Issues

Script doesn't work with vimx

I need to use vimx with Fedora20 and the script didn't work until I made the following change:
if [ "${cmd%m}" = "vi" ]; then
TO
if [ "${cmd%m*}" = "vi" ]; then

tmux-vim-select-pane did not work for me

Hey,

The undocumented '#{pane_current_command}' caused me some troubles.
so what I've done instead is:

\# Gets all the children of the selected pane process and strips only the leaf child in small letters
cmd="$(tmux display -p '#{pane_pid}' | xargs pstree | grep -ioP '((?<=-)|^)([^(---)]*?)$' | tr A-Z a-z)"

then just have the if statement check for any binary name you want.

It's a bit of an ugly code, but it works with a documented format string which i always think is better. Any way... just letting you know I hope it will help someone

K

Jjj

[Cherry-Pick/Sharing] Support --force option in install script

Thanks for providing your dotfiles publicly. I was able to make use of some of what you had, primarily the concept of installing a variety of managed dotfiles.

Since I've diverged quite a bit so far for my personal purposes, I can't really create an isolated pull request via github. Check out this commit if you are interested in this change:
tzellman@53e97ed

Basically, -f/--force forces an overwrite of existing files.

Cheers!

Feature: merge with existing profiles

currently, install script make a symbolic links if profile not exist.
as people might want to merge existing ones when they start using the repo & install script,
maybe we can provide a simple compare and merge feature

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.