User Tools

Site Tools


technical:programming:env

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:programming:env [2022/08/22 13:20] – [Sway] jctechnical:programming:env [2023/03/09 07:02] (current) jc
Line 3: Line 3:
 Tmux is a terminal multiplexer for managing multiple virtual terminals and SSH connections. Tmux is a terminal multiplexer for managing multiple virtual terminals and SSH connections.
 ### Install ### Install
-Create a `~/.tmux/plugins` directory and clone the tpm and dracula theme repositories.+Create a `~/.tmux/plugins` directory and clone the tmux plugin manager and dracula theme repositories.
 ``` bash ``` bash
-mkdir -p ~/.tmux/plugins; \ +mkdir -p ~/.tmux/plugins 
-cd ~/.tmux/plugins; \+cd ~/.tmux/plugins
 # Tmux Plugin Manager # Tmux Plugin Manager
-git clone https://github.com/tmux-plugins/tpm; \+git clone https://github.com/tmux-plugins/tpm
 # Tmux Dracula Theme # Tmux Dracula Theme
 git clone https://github.com/dracula/tmux git clone https://github.com/dracula/tmux
Line 54: Line 54:
     tmux -S $SERVER  rename-window -t $SESSION emacs     tmux -S $SERVER  rename-window -t $SESSION emacs
     tmux -S $SERVER send-keys -t $SESSION 'emacsclient -nw --socket-name /home/jc/.emacs.d/server/server' C-m     tmux -S $SERVER send-keys -t $SESSION 'emacsclient -nw --socket-name /home/jc/.emacs.d/server/server' C-m
-    # doom window+   # doom window
     tmux -S $SERVER new-window -t $SESSION     tmux -S $SERVER new-window -t $SESSION
     tmux -S $SERVER rename-window -t $SESSION doom     tmux -S $SERVER rename-window -t $SESSION doom
Line 79: Line 79:
 exec tmux_new exec tmux_new
 ``` ```
 +Now simply source or copy the function to a file and execute from the command line.
 +
 </markdown> </markdown>
 ====== Emacs ====== ====== Emacs ======
 ===== Doom ===== ===== Doom =====
 * [[https://github.com/doomemacs/doomemacs|Github: Doom Emacs]] * [[https://github.com/doomemacs/doomemacs|Github: Doom Emacs]]
 +
 +I frequently run into problems with Doom Emacs upgrade failures. Most issues can be resolved by simply removing the offending package's local repository and build cache.
 +<markdown>
 +``` bash
 +# Remove the package's repository
 +rm -rf ~/.emacs.d/.local/straight/repos/<package-name>
 +# Remove the package's build cache. emacs 28.2 is installed, and the build version number my vary
 +rm -rf ~/.emacs.d/.local/traight/build-28.2/<package-name>
 +# Run then Doom Emacs upgrade command
 +doom upgrade
 +```
 +</markdown>
 ===== Elisp ===== ===== Elisp =====
 * [[https://www.emacswiki.org/emacs/LearnEmacsLisp|Emacs Wiki: Elisp]] * [[https://www.emacswiki.org/emacs/LearnEmacsLisp|Emacs Wiki: Elisp]]
 ====== Window Manager ====== ====== Window Manager ======
 ===== Sway ===== ===== Sway =====
-Start sway with lightdm or from a shell.+Start sway from lightdm or a shell.
 ==== Install  ==== ==== Install  ====
 **Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code> **Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code>
Line 134: Line 148:
   exec sway   exec sway
 fi  fi 
-</cod +</code> 
-e>+
technical/programming/env.1661188858.txt.gz · Last modified: 2022/08/22 13:20 by jc