From fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 20 Apr 2020 10:08:40 +0200 Subject: Switch back to vim for note taking More convenient than getting into Emacs just for this --- gui/conf/init.el | 37 ------------------------------------- gui/conf/xmonad.hs | 4 ++-- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 gui/conf/init.el (limited to 'gui/conf') 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 -- cgit v1.2.3