|
|
|
@ -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"))) |
|
|
|
)) |
|
|
|
|