diff options
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | keys/which-key.vim | 14 | ||||
| -rw-r--r-- | vim-plug/plugins.vim | 202 | 
3 files changed, 124 insertions, 102 deletions
| @@ -132,15 +132,23 @@ To use tabnine enter the following in a buffer:  TabNine::config  ``` +## Vim Gists + +To use **vim-gists** you will need to configure the following: + +``` +git config --global github.user <username> +``` +  ## TODO  - vimspector  - ale -- multiple cursors  ## LOW PRIORITY  - git messenger +- multiple cursors  - markdown table  - People asked about vimwiki I kinda hate it but maybe I'll add it  - spaceline (add colorscheme for mach2) diff --git a/keys/which-key.vim b/keys/which-key.vim index 110594d0..b24cbc82 100644 --- a/keys/which-key.vim +++ b/keys/which-key.vim @@ -142,6 +142,7 @@ let g:which_key_map.g = {        \ 'G' : [':Gstatus'                          , 'status'],        \ 'h' : [':GitGutterLineHighlightsToggle'    , 'highlight hunks'],        \ 'H' : ['<Plug>(GitGutterPreviewHunk)'      , 'preview hunk'], +      \ 'i' : [':Gist -b'                          , 'post gist'],        \ 'j' : ['<Plug>(GitGutterNextHunk)'         , 'next hunk'],        \ 'k' : ['<Plug>(GitGutterPrevHunk)'         , 'prev hunk'],        \ 'l' : [':Git log'                          , 'log'], @@ -156,6 +157,19 @@ let g:which_key_map.g = {        \ 'V' : [':GV!'                              , 'view buffer commits'],        \ } +let g:which_key_map.G = { +      \ 'name' : '+gist' , +      \ 'a' : [':Gist -a'                          , 'post gist anon'], +      \ 'b' : [':Gist -b'                          , 'post gist browser'], +      \ 'd' : [':Gist -d'                          , 'delete gist'], +      \ 'e' : [':Gist -e'                          , 'edit gist'], +      \ 'l' : [':Gist -l'                          , 'list public gists'], +      \ 's' : [':Gist -ls'                         , 'list starred gists'], +      \ 'm' : [':Gist -m'                          , 'post gist all buffers'], +      \ 'p' : [':Gist -P'                          , 'post public gist '], +      \ 'P' : [':Gist -p'                          , 'post private gist '], +      \ } +  " l is for language server protocol  let g:which_key_map.l = {        \ 'name' : '+lsp' , diff --git a/vim-plug/plugins.vim b/vim-plug/plugins.vim index 9146fc58..853e1374 100644 --- a/vim-plug/plugins.vim +++ b/vim-plug/plugins.vim @@ -8,8 +8,6 @@ endif  call plug#begin('~/.config/nvim/autoload/plugged') -  " jsx syntax support -  Plug 'maxmellon/vim-jsx-pretty'    Plug 'suy/vim-context-commentstring'    " Change dates fast @@ -30,106 +28,108 @@ call plug#begin('~/.config/nvim/autoload/plugged')    " auto set indent settings    Plug 'tpope/vim-sleuth' -  if exists('g:vscode') -    " Easy motion for VSCode -    Plug 'asvetliakov/vim-easymotion' +  " Text Navigation +  Plug 'justinmk/vim-sneak' +  Plug 'unblevable/quick-scope' +  " Add some color +  Plug 'norcalli/nvim-colorizer.lua' +  Plug 'luochen1990/rainbow' +  " Better Syntax Support +  Plug 'sheerun/vim-polyglot' +  " Cool Icons +  Plug 'ryanoasis/vim-devicons' +  " Auto pairs for '(' '[' '{' +  Plug 'jiangmiao/auto-pairs' +  " Closetags +  Plug 'alvan/vim-closetag' +  " Themes +  Plug 'christianchiarulli/onedark.vim' +  " Intellisense +  Plug 'neoclide/coc.nvim', {'branch': 'release'} +  " Status Line +  Plug 'vim-airline/vim-airline' +  Plug 'kevinhwang91/rnvimr', {'do': 'make sync'} +  " FZF +  Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +  Plug 'junegunn/fzf.vim' +  " Git +  Plug 'airblade/vim-gitgutter' +  Plug 'tpope/vim-fugitive' +  Plug 'tpope/vim-rhubarb' +  Plug 'junegunn/gv.vim' +  " Terminal +  Plug 'voldikss/vim-floaterm' +  " Start Screen +  Plug 'mhinz/vim-startify' +  " Vista +  Plug 'liuchengxu/vista.vim' +  " See what keys do like in emacs +  Plug 'liuchengxu/vim-which-key' +  " Zen mode +  Plug 'junegunn/goyo.vim' +  " Snippets +  Plug 'honza/vim-snippets' +  Plug 'mattn/emmet-vim' +  " Interactive code +  Plug 'metakirby5/codi.vim' +  " Debugging +  Plug 'puremourning/vimspector' +  " Better tabline +  Plug 'mg979/vim-xtabline' +  " undo time travel +  Plug 'mbbill/undotree' +  " highlight all matches under cursor +  Plug 'RRethy/vim-illuminate' +  " Find and replace +  Plug 'brooth/far.vim' +  " Auto change html tags +  Plug 'AndrewRadev/tagalong.vim' +  " live server +  Plug 'turbio/bracey.vim' +  " Smooth scroll +  Plug 'psliwka/vim-smoothie' +  " async tasks +  Plug 'skywind3000/asynctasks.vim' +  Plug 'skywind3000/asyncrun.vim' +  " Swap windows +  Plug 'wesQ3/vim-windowswap' +  " Markdown Preview +  Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & npm install'  } +  " Better Whitespace +  Plug 'ntpeters/vim-better-whitespace' +  " Easily Create Gists +  Plug 'mattn/vim-gist' +  Plug 'mattn/webapi-vim' + +  " Plugin Graveyard -  else -    " Text Navigation -    Plug 'justinmk/vim-sneak' -    Plug 'unblevable/quick-scope' -    " Add some color -    Plug 'norcalli/nvim-colorizer.lua' -    Plug 'luochen1990/rainbow' -    " Better Syntax Support -    Plug 'sheerun/vim-polyglot' -    " Cool Icons -    Plug 'ryanoasis/vim-devicons' -    " Auto pairs for '(' '[' '{' -    Plug 'jiangmiao/auto-pairs' -    " Closetags -    Plug 'alvan/vim-closetag' -    " Themes -    Plug 'christianchiarulli/onedark.vim' -    " Intellisense -    Plug 'neoclide/coc.nvim', {'branch': 'release'} -    " Status Line -    Plug 'vim-airline/vim-airline' -    Plug 'kevinhwang91/rnvimr', {'do': 'make sync'} -    " FZF -    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } -    Plug 'junegunn/fzf.vim' -    " Git -    Plug 'airblade/vim-gitgutter' -    Plug 'tpope/vim-fugitive' -    Plug 'tpope/vim-rhubarb' -    Plug 'junegunn/gv.vim' -    " Terminal -    Plug 'voldikss/vim-floaterm' -    " Start Screen -    Plug 'mhinz/vim-startify' -    " Vista -    Plug 'liuchengxu/vista.vim' -    " See what keys do like in emacs -    Plug 'liuchengxu/vim-which-key' -    " Zen mode -    Plug 'junegunn/goyo.vim' -    " Snippets -    Plug 'honza/vim-snippets' -    Plug 'mattn/emmet-vim' -    " Interactive code -    Plug 'metakirby5/codi.vim' -    " Debugging -    Plug 'puremourning/vimspector' -    " Better tabline -    Plug 'mg979/vim-xtabline' -    " undo time travel -    Plug 'mbbill/undotree' -    " highlight all matches under cursor -    Plug 'RRethy/vim-illuminate' -    " Find and replace -    Plug 'brooth/far.vim' -    " Auto change html tags -    Plug 'AndrewRadev/tagalong.vim' -    " live server -    Plug 'turbio/bracey.vim' -    " Typescript syntax -    Plug 'HerringtonDarkholme/yats.vim' -    " Smooth scroll -    Plug 'psliwka/vim-smoothie' -    " async tasks -    Plug 'skywind3000/asynctasks.vim' -    Plug 'skywind3000/asyncrun.vim' -    " Swap windows -    Plug 'wesQ3/vim-windowswap' -    " Markdown Preview -    Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & npm install'  } -    " Better Whitespace -    Plug 'ntpeters/vim-better-whitespace' -    " Multiple Cursors -    Plug 'terryma/vim-multiple-cursors' -    " Async Linting Engine -    Plug 'dense-analysis/ale' -    " Plugin Graveyard -    " Plug 'kaicataldo/material.vim' -    " Plug 'NLKNguyen/papercolor-theme' -    " Plug 'tomasiser/vim-code-dark' -    " Vim Wiki -    " Plug 'https://github.com/vimwiki/vimwiki.git' -    " Better Comments -    " Plug 'jbgutierrez/vim-better-comments' -    " Echo doc -    " Plug 'Shougo/echodoc.vim' -    " Plug 'hardcoreplayers/spaceline.vim' -    " Plug 'vim-airline/vim-airline-themes' -    " Ranger -    " Plug 'francoiscabrol/ranger.vim' -    " Plug 'rbgrouleff/bclose.vim' -    " Making stuff -    " Plug 'neomake/neomake' -    " Plug 'mhinz/vim-signify' -    " Plug 'easymotion/vim-easymotion' -  endif +  " jsx syntax support +  " Plug 'maxmellon/vim-jsx-pretty' +  " Typescript syntax +  " Plug 'HerringtonDarkholme/yats.vim' +  " Multiple Cursors +  " Plug 'terryma/vim-multiple-cursors' +  " Async Linting Engine +  " TODO make sure to add ale config before plugin +  " Plug 'dense-analysis/ale' +  " Plug 'kaicataldo/material.vim' +  " Plug 'NLKNguyen/papercolor-theme' +  " Plug 'tomasiser/vim-code-dark' +  " Vim Wiki +  " Plug 'https://github.com/vimwiki/vimwiki.git' +  " Better Comments +  " Plug 'jbgutierrez/vim-better-comments' +  " Echo doc +  " Plug 'Shougo/echodoc.vim' +  " Plug 'hardcoreplayers/spaceline.vim' +  " Plug 'vim-airline/vim-airline-themes' +  " Ranger +  " Plug 'francoiscabrol/ranger.vim' +  " Plug 'rbgrouleff/bclose.vim' +  " Making stuff +  " Plug 'neomake/neomake' +  " Plug 'mhinz/vim-signify' +  " Plug 'easymotion/vim-easymotion'  call plug#end() | 
