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" }
@imkost

imkost commented Mar 22, 2016

Copy link
Copy Markdown

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

rcanand commented Jan 22, 2017

Copy link
Copy Markdown

πŸ‘

@adamwgriffin

Copy link
Copy Markdown

πŸ‘

@SirCameron

Copy link
Copy Markdown

Dude, you are the King of Town!

@qmclaugh

qmclaugh commented Mar 7, 2018

Copy link
Copy Markdown

Love it

@andriy-baran

Copy link
Copy Markdown

πŸ‘

@nkn81

nkn81 commented Aug 22, 2018

Copy link
Copy Markdown

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

@josezulu

josezulu commented Mar 1, 2020

Copy link
Copy Markdown

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