diff options
| -rw-r--r-- | .config/alacritty/alacritty.yml | 22 | ||||
| -rw-r--r-- | .config/nvim/init.vim | 41 | ||||
| -rw-r--r-- | .gitignore | 1 |
3 files changed, 54 insertions, 10 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..2c2e741 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,22 @@ +# Font configuration (changes require restart) +font: + # The size to use. + size: 12 + # The normal (roman) font face to use. + normal: + family: JetBrainsMono Nerd Font + # Style can be specified to pick a specific face. + style: Regular + + # The bold font face + bold: + family: JetBrainsMono Nerd Font + # Style can be specified to pick a specific face. + # style: Bold + + # The italic font face + italic: + family: JetBrainsMono Nerd Font + # () + # Style can be specified to pick a specific face. + # style: Italic diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 8426b93..2042b4d 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,4 +1,30 @@ set nocompatible " be iMproved, required +" PYTHON PROVIDERS {{{ + +if has('macunix') + +" OSX + +let g:python3_host_prog = '/usr/bin/python3' " -- Set python 3 provider + +" let g:python_host_prog = '/usr/bin/python2' " --- Set python 2 provider + +elseif has('unix') + +" Ubuntu + +let g:python3_host_prog = '/usr/bin/python3' " -------- Set python 3 provider + +" let g:python_host_prog = '/usr/bin/python' " ---------- Set python 2 provider + +elseif has('win32') || has('win64') + +" Window + +endif + +" }}} + " auto-install vim-plug if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ @@ -18,7 +44,7 @@ Plug 'octol/vim-cpp-enhanced-highlight' Plug 'tikhomirov/vim-glsl' " latex Plug 'lervag/vimtex' - +Plug 'morhetz/gruvbox' call plug#end() filetype plugin indent on " required @@ -34,6 +60,7 @@ filetype plugin indent on " required " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line " +colorscheme gruvbox hi clear SignColumn @@ -61,12 +88,7 @@ nmap <leader>a <Plug>(coc-codeaction-selected) nmap <leader>ac <Plug>(coc-codeaction-selected)w -if system('uname -s') == "Darwin\n" - set clipboard=unnamed "OSX -else - set clipboard=unnamedplus "Linux -endif - +set clipboard+=unnamedplus " " Copy to clipboard vnoremap <leader>y "+y nnoremap <leader>Y "+yg_ @@ -80,7 +102,7 @@ vnoremap <leader>p "+p vnoremap <leader>P "+P "python with virtualenv support -py << EOF +py3 << EOF import os import sys if 'VIRTUAL_ENV' in os.environ: @@ -218,7 +240,7 @@ highlight LineNr ctermfg=grey let python_highlight_all=1 syntax on -highlight Pmenu ctermfg=cyan ctermbg=black +" highlight Pmenu ctermfg=cyan ctermbg=black let g:ycm_python_binary_path = 'python' let g:ycm_server_python_interpreter = '/usr/bin/python' @@ -245,4 +267,3 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 -let g:tex_flavor='latex' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store |
