Skip to content

Emacs: cycle between apostrophes and quotes in python strings

Notifications You must be signed in to change notification settings

vladimirlagunov/python-switch-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-switch-quotes

MELPA Travis-CI build status

Converts strings like 'this' to strings like "this". Supports raw strings, docstrings and strings with escaped quotes.

Example

Installation

You can install it from MELPA:

Or clone this repository, open python-switch-quotes.el in Emacs and run M-x package-install-from-buffer RET.

Then put into your init.el:

(require 'python-switch-quotes)
(define-key python-mode-map (kbd "C-c '") 'python-switch-quotes)

Usage

Move cursor to the middle of string and press C-c '.

About

Emacs: cycle between apostrophes and quotes in python strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published