diff options
| author | 2025-10-17 12:22:00 -0400 | |
|---|---|---|
| committer | 2025-10-17 12:32:42 -0400 | |
| commit | 544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (patch) | |
| tree | 1caa87664ea4937c5f4e6e8dc83c49b3132ddd70 /files/nvim/local/autoload | |
| parent | 85a47287e56ba9100420246531ebea5996cc0486 (diff) | |
| download | dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.gz dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.bz2 dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.zip | |
Gentoo desktop
Diffstat (limited to 'files/nvim/local/autoload')
| -rw-r--r-- | files/nvim/local/autoload/Juliana.vim | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/files/nvim/local/autoload/Juliana.vim b/files/nvim/local/autoload/Juliana.vim deleted file mode 100644 index 1b684b9..0000000 --- a/files/nvim/local/autoload/Juliana.vim +++ /dev/null @@ -1,46 +0,0 @@ -" https://github.com/neitanod/vim-clevertab - -function! Juliana#Init() - let g:Juliana#has_selection = 0 - augroup JulianaPersistAu - autocmd ModeChanged [V\x16]*:i let g:Juliana#has_selection = 1 - autocmd InsertLeave * let g:Juliana#has_selection = 0 - augroup END -endfunction - -function! Juliana#CompleteTab(type) - if a:type == "START" - let g:Juliana#stop=0 - return "" - endif - - if !g:Juliana#stop - " Vanilla <Tab> if we are at the front of a line. - if a:type == "TAB" && col(".") >= col("$") && !pumvisible() - let g:Juliana#stop=1 - return "\<Tab>" - elseif a:type == "ALIGN" && !pumvisible() " Align if !pumvisible(). - let g:Juliana#stop=1 - if g:Juliana#has_selection - return "\<ESC>gv=i" - else - return "\<ESC>\<C-v>=i" - endif - elseif a:type == "NEXT" " If pumvisible(), goto the next result. - let g:Juliana#stop=1 - return "\<C-n>" - endif - endif - - return "" -endfunction - -function! Juliana#CompleteSTab(type) - if a:type == "PREV" - if pumvisible() " If pumvisible(), goto the previous result. - return "\<C-p>" - else - return "\<Tab>" " <S-Tab> = <Tab> - endif - endif -endfunction |