itome/smart-backspace
A simple package to enable intellij like backspace in Emacs.
{ "createdAt": "2017-10-12T04:08:31Z", "defaultBranch": "master", "description": "A simple package to enable intellij like backspace in Emacs.", "fullName": "itome/smart-backspace", "homepage": "", "language": "Emacs Lisp", "name": "smart-backspace", "pushedAt": "2017-10-14T12:58:50Z", "stargazersCount": 11, "topics": [], "updatedAt": "2024-08-26T07:02:51Z", "url": "https://github.com/itome/smart-backspace"}Smart backspace
Section titled “Smart backspace”A simple package to enable intellij like backspace in Emacs.
How it works
Section titled “How it works”smart-backspace delete white spaces to previous line indentation.
class Some {
|void someFunc() { ↑ carret here }}↓ press smart-backspace command once
class Some {
|void someFunc() { }}↓ press smart-backspace command again
class Some { |void someFunc() { }}Installation
Section titled “Installation”package can be available in melpa. just M-x package-install smart-backspace and bind smart-backspace
set keybinds to your favorite key.
Section titled “set keybinds to your favorite key.”(require 'smart-backspace)(global-set-key [?\C-?] 'smart-backspace)for evil users
Section titled “for evil users”(require 'smart-backspace)(define-key evil-insert-state-map [?\C-?] 'smart-backspace)