Skip to content

Instantly share code, notes, and snippets.

@twosixcode
Created March 6, 2012 18:40
Show Gist options
  • Select an option

  • Save twosixcode/1988097 to your computer and use it in GitHub Desktop.

Select an option

Save twosixcode/1988097 to your computer and use it in GitHub Desktop.
Make "Paste and Indent" the default paste in Sublime Text 2
// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }
@digitaldeus
Copy link
Copy Markdown

Who knew!!!

@ismnoiet
Copy link
Copy Markdown

Save my day thanks.

@mathiastambjergsteengaard
Copy link
Copy Markdown

Two thumbs up!!

@jeffrand
Copy link
Copy Markdown

✊

@imkost
Copy link
Copy Markdown

imkost commented Mar 22, 2016

Thank you!

@augnustin
Copy link
Copy Markdown

Any chance on replacing: swap_line_up by swap_line_up_and_indent?
http://superuser.com/questions/1089928/sublime-text-swap-line-and-indent

@jenlampton
Copy link
Copy Markdown

πŸ‘

@rcanand
Copy link
Copy Markdown

rcanand commented Jan 22, 2017

πŸ‘

@adamwgriffin
Copy link
Copy Markdown

πŸ‘

@SirCameron
Copy link
Copy Markdown

Dude, you are the King of Town!

@qmclaugh
Copy link
Copy Markdown

qmclaugh commented Mar 7, 2018

Love it

@andriy-baran
Copy link
Copy Markdown

πŸ‘

@nkn81
Copy link
Copy Markdown

nkn81 commented Aug 22, 2018

Super Siked !! Works with Sublime Version 3.1.1, Build 3176

@josezulu
Copy link
Copy Markdown

josezulu commented Mar 1, 2020

Thanks!

@frankiejarrett
Copy link
Copy Markdown

This changed my life. I already use super+shift+v for Flycut clipboard history, so mine is:

{ "keys": ["super+left+v"], "command": "paste" },
{ "keys": ["super+v"], "command": "paste_and_indent" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment