diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..04758eb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".config/nvim"] + path = .config/nvim + url = https://github.com/NvChad/starter diff --git a/.vimrc b/.vimrc index 6186dc4..7b7f3e9 100644 --- a/.vimrc +++ b/.vimrc @@ -81,7 +81,9 @@ set lazyredraw " enable regex enginej set regexpengine=0 - +"Configure backspace so it acts as it should act +set backspace=eol,start,indent +set whichwrap+=<,>,h,l "plugins config @@ -89,7 +91,7 @@ set regexpengine=0 call plug#begin('~/.vim/plugged') Plug 'preservim/nerdtree' - Plug 'prabirshrestha/vim-lsp' +" Plug 'prabirshrestha/vim-lsp' Plug 'SirVer/ultisnips' Plug 'sheerun/vim-polyglot' Plug 'petrbroz/vim-glsl' @@ -138,4 +140,15 @@ autocmd! BufNewFile,BufRead *.fsh set ft=glsl set updatetime=300 +" easy complete settings: +" highlight the symbol when holding the cursor if you need it +let g:easycomplete_cursor_word_hl = 1 +" using nerdfont is highly recommened +let g:easycomplete_nerd_font = 1 +"goto code nav + +noremap gr :EasyCompleteReference +noremap gd :EasyCompleteGotoDefinition +noremap rn :EasyCompleteRename +noremap gb :BackToOrignialBuffer diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..6399283 --- /dev/null +++ b/readme.md @@ -0,0 +1 @@ +# Dotfiles 2022