Compare commits
25 Commits
Author | SHA1 | Date |
---|---|---|
Christoph J. Scherr | 9169ac9039 | |
Christoph J. Scherr | f0648c75d0 | |
Christoph J. Scherr | 1054c7cbca | |
Christoph J. Scherr | d0fd075301 | |
Christoph J. Scherr | 19a928b8fe | |
Christoph J. Scherr | 5f44fcb831 | |
Christoph J. Scherr | 10faaa10e0 | |
cscherrNT | 2e15821f34 | |
Christoph J. Scherr | 0f1d1799fb | |
Christoph J. Scherr | e26e71bd2e | |
Christoph J. Scherr | 122a56fcab | |
Christoph J. Scherr | 927d7c86de | |
Christoph J. Scherr | 06351bcd83 | |
cscherrNT | 45c429b7b2 | |
Christoph J. Scherr | 5faff271b5 | |
Christoph J. Scherr | b50756977e | |
Christoph J. Scherr | 14bddd1308 | |
Christoph J. Scherr | 6b5999ede6 | |
Christoph J. Scherr | 2889e2e0b6 | |
Christoph J. Scherr | e889e5cc01 | |
Christoph J. Scherr | 8212bd1e12 | |
Christoph J. Scherr | 7fbe06c7b5 | |
Christoph J. Scherr | 6b58e56c77 | |
Christoph J. Scherr | 338a962b3f | |
cscherrNT | 3baeb502a3 |
|
@ -1,12 +1,12 @@
|
||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
# vim:fileencoding=utf-8:foldmethod=marker
|
||||||
|
|
||||||
#: Fonts {{{
|
Fonts {{{
|
||||||
|
|
||||||
#: kitty has very powerful font management. You can configure
|
#: kitty has very powerful font management. You can configure
|
||||||
#: individual font faces and even specify special fonts for particular
|
#: individual font faces and even specify special fonts for particular
|
||||||
#: characters.
|
#: characters.
|
||||||
|
|
||||||
# font_family monospace
|
font_family NotoMono Nerd Font Mono
|
||||||
# bold_font auto
|
# bold_font auto
|
||||||
# italic_font auto
|
# italic_font auto
|
||||||
# bold_italic_font auto
|
# bold_italic_font auto
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
#: arrive at a pixel value. There must be four values corresponding to
|
#: arrive at a pixel value. There must be four values corresponding to
|
||||||
#: thin, normal, thick, and very thick lines.
|
#: thin, normal, thick, and very thick lines.
|
||||||
|
|
||||||
#: }}}
|
}}}
|
||||||
|
|
||||||
#: Cursor customization {{{
|
#: Cursor customization {{{
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer",
|
"rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer",
|
||||||
"suggest.acceptSuggestionOnCommitCharacter": true,
|
"suggest.acceptSuggestionOnCommitCharacter": true,
|
||||||
"diagnostic.displayByAle": false
|
"diagnostic.displayByAle": false,
|
||||||
|
"languageserver": {
|
||||||
|
"digestif": {
|
||||||
|
"command": "digestif",
|
||||||
|
"filetypes": ["tex", "plaintex", "context"]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,21 @@
|
||||||
let g:coc_global_extensions = ['coc-json', 'coc-git', 'coc-clangd', 'coc-cmake', 'coc-css', 'coc-floaterm', 'coc-fzf-preview', 'coc-html', 'coc-json', 'coc-lists', 'coc-lua', 'coc-pyright', 'coc-rust-analyzer', 'coc-sh', 'coc-sql', 'coc-yaml']
|
let g:coc_global_extensions = [
|
||||||
|
\'coc-json',
|
||||||
|
\'coc-git',
|
||||||
|
\'coc-clangd',
|
||||||
|
\'coc-cmake',
|
||||||
|
\'coc-css',
|
||||||
|
\'coc-floaterm',
|
||||||
|
\'coc-fzf-preview',
|
||||||
|
\'coc-html',
|
||||||
|
\'coc-json',
|
||||||
|
\'coc-lists',
|
||||||
|
\'coc-lua',
|
||||||
|
\'coc-pyright',
|
||||||
|
\'coc-rust-analyzer',
|
||||||
|
\'coc-sh',
|
||||||
|
\'coc-sql',
|
||||||
|
\'coc-yaml',
|
||||||
|
\]
|
||||||
|
|
||||||
" navigate between errors quickly
|
" navigate between errors quickly
|
||||||
nmap <silent> <C-k> <Plug>(coc-diagnostic-prev)
|
nmap <silent> <C-k> <Plug>(coc-diagnostic-prev)
|
||||||
|
|
|
@ -94,6 +94,9 @@ vnoremap p pgvy
|
||||||
" open terminal with F12
|
" open terminal with F12
|
||||||
nnoremap <F12> :terminal<CR>
|
nnoremap <F12> :terminal<CR>
|
||||||
|
|
||||||
|
" no line numbers for terminals
|
||||||
|
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||||
|
|
||||||
" vsplit with <Leader>, then "
|
" vsplit with <Leader>, then "
|
||||||
map <Leader>" :vsplit<CR>
|
map <Leader>" :vsplit<CR>
|
||||||
|
|
||||||
|
@ -114,8 +117,13 @@ nnoremap <leader>S i<CR><ESC> V:m -2<CR>
|
||||||
nmap <A-u> kzz
|
nmap <A-u> kzz
|
||||||
nmap <A-d> jzz
|
nmap <A-d> jzz
|
||||||
|
|
||||||
|
" stuff for marks
|
||||||
|
" jump to the given mark with <#> instead of `, i have a qwertz keyboard
|
||||||
|
nmap # `
|
||||||
|
vmap # `
|
||||||
|
|
||||||
" spell checking -----------------------------------------------------------------------------------
|
" spell checking -----------------------------------------------------------------------------------
|
||||||
set spell spelllang=en
|
set spell spelllang=en,de
|
||||||
|
|
||||||
" set a location
|
" set a location
|
||||||
set spellfile=~/.config/nvim/spell/en.utf-8.add
|
set spellfile=~/.config/nvim/spell/en.utf-8.add
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
let g:coc_filetype_map = {'tex': 'latex'}
|
|
@ -8,6 +8,8 @@ augroup terminal
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" debuging
|
" debuging
|
||||||
|
"let g:termdebug_config['map_K'] = 0
|
||||||
|
let g:termdebug_map_K = 0
|
||||||
packadd termdebug
|
packadd termdebug
|
||||||
|
|
||||||
" debugging for rust
|
" debugging for rust
|
||||||
|
@ -37,6 +39,9 @@ runtime tagbar.vim
|
||||||
" load suda
|
" load suda
|
||||||
runtime suda.vim
|
runtime suda.vim
|
||||||
|
|
||||||
|
" load vimtex
|
||||||
|
runtime vimtex.vim
|
||||||
|
|
||||||
" load ALE (another language server or something that works with COC)
|
" load ALE (another language server or something that works with COC)
|
||||||
"runtime ale.vim
|
"runtime ale.vim
|
||||||
|
|
||||||
|
@ -128,10 +133,6 @@ nmap <leader>cs :SlimeConfig<CR>
|
||||||
"------------------------------------------------------
|
"------------------------------------------------------
|
||||||
lua << EOF
|
lua << EOF
|
||||||
|
|
||||||
-- disable netrw at the very start of your init.lua (strongly advised)
|
|
||||||
vim.g.loaded_netrw = 1
|
|
||||||
vim.g.loaded_netrwPlugin = 1
|
|
||||||
|
|
||||||
-- set termguicolors to enable highlight groups
|
-- set termguicolors to enable highlight groups
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,6 @@ nnoremap <F5> :NvimTreeToggle<CR>
|
||||||
|
|
||||||
lua << EOF
|
lua << EOF
|
||||||
|
|
||||||
-- disable netrw at the very start of your init.lua
|
|
||||||
vim.g.loaded_netrw = 1
|
|
||||||
vim.g.loaded_netrwPlugin = 1
|
|
||||||
|
|
||||||
local function my_on_attach(bufnr)
|
local function my_on_attach(bufnr)
|
||||||
local api = require "nvim-tree.api"
|
local api = require "nvim-tree.api"
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ Plug 'nvim-tree/nvim-web-devicons'
|
||||||
Plug 'rust-lang/rust.vim'
|
Plug 'rust-lang/rust.vim'
|
||||||
Plug 'preservim/tagbar'
|
Plug 'preservim/tagbar'
|
||||||
Plug 'lambdalisue/suda.vim'
|
Plug 'lambdalisue/suda.vim'
|
||||||
|
Plug 'lervag/vimtex'
|
||||||
"Plug 'dense-analysis/ale'
|
"Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,43 @@
|
||||||
|
" This is necessary for VimTeX to load properly. The "indent" is optional.
|
||||||
|
" Note that most plugin managers will do this automatically.
|
||||||
|
filetype plugin indent on
|
||||||
|
|
||||||
|
" This enables Vim's and neovim's syntax-related features. Without this, some
|
||||||
|
" VimTeX features will not work (see ":help vimtex-requirements" for more
|
||||||
|
" info).
|
||||||
|
syntax enable
|
||||||
|
|
||||||
|
" Viewer options: One may configure the viewer either by specifying a built-in
|
||||||
|
" viewer method:
|
||||||
|
let g:vimtex_view_method = 'zathura'
|
||||||
|
|
||||||
|
" Or with a generic interface:
|
||||||
|
let g:vimtex_view_general_viewer = 'okular'
|
||||||
|
let g:vimtex_view_general_options = '--unique file:@pdf\#src:@line@tex'
|
||||||
|
|
||||||
|
" VimTeX uses latexmk as the default compiler backend. If you use it, which is
|
||||||
|
" strongly recommended, you probably don't need to configure anything. If you
|
||||||
|
" want another compiler backend, you can change it as follows. The list of
|
||||||
|
" supported backends and further explanation is provided in the documentation,
|
||||||
|
" see ":help vimtex-compiler".
|
||||||
|
let g:vimtex_compiler_method = 'latexmk'
|
||||||
|
|
||||||
|
" Most VimTeX mappings rely on localleader and this can be changed with the
|
||||||
|
" following line. The default is usually fine and is the symbol "\".
|
||||||
|
let maplocalleader = ","
|
||||||
|
|
||||||
|
let g:vimtex_compiler_latexmk = {
|
||||||
|
\ 'aux_dir' : 'build',
|
||||||
|
\ 'out_dir' : '',
|
||||||
|
\ 'callback' : 1,
|
||||||
|
\ 'continuous' : 1,
|
||||||
|
\ 'executable' : 'latexmk',
|
||||||
|
\ 'hooks' : [],
|
||||||
|
\ 'options' : [
|
||||||
|
\ '-verbose',
|
||||||
|
\ '-file-line-error',
|
||||||
|
\ '-synctex=1',
|
||||||
|
\ '-interaction=nonstopmode',
|
||||||
|
\ ],
|
||||||
|
\}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
[user]
|
[user]
|
||||||
email = software@cscherr.de
|
email = Christoph.Scherr@newtec.de
|
||||||
name = PlexSheep
|
name = Christoph J. Scherr
|
||||||
signingkey = software@cscherr.de
|
signingkey = Christoph.Scherr@newtec.de
|
||||||
[credential]
|
[credential]
|
||||||
helper = store --file ~/.git-credentials
|
helper = store --file ~/.git-credentials
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = false
|
gpgsign = false
|
||||||
|
[init]
|
||||||
|
defaultBranch = master
|
||||||
|
|
|
@ -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 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 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 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() {
|
function newpass() {
|
||||||
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
|
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@ alias gls=/bin/ls
|
||||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
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 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 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() {
|
function newpass() {
|
||||||
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
|
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue