Skip to content

Instantly share code, notes, and snippets.

@henri
Last active October 22, 2024 21:46
Show Gist options
  • Save henri/a856a916ed093e97f2a8abf883069005 to your computer and use it in GitHub Desktop.
Save henri/a856a916ed093e97f2a8abf883069005 to your computer and use it in GitHub Desktop.
sublime merge / text cheat sheet
# visual diff using smerge
smerge mergetool file1 file2
# fish open files with wildcard name substiution
smerge mergetool (ls *-myfiles.txt | string split " ")
# bash open files with wildcard name substiution
smerge mergetool $(ls *-myfiles.txt)
#########################
## GNU/LINUX Systems ##
#########################
# colum selection links (includes other operating systems)
http://www.sublimetext.com/docs/column_selection.html
#//////////////////////////////////////////////////////
# Right Mouse Button + Shift
# Add to selection: Ctrl
# Subtract from selection: Alt
/////////////////////////////////////////////////////
# select colums (and add multi-coursor)
shift+right-click and drag
# multiple cursor (from selection)
Ctrl+Shift+L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment