Giter VIP home page Giter VIP logo

daveconfig's Introduction

daveconfig

daveconfig is a collection of my various settings for different environment

Not everything is contained here; I'm using submodules, so be sure to run this after your clone:

git submodule update --init

Sometimes I change the url for a repo (switching from maintainer to me). Try this to fix git pull errors about shas not being a tree:

git submodule sync

If you are going to modify a submodule, be sure to check out a branch first! (You're on no branch by default.)

Be aware that I use this repo as a way to share my settings between home and work and anywhere else, so not everything is necessarily stable.

environment

I switch a lot between Ubuntu and Windows and I try to keep everything working consistently between them. This repo is generally checked out to ~/data/settings/daveconfig and that path is hardcoded in several places.

vim

Vim is the most active section of this repo. Here are some basics about how I use vim that might help you determine if you'd want to try some of my settings:

  • Visual mode is my counter. I rarely use counts for arguments and I don't find tools like EasyMotion useful. They don't fit with my brain. Instead, I enter visual mode, define the region I want to operate on, and go.
  • I don't often use tabs. I use Unite to navigate between buffers and I don't find having a visual indicator of my current open tabs useful. If I wanted that, I'd open :Unite buffer and filter the output. I use splits when I am frequently jumping between on multiple files. I limit use of tabs when opening a new set of files to work with or to get a fullsize view of my current file without changing my window layout.
  • I write a lot of my own plugins, but only sometimes put experimental work in a dev branch that I am occasionally merge to master.
  • I want my vim to start as fast as possible, so I love autoload (where applicable).

terminal

I use bash and like to be in the terminal a lot. I use WSL on windows.

Cloning on Windows with WSL

  • Use WSL1 for faster access between linux <-> ntfs.
  • Clone daveconfig onto windows filesystem from Linux.
    • Don't want two separate trees to maintain.
    • Checkout from Linux so line endings are Unix (and unix scripts don't fail).
    mkdir -p /mnt/c/david/settings
    ln -s /mnt/c/david ~/data
    cd ~/data/settings
    git clone [email protected]:idbrii/daveconfig.git
    cd daveconfig
    git manage-mine master

    # WSL comes with a bashrc. Move to allow symlink creation.
    mkdir ~/junk
    mv ~/.bash* ~/junk
    ./makelinks_unix.sh 

    # Now that our gitconfig is setup, update our submodules.
    git submodule update --init

Then run makelinks_win.cmd as admin.

daveconfig's People

Contributors

idbrii avatar zhangjunbo1993 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.