From 9434a7715e57af3095679813ff3bc876885ac4d9 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 1 Mar 2024 21:13:15 -0500 Subject: [PATCH] remove vimpager --- .gitmodules | 3 --- readme.md | 13 +------------ vim/bundle/vimpager | 1 - vim/config/after.vim | 6 ------ vim/config/plugins/vimpager.vim | 5 ----- 5 files changed, 1 insertion(+), 27 deletions(-) delete mode 160000 vim/bundle/vimpager delete mode 100644 vim/config/plugins/vimpager.vim diff --git a/.gitmodules b/.gitmodules index 3cbf323..29ca9a2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -67,9 +67,6 @@ [submodule "vim/bundle/vim-gutentags"] path = vim/bundle/vim-gutentags url = https://github.com/ludovicchabant/vim-gutentags.git -[submodule "vim/bundle/vimpager"] - path = vim/bundle/vimpager - url = https://github.com/rkitover/vimpager [submodule "vim/bundle/Comment.nvim"] path = vim/bundle/Comment.nvim url = https://github.com/numToStr/Comment.nvim diff --git a/readme.md b/readme.md index 76f21ca..745c1e9 100644 --- a/readme.md +++ b/readme.md @@ -32,16 +32,6 @@ A theme, config and collection of plugins for Neovim 2. By default the config expects darkcloud-nvimconfig to be installed @ `/etc/darkcloud-nvimconfig`, if you're installing it elsewhere you should add `let g:darkcloudpath = "/path/to/darkcloud-nvimconfig"` to your neovim init. 3. Add `source /path/to/darkcloud-nvimconfig/init.vim` to the neovim init that you want to use the config with -### Vimpager - -You can configure your PAGER to use darkcloud-nvimconfig using vimpager by adding the following to your bashrc (assuming the default path @ _"/etc/darkcloud-nvimconfig"_): - -``` -export PAGER=/etc/darkcloud-nvimconfig/vim/bundle/vimpager/vimpager -alias less="$PAGER" -alias zless="$PAGER" -``` - ## Configuration * **Configure Variables**: The following variables can be added to `vim/user.vim` and have their values set to the values you require: @@ -130,7 +120,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the * [ale](https://github.com/w0rp/ale): Asynchronous Lint Engine * [Comment.nvim](https://github.com/numToStr/Comment.nvim): Smart and Powerful commenting plugin for neovim - * [nvim-ts-context-commentstring](nvim-ts-context-commentstring): A Neovim plugin for setting the commentstring option based on the cursor location in the file. The location is checked via treesitter queries + * [nvim-ts-context-commentstring](https://github.com/JoosepAlviste/nvim-ts-context-commentstring): A Neovim plugin for setting the commentstring option based on the cursor location in the file. The location is checked via treesitter queries * [deoplete.nvim](https://github.com/Shougo/deoplete.nvim): Dark powered asynchronous completion framework for neovim/Vim8 * [neco-syntax](https://github.com/Shougo/neco-syntax): Syntax source for neocomplete/deoplete/ncm * [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim): EditorConfig plugin for Vim that auto-configures certain settings when a .editorconfig file is present @@ -153,7 +143,6 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the * [vim-togglelist](https://github.com/milkypostman/vim-togglelist): A simple plugin for vim that allows you to bind a key to toggle the Location List and the Quickfix List * [vim-trailing-whitespace](https://github.com/bronson/vim-trailing-whitespace): Highlights and allows for the easy removal of trailing whitespace in documents * [vim-unimpaired](https://github.com/tpope/vim-unimpaired): Pairs of handy bracket mappings -* [vimpager](https://github.com/rkitover/vimpager): Pager using vim and less.vim ## Credits diff --git a/vim/bundle/vimpager b/vim/bundle/vimpager deleted file mode 160000 index 2d3af2b..0000000 --- a/vim/bundle/vimpager +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2d3af2bf3d09602d43cbfc294566869a89edfd46 diff --git a/vim/config/after.vim b/vim/config/after.vim index 9b5d194..21cb265 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -45,7 +45,6 @@ autocmd FileChangedRO * nested set noreadonly autocmd BufNewFile,BufRead *.muttrc setlocal ft=muttrc autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf - autocmd BufNewFile,BufRead *vimpagerrc setlocal ft=vim "filtype specific settings autocmd BufEnter,FileType sh setlocal iskeyword-=. @@ -69,9 +68,4 @@ autocmd FileChangedRO * nested set noreadonly "disable the whitespace plugin for mail autocmd BufEnter,FileType mail hi ExtraWhitespace ctermbg=NONE guibg=NONE - - "vimpager settings - if exists('g:vimpager.enabled') - set nonumber - endif "}}} diff --git a/vim/config/plugins/vimpager.vim b/vim/config/plugins/vimpager.vim deleted file mode 100644 index 6814d74..0000000 --- a/vim/config/plugins/vimpager.vim +++ /dev/null @@ -1,5 +0,0 @@ -if !exists('g:vimpager') - let g:vimpager = {} -endif - -let g:vimpager.passthrough = 0