update
This commit is contained in:
parent
8b9171e709
commit
e4fc8f57e8
5 changed files with 26 additions and 16 deletions
|
|
@ -1 +1 @@
|
||||||
"display"
|
"bluetooth"
|
||||||
|
|
@ -20,14 +20,14 @@ new() {
|
||||||
tmux rename-window -t "$name" "nvim"
|
tmux rename-window -t "$name" "nvim"
|
||||||
tmux new-window -t "$name" -n terminal -c "$dir"
|
tmux new-window -t "$name" -n terminal -c "$dir"
|
||||||
sleep 1
|
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 select-window -t "$name:1"
|
||||||
tmux switch-client -t "$name"
|
tmux switch-client -t "$name"
|
||||||
}
|
}
|
||||||
|
|
||||||
switch() {
|
switch() {
|
||||||
|
|
||||||
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
|
tmux list-sessions -F '#{session_name}' |
|
||||||
sed '/^popup/d' |
|
sed '/^popup/d' |
|
||||||
sed '/^scratch/d' |
|
sed '/^scratch/d' |
|
||||||
sed '/^$/d' |
|
sed '/^$/d' |
|
||||||
|
|
@ -38,7 +38,7 @@ switch() {
|
||||||
|
|
||||||
delete() {
|
delete() {
|
||||||
|
|
||||||
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
|
tmux list-sessions -F '#{session_name}' |
|
||||||
sed '/^popup/d' |
|
sed '/^popup/d' |
|
||||||
sed '/^scratch/d' |
|
sed '/^scratch/d' |
|
||||||
sed '/^general/d' |
|
sed '/^general/d' |
|
||||||
|
|
|
||||||
30
.ideavimrc
30
.ideavimrc
|
|
@ -12,8 +12,8 @@ set smartcase
|
||||||
set incsearch
|
set incsearch
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set notimeout
|
set notimeout
|
||||||
" set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
set clipboard^=ideaput
|
" set clipboard^=ideaput
|
||||||
|
|
||||||
" 3rd party
|
" 3rd party
|
||||||
set which-key
|
set which-key
|
||||||
|
|
@ -58,21 +58,29 @@ nnoremap <C-d> <C-d>zz
|
||||||
nnoremap <C-u> <C-u>zz
|
nnoremap <C-u> <C-u>zz
|
||||||
|
|
||||||
" Navigation
|
" Navigation
|
||||||
|
|
||||||
|
let g:WhichKeyDesc_Files = "<leader>f Files"
|
||||||
let g:WhichKeyDesc_GoToFile = "<leader>ff Go to file"
|
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_RecentLocations = "<leader>fl Recent locations"
|
||||||
let g:WhichKeyDesc_NewScratchFile = "<leader>fs New scratch file"
|
map <leader>ff <action>(GotoFile)
|
||||||
map <leader>ff <action>(GoToFile)
|
map <leader><leader> <action>(GotoFile)
|
||||||
map <leader><leader> <action>(RecentFiles)
|
map <leader>fr <action>(RecentFiles)
|
||||||
map <leader>fl <action>(RecentLocations)
|
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
|
" Window Management
|
||||||
let g:WhichKeyDesc_WindowManagement = "<leader>% Window management"
|
let g:WhichKeyDesc_WindowManagement = "<leader>w Window management"
|
||||||
let g:WhichKeyDesc_SplitVertically = "<leader>% Split vertically"
|
let g:WhichKeyDesc_SplitVertically = "<leader>wv Split vertically"
|
||||||
let g:WhichKeyDesc_SplitHorizontally = "<leader>\" Split horizontally"
|
let g:WhichKeyDesc_SplitHorizontally = "<leader>wh Split horizontally"
|
||||||
map <leader>% <action>(SplitVertically)
|
map <leader>wv <action>(SplitVertically)
|
||||||
map <leader>" <action>(SplitHorizontally)
|
map <leader>wh <action>(SplitHorizontally)
|
||||||
|
|
||||||
" Buffers
|
" Buffers
|
||||||
let g:WhichKeyDesc_Buffer = "<leader>b Buffers"
|
let g:WhichKeyDesc_Buffer = "<leader>b Buffers"
|
||||||
|
|
|
||||||
2
.zshrc
2
.zshrc
|
|
@ -19,7 +19,7 @@ unset conf
|
||||||
|
|
||||||
if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
session_name="JediTerm-$(basename "$cwd" | tr -d '.')"
|
session_name="zJediTerm-$(basename "$cwd" | tr -d '.')"
|
||||||
|
|
||||||
if tmux has-session -t $session_name; then
|
if tmux has-session -t $session_name; then
|
||||||
tmux attach -t $session_name
|
tmux attach -t $session_name
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,8 @@ required_packages_pacman:
|
||||||
- fuse2
|
- fuse2
|
||||||
- libappindicator-gtk3
|
- libappindicator-gtk3
|
||||||
- webkit2gtk-4.1
|
- webkit2gtk-4.1
|
||||||
|
- freerdp
|
||||||
|
- remmina
|
||||||
|
|
||||||
flatpak_remote:
|
flatpak_remote:
|
||||||
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }
|
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue