Remove goyo (I wasn't really using it)

This commit is contained in:
Kevin MacMartin 2022-04-14 00:47:28 -04:00
parent 272467b1ce
commit ad7c92dcc9
5 changed files with 0 additions and 19 deletions

3
.gitmodules vendored
View file

@ -58,9 +58,6 @@
[submodule "vim/bundle/tlib_vim"] [submodule "vim/bundle/tlib_vim"]
path = vim/bundle/tlib_vim path = vim/bundle/tlib_vim
url = https://github.com/tomtom/tlib_vim.git url = https://github.com/tomtom/tlib_vim.git
[submodule "vim/bundle/goyo.vim"]
path = vim/bundle/goyo.vim
url = https://github.com/junegunn/goyo.vim.git
[submodule "vim/bundle/tabular"] [submodule "vim/bundle/tabular"]
path = vim/bundle/tabular path = vim/bundle/tabular
url = https://github.com/godlygeek/tabular url = https://github.com/godlygeek/tabular

View file

@ -117,7 +117,6 @@ As usual, to have your system use `vimpager` in place of `less`, you'll need to
| F4 | ALL | Toggle source code syntax checking | | F4 | ALL | Toggle source code syntax checking |
| | | | | | | |
| \` | N | Toggle gutter (left bar with line numbers etc.) | | \` | N | Toggle gutter (left bar with line numbers etc.) |
| Backslash+\` | N | Toggle the **goyo** distraction-free UI |
| Backslash+? | N | Toggle the **vim** reference manual | | Backslash+? | N | Toggle the **vim** reference manual |
#### Spell Check #### #### Spell Check ####
@ -164,7 +163,6 @@ For a complete list of mappings specific to **darkcloud-vimconfig**, check the l
* [vim-hug-neovim-rpc](https://github.com/roxma/vim-hug-neovim-rpc): A compatibility layer for neovim rpc client working on vim8 * [vim-hug-neovim-rpc](https://github.com/roxma/vim-hug-neovim-rpc): A compatibility layer for neovim rpc client working on vim8
* [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim): EditorConfig plugin for Vim that auto-configures certain settings when a .editorconfig file is present * [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim): EditorConfig plugin for Vim that auto-configures certain settings when a .editorconfig file is present
* [FastFold](https://github.com/Konfekt/FastFold): Speed up Vim by updating folds only when called-for. * [FastFold](https://github.com/Konfekt/FastFold): Speed up Vim by updating folds only when called-for.
* [goyo.vim](https://github.com/junegunn/goyo.vim): Distraction-free writing in Vim.
* [incsearch.vim](https://github.com/haya14busa/incsearch.vim): Improved incremental searching for Vim. * [incsearch.vim](https://github.com/haya14busa/incsearch.vim): Improved incremental searching for Vim.
* [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline for Vim. * [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline for Vim.
* [MatchTagAlways](https://github.com/Valloric/MatchTagAlways): A Vim plugin that always highlights the enclosing html/xml tags. * [MatchTagAlways](https://github.com/Valloric/MatchTagAlways): A Vim plugin that always highlights the enclosing html/xml tags.

@ -1 +0,0 @@
Subproject commit a9c7283dce60ffcdec952384f6451ff42f8914f2

View file

@ -119,8 +119,6 @@
" <Ctrl-F4> | (A) -> toggle syntax checking " <Ctrl-F4> | (A) -> toggle syntax checking
" <Alt-F4> | (A) -> toggle syntax checking " <Alt-F4> | (A) -> toggle syntax checking
" "
" <Leader>` | (A) -> toggle goyo (distraction-free mode)
"
" (gvim toggles) " (gvim toggles)
" <Leader><F1> | (A) -> toggle the menubar " <Leader><F1> | (A) -> toggle the menubar
" <Leader><F2> | (A) -> toggle the toolbar " <Leader><F2> | (A) -> toggle the toolbar
@ -678,9 +676,6 @@
nnoremap <silent><expr> <A-F4> ':call ToggleAle()<CR>' nnoremap <silent><expr> <A-F4> ':call ToggleAle()<CR>'
xnoremap <silent><expr> <A-F4> '<Esc>:call ToggleAle()<CR>gv' xnoremap <silent><expr> <A-F4> '<Esc>:call ToggleAle()<CR>gv'
inoremap <silent><expr> <A-F4> '<C-O>:call ToggleAle()<CR>' inoremap <silent><expr> <A-F4> '<C-O>:call ToggleAle()<CR>'
"toggle goyo
nnoremap <silent><expr> <Leader>` ':Goyo<CR>'
"} "}
"GVIM TOGGLES:{ "GVIM TOGGLES:{

View file

@ -1,8 +0,0 @@
autocmd VimEnter,Filetype *
\ let g:goyo_width = &textwidth |
\ if (g:goyo_width == 0) |
\ let g:goyo_width = max(map(getline(1,'$'), 'len(v:val)')) |
\ if (g:goyo_width < 80) |
\ let g:goyo_width = 80 |
\ endif |
\ endif