Last active
July 14, 2022 07:46
-
-
Save JeanOsorio/c6de5fd196f9778715fb07ea06b60d17 to your computer and use it in GitHub Desktop.
Revisions
-
JeanOsorio revised this gist
Jul 14, 2022 . No changes.There are no files selected for viewing
-
JeanOsorio revised this gist
Jul 13, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --producti Plug 'tpope/vim-fugitive' Plug 'junegunn/gv.vim' Plug 'dyng/ctrlsf.vim' " requires ack brew install ack (https://beyondgrep.com) Plug 'gertjanreynaert/cobalt2-vim-theme' call plug#end() @@ -49,7 +50,7 @@ let g:NERDTreeWinPos = "right" let NERDTreeShowHidden=1 colorscheme cobalt2 " coc config let g:coc_global_extensions = [ @@ -97,3 +98,4 @@ highlight GitGutterDelete guifg=#ff2222 ctermfg=Red nmap ) <Plug>(GitGutterNextHunk) nmap ( <Plug>(GitGUtterPrevHunk) let g:gitgutter_enabled = 1 -
JeanOsorio revised this gist
Jul 12, 2022 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,6 +32,9 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'APZelos/blamer.nvim' Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production' } Plug 'tpope/vim-fugitive' Plug 'junegunn/gv.vim' Plug 'dyng/ctrlsf.vim' " requires ack brew install ack (https://beyondgrep.com) call plug#end() @@ -56,7 +59,7 @@ let g:coc_global_extensions = [ \ 'coc-eslint', \ 'coc-prettier', \ 'coc-json', \ ] " from readme " if hidden is not set, TextEdit might fail. set hidden " Some servers have issues with backup files, see #649 set nobackup set nowritebackup " Better display for messages set cmdheight=2 " You will have bad experience for diagnostic messages when it's default 4000. @@ -86,3 +89,11 @@ let g:blamer_enabled = 1 " prettier autoformat let g:prettier#autoformat = 1 let g:prettier#autoformat_require_pragma = 0 " Git Gutter highlight GitGutterAdd guifg=#009900 ctermfg=Green highlight GitGutterChange guifg=#bbbb00 ctermfg=Yellow highlight GitGutterDelete guifg=#ff2222 ctermfg=Red nmap ) <Plug>(GitGutterNextHunk) nmap ( <Plug>(GitGUtterPrevHunk) let g:gitgutter_enabled = 1 -
JeanOsorio revised this gist
Jul 11, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,7 @@ let g:coc_global_extensions = [ \ 'coc-eslint', \ 'coc-prettier', \ 'coc-json', \ 'coc-solidity'] " from readme " if hidden is not set, TextEdit might fail. set hidden " Some servers have issues with backup files, see #649 set nobackup set nowritebackup " Better display for messages set cmdheight=2 " You will have bad experience for diagnostic messages when it's default 4000. -
JeanOsorio revised this gist
Jul 11, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -84,4 +84,5 @@ nnoremap <C-f> :FZF<CR> let g:blamer_enabled = 1 " prettier autoformat let g:prettier#autoformat = 1 let g:prettier#autoformat_require_pragma = 0 -
JeanOsorio revised this gist
Jul 11, 2022 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,6 +31,7 @@ Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple c Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'APZelos/blamer.nvim' Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production' } call plug#end() @@ -81,3 +82,6 @@ endfunction nnoremap <C-f> :FZF<CR> let g:blamer_enabled = 1 " prettier autoformat let g:prettier#autoformat_require_pragma = 0 -
JeanOsorio revised this gist
Jul 11, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,6 +30,7 @@ Plug 'ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'APZelos/blamer.nvim' call plug#end() @@ -78,3 +79,5 @@ function! s:show_documentation() endfunction nnoremap <C-f> :FZF<CR> let g:blamer_enabled = 1 -
JeanOsorio created this gist
Jul 11, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,80 @@ set number set relativenumber set number set relativenumber set autoindent set tabstop=2 set shiftwidth=2 set smarttab set softtabstop=2 set mouse=a set expandtab set encoding=UTF-8 call plug#begin() Plug 'https://github.com/vim-airline/vim-airline' Plug 'https://github.com/preservim/nerdtree' Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'ryanoasis/vim-devicons' Plug 'airblade/vim-gitgutter' Plug 'ctrlpvim/ctrlp.vim' " fuzzy find files Plug 'scrooloose/nerdcommenter' Plug 'christoomey/vim-tmux-navigator' Plug 'morhetz/gruvbox' Plug 'HerringtonDarkholme/yats.vim' " TS Syntax Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } call plug#end() set guifont=hack_nerd_font:h21 nnoremap <C-b> :NERDTreeToggle<CR> let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" let g:NERDTreeWinPos = "right" let NERDTreeShowHidden=1 colorscheme gruvbox " coc config let g:coc_global_extensions = [ \ 'coc-snippets', \ 'coc-pairs', \ 'coc-tsserver', \ 'coc-eslint', \ 'coc-prettier', \ 'coc-json', \ ] " from readme " if hidden is not set, TextEdit might fail. set hidden " Some servers have issues with backup files, see #649 set nobackup set nowritebackup " Better display for messages set cmdheight=2 " You will have bad experience for diagnostic messages when it's default 4000. set updatetime=300 " Remap keys for gotos nmap <silent> gd <Plug>(coc-definition) nmap <silent> gy <Plug>(coc-type-definition) nmap <silent> gi <Plug>(coc-implementation) nmap <silent> gr <Plug>(coc-references) " Use K to show documentation in preview window nnoremap <silent> K :call <SID>show_documentation()<CR> function! s:show_documentation() if (index(['vim','help'], &filetype) >= 0) execute 'h '.expand('<cword>') else call CocAction('doHover') endif endfunction nnoremap <C-f> :FZF<CR>