Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
fce73acdfc
commit
1675bc81b0
@ -67,6 +67,9 @@
|
|||||||
(add-hook 'org-mode-hook 'auto-fill-mode)
|
(add-hook 'org-mode-hook 'auto-fill-mode)
|
||||||
(add-hook 'org-mode-hook 'turn-on-flyspell)
|
(add-hook 'org-mode-hook 'turn-on-flyspell)
|
||||||
|
|
||||||
|
;; Latex files
|
||||||
|
(add-hook 'latex-mode-hook 'turn-on-flyspell)
|
||||||
|
(setq ispell-dictionary "pl")
|
||||||
|
|
||||||
;; Broswer
|
;; Broswer
|
||||||
(setq browse-url-browser-function 'browse-url-generic
|
(setq browse-url-browser-function 'browse-url-generic
|
||||||
|
1723
.emacs.d/plugins/bash-completion.el
Normal file
1723
.emacs.d/plugins/bash-completion.el
Normal file
File diff suppressed because it is too large
Load Diff
27
.emacs.d/plugins/latexmk-mode.el
Normal file
27
.emacs.d/plugins/latexmk-mode.el
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
;;; latexmk-mode.el --- LatexMK minor mode
|
||||||
|
;;; Commentary:
|
||||||
|
;;; none
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(define-minor-mode latexmk-mode
|
||||||
|
"Toggle LatexMK mode."
|
||||||
|
:init-value nil
|
||||||
|
:lighter " LatexMK "
|
||||||
|
)
|
||||||
|
|
||||||
|
(defun my/run-latexmk ()
|
||||||
|
(interactive)
|
||||||
|
(start-process "latexmk" "latexmk out" "latexmk" "--silent" "--pdf" (buffer-file-name (current-buffer)))
|
||||||
|
)
|
||||||
|
|
||||||
|
(defun my/try-run-latexmk ()
|
||||||
|
"Try to run latexmk."
|
||||||
|
|
||||||
|
(if (bound-and-true-p latexmk-mode)
|
||||||
|
(my/run-latexmk)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(add-hook 'after-save-hook 'my/try-run-latexmk)
|
||||||
|
(add-hook 'latex-mode-hook 'latexmk-mode)
|
||||||
|
;;; latexmk-mode.el ends here
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo QT_SCALE_FACTOR=1.5 keepassxc
|
QT_SCALE_FACTOR=1.5 keepassxc
|
||||||
|
2
.zshrc
2
.zshrc
@ -94,7 +94,7 @@ alias vim="nvim -p"
|
|||||||
alias denpl="trans en:pl"
|
alias denpl="trans en:pl"
|
||||||
alias dplen="trans pl:en"
|
alias dplen="trans pl:en"
|
||||||
alias notes="vim $HOME/git/notes/index.md"
|
alias notes="vim $HOME/git/notes/index.md"
|
||||||
alias mpv="mpv --vo=x11 --hwdec=no --ytdl-format='bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]' --no-resume-playback"
|
alias mpv="mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --ytdl-format='bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]' --no-resume-playback"
|
||||||
|
|
||||||
# Cleaning-up
|
# Cleaning-up
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user