Giter Club home page Giter Club logo

init's Introduction

Overview:

The goal is to gather all initial setups for sublime, python, bash and git for personal use.

Items:

Following bash setting are borrowed from Corey Schafer's dotfiles github and with minor changes adopted (simplified) for personal use:

.bash_profile
.bash_prompt
.gitignore

Sublime Text 3 setup is inspired by awesome series of sublime text tutorials by Corey Schafer and video course by Daniel Bader.

Sublime Text 3 Setup

Prerequisites:

  • Install Sublime Text 3
  • Install Package Control
  • Install python3 and flake8 package
  • Install Git

Sublime Package List:

Package Control

Anaconda
SublimeLinter
SublimeLinter-flake8

GitGutter

MarkdownPreview

BracketHighlighter
SideBarEnhancements
Zen Tabs

Boxy Theme
Tomorrow Color Schemes (needs to be installed before below package)
Tomorrow Night Italics Color Scheme

Configure Git commit messages

Tutorial on how to white a good commit messages by Chris Beams.

Note Don't forget to configure user.name and email prior to configure commit messages with sublime:

Set your username: git config --global user.name "FIRST_NAME LAST_NAME"
Set your email address: git config --global user.email "[email protected]"

Link subl On mac, it would be useful to create a link to sublime:

$ ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

To change the text editor used by git commit (assuming subl command is linked to SublimeText3)

$git config --global core.editor "subl --wait --new-window"

To add ruler specific to git commit messages (actually two rulers)

1. open commit message in sublime
2. Pref -> Settings Syntax-Specific 
	{
		"rulers": [50, 72]
	}

Customize Fonts

	- select and download fonts (e.g. ubuntu mono font)
	- install font on system level
	- add some options to subl settings, eg.:

		{

			"font_face": "Ubuntu Mono",

			"font_options":[
				"subpixel_antialias",
				"no_bold",
				"no_italic",
			]
		}

Optional: Download and install Font (Source Code Pro)

	$ wget -O ~/Downloads/source-code-pro.zip https://www.fontsquirrel.com/fonts/download/source-code-pro
	$ unzip ~/Downloads/source-code-pro.zip -d ~/Downloads/scp
	$ rm ~/Downloads/source-code-pro.zip

	(ubuntu) $ sudo apt update && sudo apt -y install font-manager

	Next, Add new font with Font Manager (mac, ubuntu)

Sublime Text 3 Frequently Used Commands:

For Multi-line Editing:

ctr + cmd + cursor ...
ctr + cmd + G 
cmd + D 
select items: cmd + Shift + <- or ->  ;  copy -> paste 
cmd + W : close tab
cmd + shift + T reopened recently close tab

init's People

Contributors

anmuzychuk 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.