gitwtfhub

wtf is sublime-postfixer?

mbnuqw/sublime-postfixer — explained in plain English

Analysis updated 2026-08-08 · repo last pushed 2017-11-29

2PythonAudience · developerComplexity · 2/5DormantLicenseSetup · easy

TL;DR

A Sublime Text 3 plugin that lets you type a value first and then add a keyword afterward to instantly wrap it in code structures like print statements or conditionals, saving keystrokes.

Mindmap

mindmap
  root((repo))
    What it does
      Postfix completions
      Wrap expressions
      Reduce keystrokes
    How it works
      Custom shortcut
      Snippet definitions
      Reload via palette
    Use cases
      Logging variables
      Type casting
      Conditional blocks
    Audience
      Sublime Text users
      Frequent typists
    Tech stack
      Python
      Sublime Text 3
    Setup
      Clone to packages
      Manual install
      MIT license

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Wrap a variable in a print statement by typing the variable first then a postfix keyword.

REASON 2

Build conditional blocks without moving your cursor back to add surrounding syntax.

REASON 3

Create custom postfix snippets for any coding pattern you repeat often.

REASON 4

Cast types quickly by appending a keyword after typing a variable name.

What's in the stack?

PythonSublime Text 3

How it stacks up

mbnuqw/sublime-postfixer0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Last pushed2017-11-29
MaintenanceDormant
Setup difficultyeasymoderateeasy
Complexity2/52/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Manual install requires cloning the repo into Sublime Text's Packages directory and binding your own keyboard shortcut.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

Postfixer is a plugin for Sublime Text 3 that adds "postfix completions" to your coding workflow. The idea is simple: instead of wrapping an expression after you type it, you type the value or variable first, then add a trigger word afterward to transform it. For example, you might type a variable name and then append a keyword that instantly wraps it in a print statement or an if-condition, saving you from having to go back and add surrounding syntax. The plugin works by listening for a custom keyboard shortcut that you bind yourself. When you trigger it after typing a word and a postfix keyword, the plugin looks up that keyword in its snippet definitions and expands your text accordingly. It ships with examples for languages like Python and JavaScript, and you can write your own custom snippets through a dedicated settings file accessible from Sublime's preferences menu. After editing snippets, you reload them via the command palette or menu. This is useful for developers who spend a lot of time in Sublime Text 3 and want to reduce keystrokes for common patterns. If you frequently type the same wrapping structures, logging a variable, casting a type, or building out conditional blocks, this lets you do it in a single flow without moving your cursor back. It brings a feature popularized in IDEs like IntelliJ and ReSharper into the lightweight Sublime editor. The project is small and straightforward, with a MIT license and a manual installation process that involves cloning the repository into your Sublime packages directory. The README doesn't go into detail about which languages or completions are included out of the box beyond the Python and JavaScript examples shown in demo GIFs. You would need to install it and explore the snippet settings to see the full scope of what's available.

Yoink these prompts

Prompt 1
Show me how to install Postfixer into Sublime Text 3 by cloning it into my Packages directory on macOS.
Prompt 2
Write a custom Postfixer snippet for Python that wraps a variable in a formatted f-string print statement using the postfix keyword 'fp'.
Prompt 3
Help me configure a custom keyboard shortcut in Sublime Text 3 to trigger Postfixer postfix completions.
Prompt 4
Create Postfixer snippet definitions for JavaScript that wrap an expression in console.log and in an if-statement using postfix keywords.

Frequently asked questions

wtf is sublime-postfixer?

A Sublime Text 3 plugin that lets you type a value first and then add a keyword afterward to instantly wrap it in code structures like print statements or conditionals, saving keystrokes.

What language is sublime-postfixer written in?

Mainly Python. The stack also includes Python, Sublime Text 3.

Is sublime-postfixer actively maintained?

Dormant — no commits in 2+ years (last push 2017-11-29).

What license does sublime-postfixer use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is sublime-postfixer to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is sublime-postfixer for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.