From e015c4b5f1b0c7559e278452cda62a8fa6f38396 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 22 Sep 2020 22:34:50 +0200 Subject: [PATCH] Tiny fixes Clarified naming scheme in sxhkd-chain-labels documentation. Updated year for vim copyright shortcut. Enabled automatic copying to clipboard by neovim for every yank action. --- nvim/.config/nvim/init.vim | 5 ++++- nvim/.config/nvim/spell/en.utf-8.add | 4 ++++ sxhkd/.local/bin/sxhkd-chain-labels | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index c8d814e..31ef82d 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -158,6 +158,9 @@ set foldlevel=2 highlight ColorColumn ctermbg=magenta call matchadd('ColorColumn', '\%81v', 100) +" pump all clippings into the system clipboard +set clipboard+=unnamedplus + " Special setting for editing gopass files - make sure nothing leaks outside " the directories it is supposed to au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile nowritebackup viminfo= @@ -189,7 +192,7 @@ iabbrev projcets projects " Text expansion iabbrev mo@ marty.oehme@gmail.com iabbrev mo.me@ -iabbrev mcc@ Copyright 2019 Marty Oehme, all rights reserved. +iabbrev mcc@ Copyright 2020 Marty Oehme, all rights reserved. " " }}} diff --git a/nvim/.config/nvim/spell/en.utf-8.add b/nvim/.config/nvim/spell/en.utf-8.add index 9a3de38..945a176 100644 --- a/nvim/.config/nvim/spell/en.utf-8.add +++ b/nvim/.config/nvim/spell/en.utf-8.add @@ -54,3 +54,7 @@ embeddedness Zapatista essentialism screenshot +depoliticization +exceptionalism +presidentialization +Polanyi diff --git a/sxhkd/.local/bin/sxhkd-chain-labels b/sxhkd/.local/bin/sxhkd-chain-labels index 287cd80..8272a93 100755 --- a/sxhkd/.local/bin/sxhkd-chain-labels +++ b/sxhkd/.local/bin/sxhkd-chain-labels @@ -135,7 +135,7 @@ get_help() { Instead of using an explicit configuration file, you can put the chain mode information into the regular sxhkdrc as comments. They need to follow this exact format: - # mode:mode name:key chain + # mode:mode-name:key-chain They can occur anywhere in the file. The space before mode is necessary, and # needs to be the first character on the line. The above example file as written into the sxhkdrc: