summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-14 19:34:39 +0300
committerThanos Apollo <[email protected]>2023-05-14 19:38:52 +0300
commit1417bcd9514d8183c94914a93930d91dcdec31c0 (patch)
tree7cd02368dec4a1dc1c2dfcb04c96c98d83c61861
parentada7791361be4130d58bbcc1e05d26b1c687b058 (diff)
shells: Add emacsclient as $EDITOR and $GIT_EDITOR
-rw-r--r--desktop.org9
-rwxr-xr-xemacs.org11
-rw-r--r--keyboards.org2
-rwxr-xr-xshells.org5
4 files changed, 19 insertions, 8 deletions
diff --git a/desktop.org b/desktop.org
index 4e19539..4114497 100644
--- a/desktop.org
+++ b/desktop.org
@@ -29,18 +29,17 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=transform,preferred,auto,auto
-
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Some default env vars.
env = XCURSOR_SIZE,24
-
+
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us,gr,my-cyr
- kb_variant =
- kb_model =
- kb_options = ctrl:swapcaps, grp:alt_space_toggle
+ kb_variant =
+ kb_model =
+ kb_options = ctrl:swapcaps, grp:alt_space_toggle,
kb_rules =
follow_mouse = 1
diff --git a/emacs.org b/emacs.org
index d88cddb..5d59483 100755
--- a/emacs.org
+++ b/emacs.org
@@ -912,7 +912,6 @@ Create function to watch videos using ~mpv~
(defalias 'o 'find-file)
- (add-to-list 'eshell-visual-commands "mocp")
(add-hook 'eshell-alias-load-hook 'eshell-load-bash-aliases)
#+end_src
@@ -1262,3 +1261,13 @@ Create function to watch videos using ~mpv~
+
+* Org-fc
+#+begin_src emacs-lisp
+ (add-to-list 'load-path "~/Developer/org-fc/")
+
+ (require 'org-fc)
+ (require 'org-fc-hydra)
+
+ (setq org-fc-directories '("~/org"))
+#+end_src
diff --git a/keyboards.org b/keyboards.org
index 3e64494..22079fc 100644
--- a/keyboards.org
+++ b/keyboards.org
@@ -1,7 +1,7 @@
#+TITLE: My Custom Keyboards
* Cyrillic
-Setting up ~phonetic_mac~ on Wayland was too cumbersome for me, so I just set it up as a separate keymap altogether.
+Setting up ~phonetic_mac~ on Wayland was too cumbersome for me, so I just set it up as a separate keymap altogether
#+begin_src fundamental :tangle "/sudo::/usr/share/X11/xkb/symbols/my-cyr" :auto_tangle nil
partial alphanumeric_keys
xkb_symbols "phonetic_mac" {
diff --git a/shells.org b/shells.org
index 88707b5..8244b3f 100755
--- a/shells.org
+++ b/shells.org
@@ -29,7 +29,7 @@
# weather
alias weather="curl wttr.in"
- alias ls='ls -la'
+ alias ls='ls -la --color'
alias sb='sudo systemctl start bluetooth'
alias mykeys='setxkbmap -option caps:escape'
alias logout='pkill -U $USER'
@@ -56,6 +56,9 @@
export SHELL
export PATH
+ export EDITOR="emacsclient"
+ export GIT_EDITOR="emacsclient"
+
if [[ $- != *i* ]]
then