Skip to content

rmuslimov/py-smart-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project deprecated! Please consider using other implementations

Python smart-operator mode

This is minor mode for python-mode, it automatically adds spaces around operators when necessary. It was specially developed for python mode, and requires python-mode to be activated. Operator insertion differs insertion inside of paren, string or in global scope.

For example:

a=1

becomes

a = 1

in global mode, but doesn't change inside of paren or string.

Installation

Simply add py-smart-operator mode to your path, and add this rows to your init.el

(require 'py-smart-operator)
(add-hook 'python-mode-hook 'py-smart-operator-mode)

About

Smart operator mode for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •