mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-12-21 23:40:23 -05:00
Remove gundo (which no longer works)
This commit is contained in:
parent
b76320092c
commit
6ba3ace330
7 changed files with 40 additions and 89 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -22,9 +22,6 @@
|
|||
[submodule "vim/bundle/vim-togglelist"]
|
||||
path = vim/bundle/vim-togglelist
|
||||
url = https://github.com/milkypostman/vim-togglelist.git
|
||||
[submodule "vim/bundle/gundo.vim"]
|
||||
path = vim/bundle/gundo.vim
|
||||
url = https://github.com/sjl/gundo.vim.git
|
||||
[submodule "vim/bundle/unite.vim"]
|
||||
path = vim/bundle/unite.vim
|
||||
url = https://github.com/Shougo/unite.vim.git
|
||||
|
|
|
@ -8,14 +8,14 @@ A theme, config and collection of plugins for Vim.
|
|||
* **Bash**: Required by the _update_ and _gentags_ scripts.
|
||||
* **Coreutils**: Required by the _update_ script.
|
||||
* **Git**: Required by the _update_ script and git-related plugins.
|
||||
* **Python**: Required by the _gundo.vim_ and _MatchTagAlways_ plugins.
|
||||
* **Python**: Required by the _deoplete_ and _MatchTagAlways_ plugins.
|
||||
|
||||
## Optional Requirements ##
|
||||
|
||||
* **Compilers, Linters and Runtimes**: The ale plugin can use compilers, linters and runtimes to provide real-time syntax checking.
|
||||
* **CTags**: Required by the _tagbar_ and _deoplete_ plugins as well as the _gentags_ script ([ctags website](http://ctags.sourceforge.net)).
|
||||
* **Powerline Fonts**: Required to enable the fancier looking status line ([powerline-fonts repo](https://github.com/Lokaltog/powerline-fonts)).
|
||||
* **Python 3 and Neovim Python Module**: Required for _deoplete_ autocompletion
|
||||
* **Neovim Python Module**: Required for _deoplete_ autocompletion
|
||||
|
||||
## Distribution Features ##
|
||||
|
||||
|
@ -102,7 +102,6 @@ As usual, to have your system use `vimpager` in place of `less`, you'll need to
|
|||
|----------------------|------|-----------------------------------------------|
|
||||
| F9 and Backslash+} | ALL | Toggle the **extradite** git history window |
|
||||
| F10 and Backslash+{ | ALL | Toggle the **tagbar** source code tag sidebar |
|
||||
| F11 and Backslash+\] | ALL | Toggle the **gundo** undo history sidebar |
|
||||
| F12 and Backslash+\[ | ALL | Toggle **vimfiler** file manager sidebar |
|
||||
| Backslash+Backslash | N | Toggle the location list for **ale** issues |
|
||||
|
||||
|
@ -170,7 +169,6 @@ For a complete list of mappings specific to **darkcloud-vimconfig**, check the l
|
|||
* [webapi-vim](https://github.com/mattn/webapi-vim): A web library used by emmet to provide support for custom snippets.
|
||||
* [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.
|
||||
* [gundo.vim](https://github.com/sjl/gundo.vim): Sidebar to visualize your undo tree and browse the differences of each change.
|
||||
* [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.
|
||||
* [MatchTagAlways](https://github.com/Valloric/MatchTagAlways): A Vim plugin that always highlights the enclosing html/xml tags.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 99e6240340d9ba07b66c544daf44fa7caffbf7e7
|
|
@ -101,10 +101,6 @@
|
|||
" <Ctrl-F10> | (A) -> toggle the tagbar sidebar
|
||||
" <Alt-F10> | (A) -> toggle the tagbar sidebar
|
||||
" <Leader>{ | (N) -> toggle the tagbar sidebar
|
||||
" <F11> | (A) -> toggle the gundo sidebar
|
||||
" <Ctrl-F11> | (A) -> toggle the gundo sidebar
|
||||
" <Alt-F11> | (A) -> toggle the gundo sidebar
|
||||
" <Leader>] | (N) -> toggle the gundo sidebar
|
||||
" <F12> | (A) -> toggle vimfiler sidebar
|
||||
" <Ctrl-F12> | (A) -> toggle vimfiler sidebar
|
||||
" <Alt-F12> | (A) -> toggle vimfiler sidebar
|
||||
|
@ -254,15 +250,6 @@
|
|||
" <Left> | (A) -> same as Up
|
||||
" h | (A) -> same as k
|
||||
"
|
||||
" (gundo)
|
||||
" <LeftClick> | (A) -> same as normal + justify on the left
|
||||
" <MiddleClick> | (A) -> same as the left mouse
|
||||
" <RightClick> | (A) -> same as the left mouse
|
||||
" <Right> | (A) -> same as down
|
||||
" l | (A) -> same as j
|
||||
" <Left> | (A) -> same as Up
|
||||
" h | (A) -> same as k
|
||||
"
|
||||
" (help)
|
||||
" q | (A) -> close the dialog
|
||||
" <Leader>? | (A) -> close the dialog
|
||||
|
@ -542,18 +529,6 @@
|
|||
inoremap <silent><expr> <A-F10> '<C-O>:TagbarToggle<CR>'
|
||||
nnoremap <silent><expr> <Leader>{ ':TagbarToggle<CR>:echo "tagbar toggled"<CR>'
|
||||
|
||||
"bindings to trigger the gundo undo history
|
||||
nnoremap <silent><expr> <F11> ':GundoToggle<CR>:echo "undo history sidebar toggled"<CR>'
|
||||
xnoremap <silent><expr> <F11> '<Esc>:GundoToggle<CR>'
|
||||
inoremap <silent><expr> <F11> '<Esc>:GundoToggle<CR>'
|
||||
nnoremap <silent><expr> <C-F11> ':GundoToggle<CR>:echo "undo history sidebar toggled"<CR>'
|
||||
xnoremap <silent><expr> <C-F11> '<Esc>:GundoToggle<CR>'
|
||||
inoremap <silent><expr> <C-F11> '<Esc>:GundoToggle<CR>'
|
||||
nnoremap <silent><expr> <A-F11> ':GundoToggle<CR>:echo "undo history sidebar toggled"<CR>'
|
||||
xnoremap <silent><expr> <A-F11> '<Esc>:GundoToggle<CR>'
|
||||
inoremap <silent><expr> <A-F11> '<Esc>:GundoToggle<CR>'
|
||||
nnoremap <silent><expr> <Leader>] ':GundoToggle<CR>:echo "undo history sidebar toggled"<CR>'
|
||||
|
||||
"trigger vimfiler
|
||||
nnoremap <silent><expr> <F12> ':VimFiler -split -simple -toggle -no-quit -direction=topleft -winwidth=45<CR>'
|
||||
xnoremap <silent><expr> <F12> '<Esc>:VimFiler -split -simple -toggle -no-quit -direction=topleft -winwidth=45<CR>'
|
||||
|
@ -825,15 +800,6 @@
|
|||
autocmd FileType extradite map <buffer> <A-F9> q
|
||||
autocmd FileType extradite map <buffer> <Leader>} q
|
||||
|
||||
"gundo
|
||||
autocmd FileType gundo map <buffer> <LeftMouse> <LeftMouse>0l
|
||||
autocmd FileType gundo map <buffer> <MiddleMouse> <LeftMouse>
|
||||
autocmd FileType gundo map <buffer> <RightMouse> <LeftMouse>
|
||||
autocmd FileType gundo map <buffer> <Right> <Down>
|
||||
autocmd FileType gundo map <buffer> l j
|
||||
autocmd FileType gundo map <buffer> <Left> <Up>
|
||||
autocmd FileType gundo map <buffer> h k
|
||||
|
||||
"help
|
||||
if !&diff
|
||||
autocmd FileType help map <buffer> <silent><expr> q ':q<CR>'
|
||||
|
@ -880,47 +846,47 @@
|
|||
|
||||
"MAPPINGS DISABLED FOR GIVEN FILETYPES: {{{
|
||||
"remove incompatible toggles from specific file types
|
||||
autocmd Filetype extradite,gundo,help,tagbar,qf,vimfiler noremap <buffer> ` <Nop>
|
||||
autocmd Filetype gundo,help,tagbar,qf,vimfiler,diff noremap <buffer> <F9> <Nop>
|
||||
autocmd Filetype gundo,help,tagbar,qf,vimfiler,diff noremap <buffer> <C-F9> <Nop>
|
||||
autocmd Filetype gundo,help,tagbar,qf,vimfiler,diff noremap <buffer> <A-F9> <Nop>
|
||||
autocmd Filetype gundo,help,tagbar,qf,vimfiler,diff noremap <buffer> <Leader>} <Nop>
|
||||
autocmd Filetype extradite,gundo,help,qf,vimfiler noremap <buffer> <F10> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,qf,vimfiler noremap <buffer> <C-F10> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,qf,vimfiler noremap <buffer> <A-F10> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,qf,vimfiler noremap <buffer> <Leader>{ <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf,vimfiler noremap <buffer> ` <Nop>
|
||||
autocmd Filetype help,tagbar,qf,vimfiler,diff noremap <buffer> <F9> <Nop>
|
||||
autocmd Filetype help,tagbar,qf,vimfiler,diff noremap <buffer> <C-F9> <Nop>
|
||||
autocmd Filetype help,tagbar,qf,vimfiler,diff noremap <buffer> <A-F9> <Nop>
|
||||
autocmd Filetype help,tagbar,qf,vimfiler,diff noremap <buffer> <Leader>} <Nop>
|
||||
autocmd Filetype extradite,help,qf,vimfiler noremap <buffer> <F10> <Nop>
|
||||
autocmd Filetype extradite,help,qf,vimfiler noremap <buffer> <C-F10> <Nop>
|
||||
autocmd Filetype extradite,help,qf,vimfiler noremap <buffer> <A-F10> <Nop>
|
||||
autocmd Filetype extradite,help,qf,vimfiler noremap <buffer> <Leader>{ <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf,vimfiler noremap <buffer> <F11> <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf,vimfiler noremap <buffer> <C-F11> <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf,vimfiler noremap <buffer> <A-F11>] <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf,vimfiler noremap <buffer> <Leader> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,tagbar,qf noremap <buffer> <F12> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,tagbar,qf noremap <buffer> <C-F12> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,tagbar,qf noremap <buffer> <A-F12> <Nop>
|
||||
autocmd Filetype extradite,gundo,help,tagbar,qf noremap <buffer> <Leader>[ <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf noremap <buffer> <F12> <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf noremap <buffer> <C-F12> <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf noremap <buffer> <A-F12> <Nop>
|
||||
autocmd Filetype extradite,help,tagbar,qf noremap <buffer> <Leader>[ <Nop>
|
||||
|
||||
"disable modifier keys with directions that would interfere with logic
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <C-Up> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <C-k> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <C-Down> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <C-j> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <C-Right> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <C-l> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <C-Left> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <C-h> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-Up> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-k> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-Down> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-j> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-Right> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-l> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-Left> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <A-h> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <S-Up> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <S-k> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <S-Down> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler noremap <buffer> <S-j> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <S-Right> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <S-l> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <S-Left> <Nop>
|
||||
autocmd Filetype qf,gundo,vimfiler,extradite noremap <buffer> <S-h> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <C-Up> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <C-k> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <C-Down> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <C-j> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <C-Right> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <C-l> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <C-Left> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <C-h> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-Up> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-k> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-Down> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-j> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-Right> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-l> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-Left> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <A-h> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <S-Up> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <S-k> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <S-Down> <Nop>
|
||||
autocmd Filetype qf,vimfiler noremap <buffer> <S-j> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <S-Right> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <S-l> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <S-Left> <Nop>
|
||||
autocmd Filetype qf,vimfiler,extradite noremap <buffer> <S-h> <Nop>
|
||||
"}}}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
let g:gundo_right = 0
|
||||
let g:gundo_width = 35
|
||||
let g:gundo_preview_height = 10
|
||||
|
||||
autocmd FileType gundo setlocal nocursorcolumn
|
|
@ -14,7 +14,6 @@ function! LLFilename()
|
|||
|
||||
return
|
||||
\ fname == '__Tagbar__' ? g:lightline.fname :
|
||||
\ fname =~ '__Gundo' ? '' :
|
||||
\ &ft == 'vimfiler' ? vimfiler#get_status_string() :
|
||||
\ &ft == 'unite' ? unite#get_status_string() :
|
||||
\ &ft == 'qf' ? '[Error/Location List]' :
|
||||
|
@ -26,7 +25,7 @@ endfunction
|
|||
|
||||
function! LLFugitive()
|
||||
try
|
||||
if expand('%:t') !~? 'Tagbar\|Gundo' && &ft !~? 'vimfiler' && exists('*fugitive#head')
|
||||
if expand('%:t') !~? 'Tagbar' && &ft !~? 'vimfiler' && exists('*fugitive#head')
|
||||
let mark = '' "edit here for cool mark
|
||||
let _ = fugitive#head()
|
||||
return strlen(_) ? mark._ : ''
|
||||
|
@ -52,8 +51,6 @@ function! LLMode()
|
|||
let fname = expand('%:t')
|
||||
|
||||
return fname == '__Tagbar__' ? 'Tagbar' :
|
||||
\ fname == '__Gundo__' ? 'Gundo' :
|
||||
\ fname == '__Gundo_Preview__' ? 'Gundo Preview' :
|
||||
\ &ft == 'unite' ? 'Unite' :
|
||||
\ &ft == 'vimfiler' ? 'VimFiler' :
|
||||
\ winwidth(0) > 60 ? lightline#mode() : ''
|
||||
|
|
1
vimrc
1
vimrc
|
@ -63,7 +63,6 @@
|
|||
endif
|
||||
|
||||
if !has('python')
|
||||
call add(pathogen_disabled, 'gundo.vim')
|
||||
call add(pathogen_disabled, 'MatchTagAlways')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue