Last active
January 30, 2021 14:24
-
-
Save ma-he-sh/f9d058ec05e095a2cc4ae8cf8a566584 to your computer and use it in GitHub Desktop.
Revisions
-
ma-he-sh revised this gist
Jan 30, 2021 . 1 changed file with 17 additions and 28 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 @@ -1,39 +1,35 @@ call plug#begin() Plug 'preservim/nerdtree' " NerdTree Plug 'pangloss/vim-javascript' " JavaScript support Plug 'leafgarland/typescript-vim' " TypeScript syntax Plug 'maxmellon/vim-jsx-pretty' " JS and JSX syntax Plug 'itchyny/lightline.vim' " Status Plug 'Yggdroot/indentLine' " Indent Lines Plug 'tpope/vim-fugitive' " Git Support Plug 'airblade/vim-gitgutter' " Change Lines " Themes "Plug 'wadackel/vim-dogrun' "Plug 'cseelus/vim-colors-lucid' "Plug 'ayu-theme/ayu-vim' "Plug 'owickstrom/vim-colors-paramount' "Plug 'endel/vim-github-colorscheme' "Plug 'dracula/vim', { 'name': 'dracula' } Plug 'embark-theme/vim', { 'as': 'embark' } " Code Support Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'dense-analysis/ale' Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' } Plug 'shawncplus/phpcomplete.vim' Plug 'junegunn/goyo.vim' " Functional Plug 'jiangmiao/auto-pairs' Plug 'junegunn/vim-easy-align' Plug 'alvan/vim-closetag' Plug 'Yggdroot/indentLine' " Autocomplete Plug 'ncm2/ncm2' @@ -55,14 +51,7 @@ set completeopt=noinsert,menuone,noselect syntax on set termguicolors colorscheme embark " IndentLine {{ let g:indentLine_char = '.' @@ -73,15 +62,15 @@ let g:indentLine_setColors = 0 " Config lightline let g:lightline = { \ 'colorscheme': 'embark', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'FugitiveHead' \ }, \} " -------------------------- -
ma-he-sh created this gist
Jan 29, 2021 .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,107 @@ call plug#begin() Plug 'junegunn/vim-easy-align' " Easy Align Plug 'ayu-theme/ayu-vim' " Ayu theme Plug 'preservim/nerdtree' " NerdTree Plug 'pangloss/vim-javascript' " JavaScript support Plug 'leafgarland/typescript-vim' " TypeScript syntax Plug 'maxmellon/vim-jsx-pretty' " JS and JSX syntax Plug 'jparise/vim-graphql' " GraphQL syntax Plug 'itchyny/lightline.vim' " Status Plug 'Yggdroot/indentLine' " Indent Lines Plug 'tpope/vim-fugitive' " Git Support Plug 'airblade/vim-gitgutter' " Change Lines " Themes Plug 'wadackel/vim-dogrun' Plug 'cseelus/vim-colors-lucid' Plug 'ayu-theme/ayu-vim' Plug 'owickstrom/vim-colors-paramount' Plug 'endel/vim-github-colorscheme' " Code Support Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'dense-analysis/ale' Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' } Plug 'shawncplus/phpcomplete.vim' Plug 'junegunn/goyo.vim' "Plug 'shmargum/vim-sass-colors' " Functional Plug 'jiangmiao/auto-pairs' Plug 'junegunn/vim-easy-align' Plug 'alvan/vim-closetag' Plug 'Yggdroot/indentLine' Plug 'sheerun/vim-polyglot' Plug 'chrisbra/Colorizer' " Autocomplete Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' Plug 'neoclide/coc.nvim', {'branch': 'release'} call plug#end() " -------------------------- " enable ncm2 for all buffers autocmd BufEnter * call ncm2#enable_for_buffer() set completeopt=noinsert,menuone,noselect " -------------------------- syntax on set termguicolors "let ayucolor="dark" "let ayucolor="light" "colorscheme ayu "colorscheme paramount colorscheme github "set background=dark set background=light " IndentLine {{ let g:indentLine_char = '.' let g:indentLine_first_char = '.' let g:indentLine_showFirstIndentLevel = 1 let g:indentLine_setColors = 0 " }} " Config lightline let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'FugitiveHead' \ }, \ } " -------------------------- set number set ts=4 set cursorline set showmatch set smartindent set tabstop=4 set shiftwidth=4 set expandtab set autoindent set laststatus=2 set updatetime=1000 "--------------------------- "set foldmethod=syntax filetype plugin indent on let python_highlight_all=1 " autocmd vimenter * NERDTree 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,17 @@ # Setting up neovim - https://github.com/neovim/neovim/wiki/Installing-Neovim ```sh sudo apt install neovim ``` # vim-plug for neovim - https://github.com/junegunn/vim-plug ```sh sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ``` # neovim init.vim ```sh place init.vim in ~/.config/nvim/init.vim ```