Coder Social home page Coder Social logo

dotfiles's Introduction

my dotfiles

in linux/macOS:

  • git clone
  • make symbolic ln to relevant files e.g.: > ln -sv "~/.doifles/.vimrc" ~ in windows; > mklink link target e.g.: >mklink "C:\Users\Alex\.vimrc" "C:\Users\Alex\.dotfiles\.vimrc" To link from .dotfiles to ~.vimrc

https://www.webpro.nl/articles/getting-started-with-dotfiles

in windows:

> mkdir C:\Users\UN\vimfiles\tmp_swp

in mac/linux:

> mkdir ~/.vim/tmp

We can set colours with: :colorscheme name to see colour schemes: :colorscheme [space] [cntrl+d] in .vimrc: colorscheme blue Vundle in unix:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

set nocompatible
filetype off
set rtp+=$HOME/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" add more plugins
call vundle#end()
filetype plugin indent on

Within vim :PluginInstall will install all relevant plugins Vundle.vim goes into: c:\User\username\vimfiles\bundle\Vundle.vim We can then make rtp relevant to specific filesystem `

to do:

  • Get vundle working on windows -~~ files with ~ are back ups of original files.
  • ~~files with .swp appended are swap files which detect edits made.

we will direct these to go into a tmp directory.

  • swap files/temp files to dedicated directory; this will need to be system specific as dirs for windows systems will differ.
  • datetime stamped:

au BufWritePre * let &bex = '-' . strftime("%Y%m%d-%H%M%S") . '.vimbackup'

  • may also want to have a standard .gitconfig / .bash_profile
  • detect OS and send these elsewhere when needed

dotfiles's People

Contributors

ajfowler avatar

Watchers

 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.