Insert a new line below without identation

This commit is contained in:
sbenner 2014-04-16 10:53:07 -04:00
parent a8e261d623
commit e02df717fe

View file

@ -136,7 +136,14 @@
"ht" 'helm-themes)
;; insert stuff ---------------------------------------------------------------
(evil-leader/set-key
"ij" 'evil-insert-line-below
"ij" (lambda (count)
"Insert a new line below with no identation."
(interactive "p")
(save-excursion
(evil-move-end-of-line)
(while (> count 0)
(insert "\n")
(setq count (1- count)))))
"ik" 'evil-insert-line-above)
;; format ---------------------------------------------------------------------
(evil-leader/set-key