Local Host
Local consistent setup :
- Vim
- i3wm Tiling mindset
- Vifm file manager
- mpv - iina (current - bind with jellyfin-mpv-shim)
- kitty
- tmux
- tmuxp
- yabai - skhd
- zsh
- Obsidian - livesync - couchdb
Vim :#
Wanted to have the visual selection in vim to clipboard , got this :
vmap '' :w !pbcopy<CR><CR>"
Tmux Plugins :#
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set-option -g @plugin 'b0o/tmux-autoreload'
#set -g @plugin 'tmux-plugins/tmux-resurrect'
#set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-boot-options 'kitty'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "battery network-ping time"
set -g @dracula-ping-server "1.1.1.1"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
Used to have resurrect and continuum for restoring the session on restart of server. But currently use tmuxp for better management and automated its startup of kitty.
Using this theme suited fine so yes. Had the status bar I was looking for.
Vifm file manager :#
Tried ranger, nnn etc. but vifm seem to fit most of my needs + by default it had some great keybinds out of the box and great commands inbuilt most as /bin/bash based :
ex. :rename this.txt , :splitv, :split!, :rm, :mv etc.
Tmuxp :#
Awesome one to have a nice consistent flow, had this started on startup automatically :
session_name: default
start_directory: ~/scripts/
windows:
- window_name: vifm
panes:
- vifm
- window_name: local
layout: main-horizontal
focus: true
start_directory: ~/scripts
panes:
- shell_command:
- ls;
focus: true
- shell_command:
- ssh dock
- shell_command:
- echo '--'
- window_name: remote
layout: main-horizontal
start_directory: ~/scripts
panes:
- lzd
- ls
- ls
~
Yabai and skhd :#
I currently use two displays, and having used i3wm alot so my specific requirements tend to go as follows :
Spaces acc. to my workflows :
- Default - 1
- Code - 2
- News - 3
- Office - 4
- etc. Specific space allocated to a particular display along with specified x,y dimensions. Got introduced to great purpose of scratchpadss, was using it with i3wm on debian but in yabai they introduced later on, had to configure it nicely such that could achieve two things :
Scratchpad for particular app - simple One for having a particular browser window - workaround - script
Using two extensions : Chromium based : rename window feature Firefox : Tab renamer
Kitty:#
