GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - freyam/sublime: Freyam's Sublime Text Setup!

BranchesTags
Open more actions menu

Latest commit

 

History

247 Commits
247 Commits

Folders and files

NameName
Last commit message
Last commit date
sh
sh
 
 
utils
utils
 
 
README.md
README.md
 
 
code.cpp
code.cpp
 
 
input.txt
input.txt
 
 
mind.txt
mind.txt
 
 
output.txt
output.txt
 
 

Repository files navigation

My Sublime Text 4 Setup

Prerequisites

Windows

  • MinGW (Minimalist GNU for Windows) - mingw-w64-install.exe

  • Sublime Text 4 Alpha - sublime_text_build_4099_x64_setup.exe

Linux

  • GNU C++ Compiler + Debugger
    • sudo apt-get install build-essential
  • Sublime Text 3 Stable
    • sudo snap install sublime-text
  • Sublime Text 4 Alpha 4099
    • wget https://download.sublimetext.com/sublime-text_build-4099_amd64.deb
    • dpkg -i sublime-text_build-4099_amd64.deb

Packages

To install Packages (Extensions) in Sublime, you need to install the Package Control to access the package repository. This can be quickly done via the Command Palette (CTRL + SHIFT + P). Search for "Install Package Control" and select it to start installing.

This gives you easy access to 1000s of excellent packages hosted on https://packagecontrol.io/. You can easily download this directly using the Command Pallete (CTRL + SHIFT + P) and searching for "Install Package". Now, just search for any packages' name, and it will start downloading.

I use the following packages:

  • FileIcons for a colourful minimal icon pack.

  • 10% Too Dull for My Tastes Color Scheme for the color scheme.

  • BracketHighlighter for bracket highlighting.

  • Markdown Extended for markdown syntax highlighting.

  • Markdown Preview for previewing and building Markdown files.

  • LSP for the fancy IDE features and Intellisense.

  • SideBarEnhancements for complete control over your project folders and files.

  • Terminus for an integrated Terminal experience.

Usage

I have 3 groups set up at all times (G1 - Source Code, G2 - Input & G3 - Output). My Sublime Build File (C++ Bolt.sublime-build) reads the STDIN from input.txt and redirects the STDOUT to output.txt. This is very convenient for problems available on Codeforces, AtCoder, CodeChef, etc., as you no longer need to use the terminal. It all happens in front of you.

Flow: input.txt > code.cpp > output.txt!

You can find all the files in this repository. Feel free to modify them according to your needs.

Utility Scripts

I have also included three shell scripts - precompile, contest & playgrounds, which will elevate your sublime experience.

  1. precompile{.bat/.sh} precompiles the standard library <bits/stdc++.h>. So, it approximately reduces the compilation time by a factor of 5.

  2. contest{.bat/.sh} is useful during contests. It duplicates the code from the template.cpp into several contest_x.cpp files, which can be used parallelly in the contest. After the contest, rerun it to delete all the contest_x.cpp and contest_x.exe.

  3. playgrounds{.bat/.sh} is practical when you quickly need backup source code files to play around with your code or debug them. Works the same way as contest but names the file playground_x instead.

Interface

My Interface

  • Theme : Adaptive
  • Color Scheme : Scotchy (from 10% Too Dull for My Tastes)
  • Icon Pack : FileIcons
  • Font : Consolas

Keep tinkering around with Sublime. It's amusing to play around with it.

About

Freyam's Sublime Text Setup!

Topics

color-schemecompetitive-programmingcompetitive-programming-contestscppfileiconssetupssublime

Resources

Readme
Activity

Stars

6 stars

Watchers

2 watching

Forks

2 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.