Compare commits

..

3 Commits

Author SHA1 Message Date
earnest ma 67140b4bcc
nvim already default settings 2023-01-02 11:09:55 -05:00
earnest ma e23148b1b0
w3m, keycast, edit-server 2023-01-02 11:08:57 -05:00
earnest ma 4a370c2d61
Add nim and Doom Emacs config 2023-01-02 10:58:25 -05:00
5 changed files with 28 additions and 8 deletions

View File

@ -66,6 +66,8 @@
;; :config
;; (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
:config
;; 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-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
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
;;

View File

@ -150,7 +150,7 @@
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices
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!"
;;ocaml ; an objective camel
org ; organize your plain life in plain text

View File

@ -61,5 +61,8 @@
:files ("subed/*.el")))
(package! ess-view)
(package! ess-view-data)
(package! keycast)
(package! pandoc-mode)
(package! wakatime-mode)
(package! w3m)
(package! edit-server)

View File

@ -2,23 +2,18 @@ set showmatch " show matching
set ignorecase " case insensitive
set mouse=v " middle-click paste
" search: highlight, incremental
set hlsearch
set incsearch
set tabstop=4
set softtabstop=4
set expandtab
set shiftwidth=4
set autoindent
set number
set number " current line number
set relativenumber " relative numbering
set wildmode=longest,list
set cc=80
filetype plugin indent on
syntax on
set mouse=a " enable mouse click
set clipboard=unnamedplus " using system clipboard

View File

@ -33,6 +33,9 @@ fi
# rust
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
# nim
export PATH=$HOME/.nimble/bin:$PATH
# Preferences
export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1