diff --git a/git/gitconfig b/git/gitconfig index 5e99e4d..51c90f1 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -7,3 +7,8 @@ [init] defaultBranch = main +[filter "lfs"] + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f diff --git a/vim/coc-settings.json b/vim/coc-settings.json index 1a2de5a..2855337 100644 --- a/vim/coc-settings.json +++ b/vim/coc-settings.json @@ -32,6 +32,10 @@ "coc.preferences.formatOnType": true, "yaml.schemaStore.enable": true, "yaml.schemas": { - "kubernetes": "/*.yaml" + "kubernetes": [ + "/kubernetes/**/*.yaml", + "/k8s/**/*.yaml" + ], + "https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yaml" } } diff --git a/vim/vimrc b/vim/vimrc index 71472e4..bbeddfb 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -9,6 +9,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif +""""" "--- Plugins call plug#begin('~/.vim/plugged') @@ -24,11 +25,9 @@ Plug 'Yggdroot/indentLine' Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' " Search/Files -Plug 'junegunn/fzf.vim' Plug 'preservim/nerdtree' Plug 'ctrlpvim/ctrlp.vim' " Ignore/Edit files -Plug 'editorconfig/editorconfig-vim' Plug 'vim-scripts/gitignore' " Languages Plug 'fatih/vim-go' @@ -42,6 +41,7 @@ Plug 'kevinoid/vim-jsonc' Plug 'neoclide/coc.nvim', {'branch': 'release'} call plug#end() +""""" "--- CodeServer Configurations let g:coc_global_extensions = [ \ 'coc-tsserver', @@ -80,6 +80,7 @@ nmap ac (coc-codeaction) " Apply AutoFix to problem on the current line. nmap qf (coc-fix-current) +""""" "--- TMUX/Clipboard fixes set t_Co=256 set t_ut= @@ -106,6 +107,7 @@ if exists('##TextYankPost') augroup END endif +""""" "--- VIM Configuration set encoding=UTF-8 set autoread " will re-read opened file if changed externaly @@ -135,16 +137,28 @@ set cmdheight=1 set hidden set shortmess+=c +""""" "- Custom commands command! -nargs=0 Prettier :CocCommand prettier.formatFile +""""" "- CtrlP +let g:ctrlp_max_files=0 +let g:ctrlp_max_depth=40 +let g:ctrlp_show_hidden=1 let g:ctrlp_custom_ignore = { \ 'dir': '\.git$\|\.yardoc\|node_modules\|log\|tmp$', - \ 'file': '\.so$\|\.dat$|\.DS_Store$' + \ 'file': '\.so$\|\.dat$|\.DS_Store$' \ } +"""""" "- NERDTree +let NERDTreeShowHidden=1 +let NERDTreeIgnore=['\.git$[[dir]]', 'node_modules$[[dir]]'] +let NERDTreeRespectWildIgnore=1 +let NERDTreeStatusline="NERDTree" +let NERDTreeMinimalUI=1 +let NERDTreeCascadeSingleChildDir=1 nnoremap n :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeFind @@ -157,12 +171,15 @@ function NERDTreeToggleAndRefresh() endif endfunction +""""" "- Keybindings -let mapleader = "'" +nnoremap +let mapleader = " " let g:ctrlp_map = '' let g:ctrlp_cmd = 'CtrlP' +""""" "- Visuals set noshowmode set number