Browse Source

auto push

Chris 5 years ago
parent
commit
eeaddfc345
2 changed files with 7 additions and 26 deletions
  1. 2 1
      README.md
  2. 5 25
      modules/vim-which-key.vim

+ 2 - 1
README.md

@@ -89,7 +89,7 @@ yarn install --frozen-lockfile
 ```
 
 [Official installation page](https://github.com/neoclide/coc.nvim/wiki/Install-coc.nvim)
-[Extensions](https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions)
+[CoC Extensions](https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions)
 
 ## ALE Linting
 
@@ -110,6 +110,7 @@ yarn install --frozen-lockfile
 - look into save vim sessions
 - create keymap file and move combinations from general
 - ultisnips for autogenerate front matter with data and stuff
+- setup blog with vimwiki
 
 ## Notes
 

+ 5 - 25
modules/vim-which-key.vim

@@ -53,14 +53,6 @@ let g:which_key_map.t = {
       \ 't' : [':6sp term://zsh'            , 'terminal']            ,
       \ }
 
-let g:which_key_map.h = {
-      \ 'name' : '+highlights' ,
-      \ 's' : ['nohlsearch'     , 'remove-search-highlight'] ,
-      \ 'c' : ['ColorToggle'    , 'remove-color']            ,
-      \ }
-      "<Plug>(ale_hover)`
-      "\ 'f' : ['LanguageClient#textDocument_formatting()'     , 'formatting']       ,
-      "\ 'h' : ['LanguageClient#textDocument_hover()'          , 'hover']            ,
 let g:which_key_map.l = {
       \ 'name' : '+lsp' ,
       \ 'c' : ['LanguageClient_contextMenu()'                 , 'context_menu']     ,
@@ -72,29 +64,17 @@ let g:which_key_map.l = {
       \ 's' : ['LanguageClient#textDocument_documentSymbol()' , 'document-symbol']  ,
       \ 'S' : ['LanguageClient#workspace_symbol()'            , 'workspace-symbol'] ,
       \ 'g' : {
-        \ 'name': '+goto',
-        \ 'd' : ['LanguageClient#textDocument_definition()'     , 'definition']       ,
-        \ 't' : ['LanguageClient#textDocument_typeDefinition()' , 'type-definition']  ,
-        \ 'i' : ['LanguageClient#textDocument_implementation()'  , 'implementation']  ,
-        \ },
+      \ 'name': '+goto',
+      \ 'd' : ['LanguageClient#textDocument_definition()'     , 'definition']       ,
+      \ 't' : ['LanguageClient#textDocument_typeDefinition()' , 'type-definition']  ,
+      \ 'i' : ['LanguageClient#textDocument_implementation()'  , 'implementation']  ,
+      \ },
       \ 'p' : {
         \ 'name': '+python',
         \ 'd' : ['<Plug>(pydocstring)'  , 'python-docstring']  ,
         \ },
       \ }
 
-"let g:which_key_map.w = {
-      "\ 'name' : '+windows' ,
-      "\ 'v' : ['<C-W>v'     , 'split-window-right']    ,
-      "\ 'h' : ['<C-W>s'     , 'split-window-below']    ,
-      "\ 'w' : ['<C-W>w'     , 'other-window']          ,
-      "\ 'o' : ['only'       , 'close-all-other-windows']    ,
-      "\ 'd' : ['<C-W>c'     , 'delete-window']         ,
-      "\ '2' : ['<C-W>v'     , 'layout-double-columns'] ,
-      "\ '=' : ['<C-W>='     , 'balance-window']        ,
-      "\ '?' : ['Windows'    , 'fzf-window']            ,
-      "\ }
-
 let g:which_key_map.b = {
        \ 'name' : '+buffer' ,
        \ '1' : ['b1'        , 'buffer 1']        ,