mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-21 23:23:34 +00:00
feat: code signing etc
This commit is contained in:
parent
92bde3bcde
commit
51726d4b59
4 changed files with 18 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
|||
[user]
|
||||
name = Tine Jozelj
|
||||
email = tine@tjo.space
|
||||
#signingkey = 3818B74E3830D7CF
|
||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICXAlzwziqfUUb2qmFwNF/nrBYc5MNT1MMOx81ohBmB+
|
||||
|
||||
[commit]
|
||||
#gpgsign = true
|
||||
gpgsign = true
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
@ -20,3 +20,9 @@
|
|||
|
||||
[pull]
|
||||
ff = only
|
||||
|
||||
[gpg]
|
||||
format = ssh
|
||||
|
||||
[gpg "ssh"]
|
||||
allowedSignersFile = /home/tine/.ssh/allowed_signers
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"graphql",
|
||||
"prisma",
|
||||
"terraform",
|
||||
"jsonc"
|
||||
"jsonc",
|
||||
"rust"
|
||||
],
|
||||
"tsserver.formatOnType": true,
|
||||
"coc.preferences.formatOnType": true,
|
||||
|
|
|
@ -50,6 +50,7 @@ let g:coc_global_extensions = [
|
|||
\ 'coc-html',
|
||||
\ 'coc-sql',
|
||||
\ 'coc-toml',
|
||||
\ 'coc-rust-analyzer',
|
||||
\ ]
|
||||
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
||||
let g:coc_global_extensions += ['coc-prettier']
|
||||
|
@ -63,10 +64,12 @@ endif
|
|||
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
|
||||
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||
|
||||
" Find symbol of current document.
|
||||
nnoremap <silent><nowait> <space>o :<C-u>CocList outline<cr>
|
||||
" Diagnostic list
|
||||
nnoremap <silent> <space>d :<C-u>CocList diagnostics<cr>
|
||||
nnoremap <silent><nowait> <space>d :<C-u>CocList diagnostics<cr>
|
||||
" Symbols list
|
||||
nnoremap <silent> <space>s :<C-u>CocList -I symbols<cr>
|
||||
nnoremap <silent><nowait> <space>s :<C-u>CocList -I symbols<cr>
|
||||
" Code actions
|
||||
nmap <leader>do <Plug>(coc-codeaction)
|
||||
" Rename current world
|
||||
|
@ -140,7 +143,8 @@ require'nvim-treesitter.configs'.setup {
|
|||
"rust",
|
||||
"typescript",
|
||||
"vim",
|
||||
"yaml"
|
||||
"yaml",
|
||||
"glsl"
|
||||
},
|
||||
-- Install languages synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
|
|
@ -42,7 +42,7 @@ bindkey -M vicmd "?" history-incremental-search-backward
|
|||
bindkey -M vicmd "/" history-incremental-search-forward
|
||||
|
||||
# Aliases
|
||||
alias gicm="git checkout main && git pull"
|
||||
alias gicm="git checkout main && git pull || git checkout master && git pull"
|
||||
alias gic="git checkout"
|
||||
|
||||
alias difft="difftastic"
|
||||
|
|
Loading…
Reference in a new issue