Setting up Sublime Text 3

On Windows, fetch and launch the installer from the web site.

On GNU/Linux, install the additional repo channel and install the newly available package,

wget -qO - | sudo apt-key add -
echo "deb apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
apt update
apt install sublime-text

Plugins / Packages

show the console during configuration,

View > Show Console (^`)

install the Markdown package helper,

install Package Control

then install the following,

install Package

Markdown Extended
Material Theme
Simple Print Function

do not forget to provide the pandoc executable, pdflatex and some fonts, and enable citations,

apt install pandoc lmodern texlive-latex-base texlive-fonts-recommended pandoc-citeproc

script for PDFs,

[[ -z $1 ]] && echo argument missing && exit 1
echo -n ${1%\.md}.pdf...
pandoc -V papersize:a4paper -o ${1%\.md}.pdf $1 && echo done
#--toc --listings
#-t context

for beamer presentations,

pandoc -t beamer -H preamble.tex -o SPAM1.pdf
#--toc --listings --slide-level=3

and eventually the enscript helper for printing text,

apt install enscript

note. not using those:

#good but redundant with Ext -- MarkdownHighlighting
#default styling is white: MarkdownEditing
#this breaks the shift+tab feature to unindent: SmartMarkdown


you can now choose the styling,

Preferences -> Color Scheme -> Material Theme...
Preferences -> Theme -> Material Theme...

also fix the tab size to 8 (REAL TAB),

Preferences -> Settings

"tab_size": 8,

just for the reference even if I don’t use all those,

    "overlay_scroll_bars": "enabled",

    "always_show_minimap_viewport": true,
    "bold_folder_labels": true,
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "font-face": "Fira Code",
    "font_size": 10,
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "material_theme_tree_headings": true,
    "overlay_scroll_bars": "enabled",
    "tab_size": 8,
    "theme": "Default.sublime-theme"


(obsolete) Pandoc MD to PDF convertion

Obsolete: when PDF is needed, I just use discount HTML rendering with nice CSS then print to PDF from the browser.

On Windows desktops, you will also need Miktex.

On Linux desktops, you also need a Latex processor,

sudo apt install pandoc texlive texlive-xetex texlive-luatex fonts-lmodern lmodern

Then, to convert MD to PDF,


Or from the command line on Linux desktops,
pandoc -V papersize:a4paper -o ${doc%\.md}.pdf $doc
unset doc

(obsolete) SFTP

Obsolete: if possible, simply use GIT instead.

Otherwise here’s how to proceed. The SFTP sublime package checks the time changes so,

To avoid typing a password, also,

create a folder e.g. on desktop or ~/dev/ and setup your connection params,

right click on folder > SFTP > edit remote mappings...

    // The tab key will cycle through the settings when first created
    // Visit for help

    // sftp, ftp or ftps
    "type": "sftp",

    "save_before_upload": **true**,
    "upload_on_save": true,
    "sync_down_on_open": false,
    "sync_skip_deletes": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": **true**,

    "host": "",
    "user": "SSHUSER",
    //"password": "password",
    "port": "SOMEPORT",

    "remote_path": "/home/SSHUSER/dev/path/",
    "ignore_regexes": [
        "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
        "sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
        "\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"

    "connect_timeout": 30,
    "ssh_key_file": "~/.ssh/...",
    //"ssh_key_file": "C:/Users/USERNAME/Desktop/ssh/private_key.id_rsa",
    "preserve_modification_times": **true**,

note. remove ** around hilighted true accordingly

now sync Remote > Local



refs about Markdown.

refs about PDF.

refs about PDF (obsolete).

refs about printing.