Adjusted for updated nushell config specifications
Added global shortcuts for zellij Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>clean_emacs
parent
e179210bb4
commit
b5b511404b
|
@ -529,10 +529,9 @@ alias ll = ls -la
|
||||||
alias la = ls -a
|
alias la = ls -a
|
||||||
alias q = exit
|
alias q = exit
|
||||||
alias e = emacsclient -t
|
alias e = emacsclient -t
|
||||||
alias ekill = (pkill emacs; pkill emacsclient; emacs --daemon)
|
alias ekill = (pkill emacs;pkill emacsclient;emacs --daemon)
|
||||||
alias picotik = picocom --b 115200 /dev/ttyUSB0
|
alias picotik = picocom --b 115199 /dev/ttyUSB0
|
||||||
alias xsel = xsel -ib
|
alias nmap = ^nmap -T5 --min-parallelism 100 -Pn
|
||||||
alias nmap = nmap -T5 --min-parallelism 100 -Pn
|
|
||||||
alias ed = emacs --daemon
|
alias ed = emacs --daemon
|
||||||
alias eledger = emacsclient -nw ~/Documents/Finanzen/Ledger/MyBudget.ledger
|
alias eledger = emacsclient -nw ~/Documents/Finanzen/Ledger/MyBudget.ledger
|
||||||
alias sshconfig = emacsclient -nw ~/.ssh/config
|
alias sshconfig = emacsclient -nw ~/.ssh/config
|
||||||
|
@ -540,7 +539,7 @@ alias econfig = emacsclient -nw ~/.doom.d/init.el
|
||||||
alias wttr = curl wttr.in/Essen
|
alias wttr = curl wttr.in/Essen
|
||||||
alias tvres = xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1
|
alias tvres = xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1
|
||||||
alias defaultres = xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1
|
alias defaultres = xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1
|
||||||
alias latexmk = latexmk -f -pdf -interaction=nonstopmode
|
alias latexmk = ^latexmk -f -pdf -interaction=nonstopmode
|
||||||
|
|
||||||
# git
|
# git
|
||||||
alias gpa = git push soft --all
|
alias gpa = git push soft --all
|
||||||
|
@ -552,6 +551,6 @@ alias gaa = git add --all
|
||||||
alias gco = git checkout
|
alias gco = git checkout
|
||||||
alias grv = git remote -v
|
alias grv = git remote -v
|
||||||
|
|
||||||
let-env DOCKER_BUILDKIT = 1
|
let-env DOCKER_BUILDKIT = 1 # Disable for podman
|
||||||
source ~/.cache/starship/init.nu
|
source ~/.cache/starship/init.nu
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,13 @@ keybinds {
|
||||||
bind "F8" {SwitchToMode "Resize"; }
|
bind "F8" {SwitchToMode "Resize"; }
|
||||||
bind "F9" {SwitchToMode "Move"; }
|
bind "F9" {SwitchToMode "Move"; }
|
||||||
bind "F12" {SwitchToMode "Locked"; }
|
bind "F12" {SwitchToMode "Locked"; }
|
||||||
|
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||||
|
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||||
|
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
||||||
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||||
|
bind "Alt =" "Alt +" { Resize "Increase"; }
|
||||||
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
|
||||||
}
|
}
|
||||||
locked {
|
locked {
|
||||||
bind "F12" { SwitchToMode "Normal"; }
|
bind "F12" { SwitchToMode "Normal"; }
|
||||||
|
|
|
@ -9,7 +9,7 @@ t:/home/tuan/Templates
|
||||||
w:/home/tuan/workspace_l/home_lab/wiki
|
w:/home/tuan/workspace_l/home_lab/wiki
|
||||||
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
||||||
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
||||||
':/home/tuan/.syncthing/Documents/Uni/Studium
|
':/home/tuan/Pictures/Wallpaper
|
||||||
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
|
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
|
||||||
s:/home/tuan/Pictures/Screenshots
|
s:/home/tuan/Pictures/Screenshots
|
||||||
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
||||||
|
|
|
@ -20,21 +20,19 @@ if $zellij_session_count == 0 {
|
||||||
"Into Try"
|
"Into Try"
|
||||||
let user_input = ($user_input | into int);
|
let user_input = ($user_input | into int);
|
||||||
"Converted"
|
"Converted"
|
||||||
if ($user_input < 0 or $user_input > $zellij_session_count - 1) {
|
$"User Input: ($user_input)";
|
||||||
|
$"Threshold: 0-($zellij_session_count - 0)";
|
||||||
|
$"UserInput in Threshold? (0 < $user_input or $user_input < $zellij_session_count - 1)"
|
||||||
|
if (0 < $user_input or $user_input < $zellij_session_count - 1) {
|
||||||
"Valid Input"
|
"Valid Input"
|
||||||
# Valid session
|
|
||||||
let table_entry = ($zellij_session_table | select $user_input);
|
let table_entry = ($zellij_session_table | select $user_input);
|
||||||
zellij attach $table_entry;
|
zellij attach $table_entry;
|
||||||
} else {
|
} else {
|
||||||
"Invalid Input"
|
"Invalid Input"
|
||||||
# Invalid session
|
|
||||||
# Create new one
|
|
||||||
zellij;
|
zellij;
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
"Catch"
|
"Catch"
|
||||||
zellij;
|
zellij;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/.emacs.d/org/")
|
||||||
|
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
|
|
|
@ -100,9 +100,15 @@
|
||||||
" :target
|
" :target
|
||||||
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
|
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
|
||||||
:unnarrowed t nil nil))))
|
:unnarrowed t nil nil))))
|
||||||
(custom-set-faces
|
(require 'ox-latex)
|
||||||
;; custom-set-faces was added by Custom.
|
(unless (boundp 'org-latex-classes)
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
(setq org-latex-classes nil))
|
||||||
;; Your init file should contain only one such instance.
|
(add-to-list 'org-latex-classes
|
||||||
;; If there is more than one, they won't work right.
|
'("paper"
|
||||||
)
|
"\\documentclass[12pt,a4paper,conference,final,twoside]{IEEEtran}"
|
||||||
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
biblio ; Writes a PhD for you (citation needed)
|
||||||
debugger ; FIXME stepping through code, to help you add bugs
|
debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
;;direnv
|
||||||
docker
|
docker
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
+overlay) ; run code, run (also, repls)
|
+overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
;;lsp ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
;;prodigy ; FIXME managing external services & code builders
|
;;prodigy ; FIXME managing external services & code builders
|
||||||
;;rgb ; creating color strings
|
;;rgb ; creating color strings
|
||||||
;;taskrunner ; taskrunner for all your projects
|
;;taskrunner ; taskrunner for all your projects
|
||||||
;;terraform ; infrastructure as code
|
terraform ; infrastructure as code
|
||||||
;;tmux ; an API for interacting with tmux
|
;;tmux ; an API for interacting with tmux
|
||||||
;;tree-sitter ; syntax and parsing, sitting in a tree...
|
;;tree-sitter ; syntax and parsing, sitting in a tree...
|
||||||
;;upload ; map local to remote projects via ssh/ftp
|
;;upload ; map local to remote projects via ssh/ftp
|
||||||
|
@ -172,7 +172,8 @@
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
;;python ; beautiful is better than ugly
|
(python
|
||||||
|
+lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
@ -185,7 +186,7 @@
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
;;sml
|
;;sml
|
||||||
solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
;;terra ; Earth and Moon in alignment for performance.
|
;;terra ; Earth and Moon in alignment for performance.
|
||||||
;;web ; the tubes
|
;;web ; the tubes
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit e96624926d724aff98e862221422cd7124a99c19
|
Subproject commit b66ad7703134d8a91e8ae1fab84af3bb90fcca03
|
Loading…
Reference in New Issue