Browse Source

Added duplicate line function;

showed where to find grep on windows
beancount_config
Raphael Roberts 7 years ago
parent
commit
057b4dfadb
  1. 11
      init.el

11
init.el

@ -37,6 +37,16 @@
(global-set-key (kbd "C-c <right>") 'windmove-right)
(global-set-key (kbd "C-c <up>") 'windmove-up)
(global-set-key (kbd "C-c <down>") 'windmove-down)
(defun duplicate-line()
(interactive)
(move-beginning-of-line 1)
(kill-line)
(yank)
(open-line 1)
(next-line 1)
(yank)
)
(global-set-key (kbd "C-c C-d") 'duplicate-line)
(require 'recentf)
(recentf-mode 1)
(global-set-key (kbd "C-<tab>") 'recentf-open-files)
@ -51,6 +61,7 @@
(w32-short-file-name path))
(setq insert-directory-program "C:/Program Files/git/usr/bin/ls.exe")
(setq find-program (quote-exe "C:/Program Files/git/usr/bin/find.exe"))
(setq grep-program (quote-exe "C:/Program Files/git/usr/bin/grep.exe"))
(setq python-shell-interpreter (quote-exe (executable-find "python")))
(setq python-check-command (quote-exe (executable-find "flake8")))
))

Loading…
Cancel
Save