Browse Source

Tweaked emacs org settings, add zsh send command and i3 keybindings

master
Josh Wolfe 11 months ago
parent
commit
54dc126dbf
No account linked to committer's email address
3 changed files with 35 additions and 2 deletions
  1. 3
    2
      emacs/.emacs.d/README.org
  2. 23
    0
      i3/.config/i3/config
  3. 9
    0
      zsh/.zshrc

+ 3
- 2
emacs/.emacs.d/README.org View File

@@ -904,7 +904,8 @@ Setup some basic quality of life org settings.
org-agenda-skip-deadline-if-done t
org-agenda-skip-scheduled-if-done t
org-ellipsis wolfe/org-ellipsis
org-entities-user '(("bot" "\\bot" nil "" "" "" "⊥")))
org-entities-user '(("bot" "\\bot" nil "" "" "" "⊥")
("square" "$\\square$" nil "" "" "" "□")))


(defun wolfe/org-tags-compute-width ()
@@ -996,7 +997,7 @@ Setup org agenda for managing my life.

(setq org-default-notes-file (concat wolfe/org-dropbox-path "everything.org"))
(setq org-capture-templates
'(("t" "Task" entry (file+headline "" "Tasks")
'(("t" "Task" entry (file+headline "" "Need Refiling")
"* TODO %?\n DEADLINE: %t\n")))
#+END_SRC


+ 23
- 0
i3/.config/i3/config View File

@@ -113,6 +113,29 @@ bindsym $mod+Shift+space floating toggle
bindsym Mod1+space focus mode_toggle

# switch to workspace

#bindsym Mod1+Shift+ampersand workspace 1
#bindsym Mod1+braceleft workspace 2
#bindsym Mod1+Shift+bracketleft workspace 3
#bindsym Mod1+Shift+braceright workspace 4
#bindsym Mod1+Shift+parenleft workspace 5
#bindsym Mod1+equal workspace 6
#bindsym Mod1+Shift+asterisk workspace 7
#bindsym Mod1+Shift+parenright workspace 8
#bindsym Mod1+Shift+plus workspace 9
#bindsym Mod1+bracketright workspace 10
#
#bindsym $mod+Shift+ampersand move container to workspace 1
#bindsym $mod+braceleft move container to workspace 2
#bindsym $mod+Shift+bracketleft move container to workspace 3
#bindsym $mod+Shift+braceright move container to workspace 4
#bindsym $mod+Shift+parenleft move container to workspace 5
#bindsym $mod+equal move container to workspace 6
#bindsym $mod+Shift+asterisk move container to workspace 7
#bindsym $mod+Shift+parenright move container to workspace 8
#bindsym $mod+Shift+plus move container to workspace 9
#bindsym $mod+bracketright move container to workspace 10

bindsym $mod+percent workspace 1
bindsym $mod+bracketleft workspace 2
bindsym $mod+braceleft workspace 3

+ 9
- 0
zsh/.zshrc View File

@@ -172,6 +172,14 @@ alias e='emacs -nw'
alias et='emacsclient -t'
alias ec='emacsclient -c'

function send {
if [[ "t" == "$(emacsclient -e '(> (length (visible-frame-list)) 1)')" ]]; then
emacsclient -n -a "" $1
else
emacsclient -n -a "" -c $1
fi
}

qemu () {
$(which qemu-system-x86_64) "$@" 2>&1 | grep -v "Gtk-WARNING"
}
@@ -217,5 +225,6 @@ if [ -f ~/.fzf.zsh ] && which tree > /dev/null 2>&1; then
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
fi

[ -f /usr/lib/z.sh ] && source /usr/lib/z.sh
[ -f ~/.travis/travis.sh ] && source ~/.travis/travis.sh


Loading…
Cancel
Save