Compare commits
3 Commits
10280d1571
...
67140b4bcc
Author | SHA1 | Date |
---|---|---|
earnest ma | 67140b4bcc | |
earnest ma | e23148b1b0 | |
earnest ma | 4a370c2d61 |
|
@ -66,6 +66,8 @@
|
||||||
;; :config
|
;; :config
|
||||||
;; (add-hook 'redacted-mode-hook (lambda () (read-only-mode (if redacted-mode 1 -1)))))
|
;; (add-hook 'redacted-mode-hook (lambda () (read-only-mode (if redacted-mode 1 -1)))))
|
||||||
|
|
||||||
|
(add-hook 'nim-mode-local-vars-hook #'lsp!)
|
||||||
|
|
||||||
(use-package! subed
|
(use-package! subed
|
||||||
:config
|
:config
|
||||||
;; This assures evil does not conflict with subed keybinds.
|
;; This assures evil does not conflict with subed keybinds.
|
||||||
|
@ -88,6 +90,23 @@ the compiled PDF version) in pympress."
|
||||||
(setq ispell-personal-dictionary (expand-file-name "~/.aspell.en.pws"))
|
(setq ispell-personal-dictionary (expand-file-name "~/.aspell.en.pws"))
|
||||||
(setq ispell-dictionary "en_CA"))
|
(setq ispell-dictionary "en_CA"))
|
||||||
|
|
||||||
|
(use-package! w3m)
|
||||||
|
|
||||||
|
;; https://github.com/tarsius/keycast/issues/7
|
||||||
|
(use-package keycast
|
||||||
|
:config
|
||||||
|
(define-minor-mode keycast-mode
|
||||||
|
"Show current command and its key binding in the mode line (fix for use with doom-mode-line)."
|
||||||
|
:global t
|
||||||
|
(if keycast-mode
|
||||||
|
(add-hook 'pre-command-hook 'keycast--update t)
|
||||||
|
(remove-hook 'pre-command-hook 'keycast--update)))
|
||||||
|
(add-to-list 'global-mode-string '("" keycast-mode-line)))
|
||||||
|
|
||||||
|
(use-package! edit-server
|
||||||
|
:config
|
||||||
|
(edit-server-start))
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
org ; organize your plain life in plain text
|
org ; organize your plain life in plain text
|
||||||
|
|
|
@ -61,5 +61,8 @@
|
||||||
:files ("subed/*.el")))
|
:files ("subed/*.el")))
|
||||||
(package! ess-view)
|
(package! ess-view)
|
||||||
(package! ess-view-data)
|
(package! ess-view-data)
|
||||||
|
(package! keycast)
|
||||||
(package! pandoc-mode)
|
(package! pandoc-mode)
|
||||||
(package! wakatime-mode)
|
(package! wakatime-mode)
|
||||||
|
(package! w3m)
|
||||||
|
(package! edit-server)
|
||||||
|
|
|
@ -2,23 +2,18 @@ set showmatch " show matching
|
||||||
set ignorecase " case insensitive
|
set ignorecase " case insensitive
|
||||||
set mouse=v " middle-click paste
|
set mouse=v " middle-click paste
|
||||||
|
|
||||||
" search: highlight, incremental
|
|
||||||
set hlsearch
|
|
||||||
set incsearch
|
|
||||||
|
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set autoindent
|
set autoindent
|
||||||
|
|
||||||
set number
|
set number " current line number
|
||||||
|
set relativenumber " relative numbering
|
||||||
|
|
||||||
set wildmode=longest,list
|
set wildmode=longest,list
|
||||||
|
|
||||||
set cc=80
|
set cc=80
|
||||||
filetype plugin indent on
|
|
||||||
syntax on
|
|
||||||
set mouse=a " enable mouse click
|
set mouse=a " enable mouse click
|
||||||
set clipboard=unnamedplus " using system clipboard
|
set clipboard=unnamedplus " using system clipboard
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,9 @@ fi
|
||||||
# rust
|
# rust
|
||||||
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
|
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
|
||||||
|
|
||||||
|
# nim
|
||||||
|
export PATH=$HOME/.nimble/bin:$PATH
|
||||||
|
|
||||||
# Preferences
|
# Preferences
|
||||||
export CALIBRE_USE_SYSTEM_THEME=0
|
export CALIBRE_USE_SYSTEM_THEME=0
|
||||||
export CALIBRE_USE_DARK_PALETTE=1
|
export CALIBRE_USE_DARK_PALETTE=1
|
||||||
|
|
Loading…
Reference in New Issue