This commit is contained in:
DeveloperDurp 2025-04-10 05:56:48 -05:00
parent 8b9171e709
commit e4fc8f57e8
5 changed files with 26 additions and 16 deletions

View file

@ -1 +1 @@
"display"
"bluetooth"

View file

@ -20,14 +20,14 @@ new() {
tmux rename-window -t "$name" "nvim"
tmux new-window -t "$name" -n terminal -c "$dir"
sleep 1
tmux send-keys -t "$name:1" 'set-env; nvim' C-m
tmux send-keys -t "$name:1" 'tmux set status on; set-env; nvim' C-m
tmux select-window -t "$name:1"
tmux switch-client -t "$name"
}
switch() {
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
tmux list-sessions -F '#{session_name}' |
sed '/^popup/d' |
sed '/^scratch/d' |
sed '/^$/d' |
@ -38,7 +38,7 @@ switch() {
delete() {
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
tmux list-sessions -F '#{session_name}' |
sed '/^popup/d' |
sed '/^scratch/d' |
sed '/^general/d' |

View file

@ -12,8 +12,8 @@ set smartcase
set incsearch
set hlsearch
set notimeout
" set clipboard+=unnamedplus
set clipboard^=ideaput
set clipboard+=unnamedplus
" set clipboard^=ideaput
" 3rd party
set which-key
@ -58,21 +58,29 @@ nnoremap <C-d> <C-d>zz
nnoremap <C-u> <C-u>zz
" Navigation
let g:WhichKeyDesc_Files = "<leader>f Files"
let g:WhichKeyDesc_GoToFile = "<leader>ff Go to file"
let g:WhichKeyDesc_RecentFiles = "<leader><leader> Recent files"
let g:WhichKeyDesc_RecentFiles = "<leader>fr Recent files"
let g:WhichKeyDesc_RecentLocations = "<leader>fl Recent locations"
let g:WhichKeyDesc_NewScratchFile = "<leader>fs New scratch file"
map <leader>ff <action>(GoToFile)
map <leader><leader> <action>(RecentFiles)
map <leader>ff <action>(GotoFile)
map <leader><leader> <action>(GotoFile)
map <leader>fr <action>(RecentFiles)
map <leader>fl <action>(RecentLocations)
let g:WhichKeyDesc_UIManagement = "<leader>u UI Management"
let g:WhichKeyDesc_ToggleZenMode = "<leader>uz Toggle Zen Mode"
let g:WhichKeyDesc_ToggleDistractionFreeMode = "<leader>ud Toggle Distraction Free Mode"
map <leader>uz <action>(ToggleZenMode)
map <leader>ud <action>(ToggleDistractionFreeMode)
" Window Management
let g:WhichKeyDesc_WindowManagement = "<leader>% Window management"
let g:WhichKeyDesc_SplitVertically = "<leader>% Split vertically"
let g:WhichKeyDesc_SplitHorizontally = "<leader>\" Split horizontally"
map <leader>% <action>(SplitVertically)
map <leader>" <action>(SplitHorizontally)
let g:WhichKeyDesc_WindowManagement = "<leader>w Window management"
let g:WhichKeyDesc_SplitVertically = "<leader>wv Split vertically"
let g:WhichKeyDesc_SplitHorizontally = "<leader>wh Split horizontally"
map <leader>wv <action>(SplitVertically)
map <leader>wh <action>(SplitHorizontally)
" Buffers
let g:WhichKeyDesc_Buffer = "<leader>b Buffers"

2
.zshrc
View file

@ -19,7 +19,7 @@ unset conf
if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
cwd=$(pwd)
session_name="JediTerm-$(basename "$cwd" | tr -d '.')"
session_name="zJediTerm-$(basename "$cwd" | tr -d '.')"
if tmux has-session -t $session_name; then
tmux attach -t $session_name

View file

@ -96,6 +96,8 @@ required_packages_pacman:
- fuse2
- libappindicator-gtk3
- webkit2gtk-4.1
- freerdp
- remmina
flatpak_remote:
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }