Compare commits

...

25 Commits

Author SHA1 Message Date
Christoph J. Scherr 9169ac9039 Merge branch 'cscherrNT-master' 2023-09-05 21:57:14 +02:00
Christoph J. Scherr f0648c75d0 remove joplin 2023-09-05 21:57:01 +02:00
Christoph J. Scherr 1054c7cbca Merge branch 'master' into master 2023-09-05 21:56:13 +02:00
Christoph J. Scherr d0fd075301 fix zsh function 2023-09-05 21:54:42 +02:00
Christoph J. Scherr 19a928b8fe Merge branch 'master' of https://git.cscherr.de/PlexSheep/configs into PlexSheep-master 2023-09-05 21:54:42 +02:00
Christoph J. Scherr 5f44fcb831 add spell files 2023-09-05 21:53:35 +02:00
Christoph J. Scherr 10faaa10e0 set default git branch name to master 2023-09-05 21:53:35 +02:00
cscherrNT 2e15821f34 Merge pull request 'xdg config home' (#3) from PlexSheep/configs:master into master
Reviewed-on: cscherrNT/configs#3
2023-09-05 21:53:35 +02:00
Christoph J. Scherr 0f1d1799fb no line numbers for vim terminals 2023-09-05 21:53:35 +02:00
Christoph J. Scherr e26e71bd2e fix zsh function 2023-09-04 09:41:20 +02:00
Christoph J. Scherr 122a56fcab
Merge branch 'master' of https://git.cscherr.de/PlexSheep/configs into PlexSheep-master 2023-09-04 09:31:20 +02:00
Christoph J. Scherr 927d7c86de
add spell files 2023-08-31 15:42:50 +02:00
Christoph J. Scherr 06351bcd83
set default git branch name to master 2023-08-31 09:54:07 +02:00
cscherrNT 45c429b7b2 Merge pull request 'xdg config home' (#3) from PlexSheep/configs:master into master
Reviewed-on: cscherrNT/configs#3
2023-08-28 09:49:34 +02:00
Christoph J. Scherr 5faff271b5
better marks 2023-08-28 09:48:24 +02:00
Christoph J. Scherr b50756977e
no line numbers for vim terminals 2023-08-28 09:48:24 +02:00
Christoph J. Scherr 14bddd1308
enable netrw to download spell files 2023-08-28 09:48:24 +02:00
Christoph J. Scherr 6b5999ede6
joplin vimrc 2023-08-28 09:48:24 +02:00
Christoph J. Scherr 2889e2e0b6
vim spell for english and german 2023-08-28 09:48:24 +02:00
Christoph J. Scherr e889e5cc01
cachekeys function 2023-08-04 12:23:32 +02:00
Christoph J. Scherr 8212bd1e12
add ssh-key caching 2023-08-04 12:20:03 +02:00
Christoph J. Scherr 7fbe06c7b5
dont map K termdebug 2023-07-28 13:55:40 +02:00
Christoph J. Scherr 6b58e56c77 kitty use noto mono nerd font 2023-07-28 09:21:08 +02:00
Christoph J. Scherr 338a962b3f nvim latex stuff 2023-07-28 09:18:07 +02:00
cscherrNT 3baeb502a3 Merge pull request 'master' (#2) from PlexSheep/configs:master into master
Reviewed-on: cscherrNT/configs#2
2023-07-17 12:11:46 +02:00
14 changed files with 327 additions and 17 deletions

View File

@ -1,12 +1,12 @@
# vim:fileencoding=utf-8:foldmethod=marker
#: Fonts {{{
Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
# font_family monospace
font_family NotoMono Nerd Font Mono
# bold_font auto
# italic_font auto
# bold_italic_font auto
@ -184,7 +184,7 @@
#: arrive at a pixel value. There must be four values corresponding to
#: thin, normal, thick, and very thick lines.
#: }}}
}}}
#: Cursor customization {{{

View File

@ -1,5 +1,11 @@
{
"rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer",
"suggest.acceptSuggestionOnCommitCharacter": true,
"diagnostic.displayByAle": false
"diagnostic.displayByAle": false,
"languageserver": {
"digestif": {
"command": "digestif",
"filetypes": ["tex", "plaintex", "context"]
}
}
}

View File

@ -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
nmap <silent> <C-k> <Plug>(coc-diagnostic-prev)

View File

@ -94,6 +94,9 @@ vnoremap p pgvy
" open terminal with F12
nnoremap <F12> :terminal<CR>
" no line numbers for terminals
autocmd TermOpen * setlocal nonumber norelativenumber
" vsplit with <Leader>, then "
map <Leader>" :vsplit<CR>
@ -114,8 +117,13 @@ nnoremap <leader>S i<CR><ESC> V:m -2<CR>
nmap <A-u> kzz
nmap <A-d> 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
set spell spelllang=en,de
" set a location
set spellfile=~/.config/nvim/spell/en.utf-8.add

View File

@ -0,0 +1 @@
let g:coc_filetype_map = {'tex': 'latex'}

View File

@ -8,6 +8,8 @@ augroup terminal
augroup END
" debuging
"let g:termdebug_config['map_K'] = 0
let g:termdebug_map_K = 0
packadd termdebug
" debugging for rust
@ -37,6 +39,9 @@ runtime tagbar.vim
" load suda
runtime suda.vim
" load vimtex
runtime vimtex.vim
" load ALE (another language server or something that works with COC)
"runtime ale.vim
@ -128,10 +133,6 @@ nmap <leader>cs :SlimeConfig<CR>
"------------------------------------------------------
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
vim.opt.termguicolors = true

View File

@ -3,10 +3,6 @@ nnoremap <F5> :NvimTreeToggle<CR>
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 api = require "nvim-tree.api"

View File

@ -23,6 +23,7 @@ Plug 'nvim-tree/nvim-web-devicons'
Plug 'rust-lang/rust.vim'
Plug 'preservim/tagbar'
Plug 'lambdalisue/suda.vim'
Plug 'lervag/vimtex'
"Plug 'dense-analysis/ale'
call plug#end()

View File

View File

@ -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

View File

@ -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',
\ ],
\}

View File

@ -1,8 +1,10 @@
[user]
email = software@cscherr.de
name = PlexSheep
signingkey = software@cscherr.de
email = Christoph.Scherr@newtec.de
name = Christoph J. Scherr
signingkey = Christoph.Scherr@newtec.de
[credential]
helper = store --file ~/.git-credentials
[commit]
gpgsign = false
[init]
defaultBranch = master

View File

@ -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}
}

View File

@ -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 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}
}