aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-04-20 10:08:40 +0200
committerAdrian Kummerlaender2020-04-20 10:08:40 +0200
commitfdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5 (patch)
tree51d6ee9854bc7afa8ad28af28ebbd9bdb2c3cfc1 /gui/conf
parent6c36736400fc013c8b7171f87cbad45b164e9f04 (diff)
downloadnixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar.gz
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar.bz2
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar.lz
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar.xz
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.tar.zst
nixos_home-fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5.zip
Switch back to vim for note taking
More convenient than getting into Emacs just for this
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el37
-rw-r--r--gui/conf/xmonad.hs4
2 files changed, 2 insertions, 39 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
deleted file mode 100644
index 27d5f8f..0000000
--- a/gui/conf/init.el
+++ /dev/null
@@ -1,37 +0,0 @@
-(setq inhibit-startup-message t)
-(setq initial-scratch-message nil)
-
-(setq backup-directory-alist `(("." . "~/.emacs.d/backup")))
-
-(require 'package)
-(package-initialize)
-(eval-when-compile (require 'use-package))
-
-(load-theme 'leuven)
-(set-frame-font "Iosevka 11" nil t)
-(menu-bar-mode -1)
-(toggle-scroll-bar -1)
-(tool-bar-mode -1)
-(global-visual-line-mode t)
-
-(use-package org)
-
-(setq org-agenda-files (list "~/org/org.org"))
-
-(use-package evil)
-(use-package evil-leader)
-(use-package evil-org)
-
-(global-evil-leader-mode)
-(evil-leader/set-leader ",")
-(evil-mode 1)
-
-(add-hook 'org-mode-hook 'evil-org-mode)
-(evil-org-set-key-theme '(navigation insert textobjects additional todo))
-
-(setq org-fontify-whole-heading-line t)
-(setq org-adapt-indentation nil)
-
-(evil-define-key 'normal org-mode-map
- "J" 'org-next-visible-heading
- "K" 'org-previous-visible-heading)
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 1505f6f..bd05d0f 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -118,8 +118,8 @@ scratchpads host =
(customFloating $ hideScreenBorder host sideBarLeft)
, NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer"))
(customFloating $ hideScreenBorder host sideBarRight)
- , NS "notes" "emacs --title=notemacs ~/org/org.org" (title =? "notemacs")
- (customFloating $ hideScreenBorder host dropDownLarge)
+ , NS "notes" "nvim-qt --no-ext-tabline -- --cmd \"let &titlestring='orgnotes'\" ~/org/*.org" (title =? "orgnotes — Neovim")
+ (customFloating $ hideScreenBorder host dropDown)
]
hudMonitor host = monitor