From 0f1d1799fbdadb45d1e0f8f882b3475271be71c9 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 24 Aug 2023 12:28:55 +0200 Subject: [PATCH 1/4] no line numbers for vim terminals --- home/.config/nvim/common.vim | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/home/.config/nvim/common.vim b/home/.config/nvim/common.vim index c0134a0..2e0444a 100644 --- a/home/.config/nvim/common.vim +++ b/home/.config/nvim/common.vim @@ -94,6 +94,9 @@ vnoremap p pgvy " open terminal with F12 nnoremap :terminal +" no line numbers for terminals +autocmd TermOpen * setlocal nonumber norelativenumber + " vsplit with , then " map " :vsplit @@ -114,6 +117,11 @@ nnoremap S i V:m -2 nmap kzz nmap jzz +" stuff for marks +" jump to the given mark with <#> instead of `, i have a qwertz keyboard +nmap # ` +vmap # ` + " spell checking ----------------------------------------------------------------------------------- set spell spelllang=en,de @@ -149,8 +157,3 @@ syntax region cBackTickNoSpell start=+`+ end=+`+ syntax region cRusDocCommentNoSpell start=+//!+ end='\z1' contained extend \ contained containedin=cComment,cCommentL transparent \ contains=@NoSpell - -" stuff for marks -" jump to the given mark with <#> instead of `, i have a qwertz keyboard -nmap # ` -vmap # ` From 10faaa10e0e2b64b3150ee0aff5e1685c38e7802 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 31 Aug 2023 09:53:55 +0200 Subject: [PATCH 2/4] set default git branch name to master --- home/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/.gitconfig b/home/.gitconfig index 50fcf7a..383b029 100644 --- a/home/.gitconfig +++ b/home/.gitconfig @@ -6,3 +6,5 @@ helper = store --file ~/.git-credentials [commit] gpgsign = true +[init] + defaultBranch = master From 5f44fcb831459e769ebb1cf029482bfc2f0f6c36 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 31 Aug 2023 15:42:42 +0200 Subject: [PATCH 3/4] add spell files --- home/.config/nvim/spell/de.utf-8.add | 0 home/.config/nvim/spell/en.utf-8.add | 227 +++++++++++++++++++++++++++ 2 files changed, 227 insertions(+) create mode 100644 home/.config/nvim/spell/de.utf-8.add create mode 100644 home/.config/nvim/spell/en.utf-8.add diff --git a/home/.config/nvim/spell/de.utf-8.add b/home/.config/nvim/spell/de.utf-8.add new file mode 100644 index 0000000..e69de29 diff --git a/home/.config/nvim/spell/en.utf-8.add b/home/.config/nvim/spell/en.utf-8.add new file mode 100644 index 0000000..0a8cbd3 --- /dev/null +++ b/home/.config/nvim/spell/en.utf-8.add @@ -0,0 +1,227 @@ +NvimTree +F5 +netrw +init +lua +nvim +api +WSL +config +wsl +cd +termguicolors +NewTec +GmbH +www +newtec +Scherr +well +ServiceWrapper +of +PythonCallback +vvvvvvvvvvvvvvvv +const +u64 +u8 +str +fifos +tmp +bbc +LogLevel +wildcard +mutex +ENUMS +enum +STRUCT +structs +ServiceNotRunningError +pyo3 +CallbackAlreadyRegisteredError +CallbackNotRegisteredError +backend +tx +fifo +rx +fn +json +JsonValue +struct +stdout +stderr +syslog +PyDict +deregister +deregister_callback/! +deregister_callback +PyObject +RustCallback +PyO3 +call1 +py +args +CONFIGS +hjkl +F3 +gvim +F12 +zg +zw +zug +zuw +fzf +zc +qwertz +cword +FzfSpellSink +vsplit +FifoCreationError +AtomicBool +displayByAle +acceptSuggestionOnCommitCharacter +bool +serv +SafeService +PyErr +CallbackAlreadyRegisteredException +CallbackNotRegisteredException +srv +ServiceAlreadyRunningError +ServiceAlreadyRunningException +ServiceNotRunningException +ADDRESSOR +TIMESTAMP +timestamp +MessageMissingKey +MessageMissingKey +T13 +dir +ToString +dirs +traceback +PyString +RFC3339 +rfc +rfc3339 +mylogger +mylog +v2 +LogEntry +logseverity +Hashmap +CallbackTable +HashMap +VecDeque +toml +TBD +msg +FrontEnd +submodule +frontend +init +loop +try +KeyboardInterrupt +#IGINT +SIGINT/! +SIGTERM +SIGINT +Ctrl +try +SignalWatcher +exc +txt +ECDSA +PRIVKEY +DER +secp384r1 +pem +sig +PEM +MessengerError +Kloos +levi +kloos +serde +OldJson +ServiceError +YubiKey +submodules +Kleopatra +Kleopatra +GPG +lazygit +DevOps +rsa +TODO +IDEs +VsCode +JetBrains +NeoVim +#orewarding +forewarding +foreward +hypervisors +BrokerApplication +autostyle +csquotes +ngerman +biber +sortlocale +natbib +url +doi +eprint +biblatex +hyperref +colorlinks +citecolor +filecolor +linkcolor +urlcolor +pdfpages +Ggfs +weitere +ggfs +sec1 +sec2 +arabic +NTSG +lipsum +Qux +Akronymverzeichnis +NTSecureGateway +Nachspann +#orraussetzungen +IEC62443 +SBC +RustBook +Klabnik +lifecycle +compat +configs +#clc +rclc +feb +LTS +OOP +TPM +rustdoc +Yocto +Shield96 +NTSecureCloudSolutions +#TSecureCloud +NTSecureCloud +loesungen +IoT +datensicherer +ATSAMA5D27 +TrustZone +A5 +ARMv7 +eMMC +MT25QU0512BBB +ATECC608 +Keystore +io +acp +subfigure From d0fd0753018a0d666942548d4e6e3cdcb8c93678 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Mon, 4 Sep 2023 09:41:11 +0200 Subject: [PATCH 4/4] fix zsh function --- home/.zsh-server/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.zsh-server/zshrc b/home/.zsh-server/zshrc index 3e7b45d..ef9ceed 100644 --- a/home/.zsh-server/zshrc +++ b/home/.zsh-server/zshrc @@ -29,6 +29,10 @@ alias gls=/bin/ls function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" } function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(M|G|T|P|E)\s" } function smallfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(B|K)\s" } +function cachekeys () { exec 2>/dev/null; + eval $(ssh-agent) + ssh-add ~/.ssh/id_rsa +} function newpass() { LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0} }