Updated
This commit is contained in:
parent
c7d579c476
commit
cc9022df39
@ -1,17 +0,0 @@
|
|||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(livedown-autostart nil)
|
|
||||||
'(livedown-browser nil)
|
|
||||||
'(livedown-open t)
|
|
||||||
'(livedown-port 1337)
|
|
||||||
'(package-selected-packages
|
|
||||||
'(markdown-mode magit dired-sidebar dracula-theme auto-complete ox-reveal htmlize switch-window use-package)))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
)
|
|
@ -13,6 +13,10 @@
|
|||||||
)
|
)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
|
;; Remove working cl
|
||||||
|
(require 'cl-lib)
|
||||||
|
(setq byte-compile-warnings '(cl-functions))
|
||||||
|
|
||||||
;; install use-package
|
;; install use-package
|
||||||
(unless (package-installed-p 'use-package)
|
(unless (package-installed-p 'use-package)
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
@ -80,11 +84,13 @@
|
|||||||
(setq org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js")
|
(setq org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js")
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Org-Jira
|
;; moveline
|
||||||
;(use-package org-jira
|
(use-package move-text
|
||||||
; :ensure t
|
:ensure t
|
||||||
; )
|
:config)
|
||||||
;(setq jiralib-url "https://localhost/")
|
|
||||||
|
(global-set-key (kbd "M-<up>") 'move-text-up)
|
||||||
|
(global-set-key (kbd "M-<down>") 'move-text-down)
|
||||||
|
|
||||||
;; AutoComlete
|
;; AutoComlete
|
||||||
(use-package auto-complete
|
(use-package auto-complete
|
||||||
@ -93,7 +99,23 @@
|
|||||||
(ac-config-default)
|
(ac-config-default)
|
||||||
(global-auto-complete-mode t)
|
(global-auto-complete-mode t)
|
||||||
|
|
||||||
|
;; Company
|
||||||
|
(eval-after-load 'company
|
||||||
|
'(push 'company-robe company-backends))
|
||||||
|
|
||||||
|
;; Ruby
|
||||||
|
(eval-after-load 'auto-complete
|
||||||
|
'(add-to-list 'ac-modes 'inf-ruby-mode))
|
||||||
|
(add-hook 'inf-ruby-mode-hook 'ac-inf-ruby-enable)
|
||||||
|
(eval-after-load 'inf-ruby '
|
||||||
|
'(define-key inf-ruby-mode-map (kbd "TAB") 'auto-complete))
|
||||||
|
|
||||||
;; Theme
|
;; Theme
|
||||||
|
;(use-package gruber-darker-theme
|
||||||
|
; :ensure t
|
||||||
|
; :config
|
||||||
|
; (load-theme 'gruber-darker-theme t))
|
||||||
|
|
||||||
(use-package dracula-theme
|
(use-package dracula-theme
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
@ -113,6 +135,29 @@
|
|||||||
:config
|
:config
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; ruby sorce code
|
||||||
|
(use-package flymake-ruby
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
)
|
||||||
|
|
||||||
|
(use-package flymake-easy
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Error list
|
||||||
|
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
|
||||||
|
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
|
||||||
|
|
||||||
|
(require 'robe)
|
||||||
|
(add-hook 'ruby-mode-hook 'robe-mode)
|
||||||
|
(add-hook 'robe-mode-hook 'ac-robe-setup)
|
||||||
|
|
||||||
|
(require 'flymake-ruby)
|
||||||
|
(add-hook 'ruby-mode-hook 'flymake-ruby-load)
|
||||||
|
|
||||||
|
;; Git
|
||||||
(global-set-key (kbd "C-x g") 'magit-status)
|
(global-set-key (kbd "C-x g") 'magit-status)
|
||||||
|
|
||||||
;; Markdown-mode
|
;; Markdown-mode
|
||||||
@ -148,7 +193,7 @@
|
|||||||
(setq ring-bell-function 'ignore)
|
(setq ring-bell-function 'ignore)
|
||||||
|
|
||||||
;; highlight:
|
;; highlight:
|
||||||
(global-hl-line-mode 1)
|
;(global-hl-line-mode 1)
|
||||||
|
|
||||||
;; auto reloading (reverting) buffers
|
;; auto reloading (reverting) buffers
|
||||||
(global-auto-revert-mode 1)
|
(global-auto-revert-mode 1)
|
||||||
|
@ -1 +0,0 @@
|
|||||||
nil
|
|
15
.gitignore
vendored
15
.gitignore
vendored
@ -1,3 +1,18 @@
|
|||||||
|
.config/Microsoft/
|
||||||
|
.config/autostart/
|
||||||
|
.config/keepassxc/
|
||||||
|
.config/mimeapps.list
|
||||||
|
.config/teams/
|
||||||
|
.local/bin/epylint
|
||||||
|
.local/bin/haruhi-dl
|
||||||
|
.local/bin/isort
|
||||||
|
.local/bin/pylint
|
||||||
|
.local/bin/pyreverse
|
||||||
|
.local/bin/symilar
|
||||||
|
.local/bin/wheel
|
||||||
|
.logSynology
|
||||||
|
.vscode/
|
||||||
|
.yarnrc
|
||||||
.emacs.d/elpa/
|
.emacs.d/elpa/
|
||||||
.fltk/
|
.fltk/
|
||||||
.local/bin/vpnst
|
.local/bin/vpnst
|
||||||
|
4
.local/bin/saver-off
Executable file
4
.local/bin/saver-off
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
xset s off
|
||||||
|
xset -dpms
|
||||||
|
pkill -9 xautolock
|
Loading…
Reference in New Issue
Block a user