-
-
Save mori-dev/238520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; php-mode 時にスペース押下で2スペース移動し、Shift+スペースで1スペース移動する設定 | |
(add-hook 'php-mode-hook | |
(lambda() | |
(define-key php-mode-map (kbd "SPC") (lambda () (interactive) (insert " "))) | |
(define-key php-mode-map (kbd "S-SPC") (lambda () (interactive) (insert " "))))) | |
;;pointから行頭までを削除 | |
(global-set-key (kbd "C-c C-k") (lambda () (interactive) (kill-line 0))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment