Archived
1
0
Fork 0
This commit is contained in:
J. Elfring (i) 2024-10-23 09:15:27 +02:00
parent 00d2f7c647
commit 7289332af7
3 changed files with 11 additions and 2 deletions

View file

@ -48,7 +48,7 @@ test "_$password" = "_" && exit
command -v clipctl >/dev/null && clipctl disable
## Copy pass and show otp, exit silently if anything fails
pass show -c "$password" 2>/dev/null || exit 0
pass show -c "$password"
pass otp "$password" 2>/dev/null || exit 0
## Re-Enable clipman

View file

@ -6,16 +6,19 @@ filetype off " required
" set the runtime path to include Vundle and initialize
" Install with git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'Raimondi/delimitMate' " Autoclose quotes, parenthesis, brackets, etc.
Plugin 'Yggdroot/indentLine'
Plugin 'airblade/vim-gitgutter' " Git-indicators on the left
Plugin 'dhruvasagar/vim-table-mode' " Nice ascii tables
Plugin 'itchyny/lightline.vim' " Status-line
Plugin 'junegunn/vim-easy-align' " Align at any chars
Plugin 'ntpeters/vim-better-whitespace' " Complain on evil eol whitespace
Plugin 'preservim/nerdcommenter' " Comments...
Plugin 'preservim/nerdtree' " Nerdtree...
Plugin 'tpope/vim-fugitive' " git integration
call vundle#end()
@ -325,6 +328,11 @@ let NERDTreeIgnore=['\.vim$', '\~$', '\.git$', '.DS_Store']
" Close nerdtree and vim on close file
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
" ==================== Base64 de- and encoding ====================
let g:indentLine_enabled = 0
let g:indentLine_char = '┊'
nmap <leader>il :IndentLinesToggle<cr>
" ==================== Base64 de- and encoding ====================
vnoremap <leader>b64d y:let @"=system('base64 -w 0 --decode', @")<cr>gvP
vnoremap <leader>b64e y:let @"=system('base64 -w 0', @")<cr>gvP

View file

@ -9,6 +9,7 @@ sudo apt-get install ca-certificates \
mc \
pass \
xclip \
x11-xkb-utils \
zathura
## Kubernetes