vim fixes

This commit is contained in:
2024-05-04 16:25:06 +01:00
parent 21babf3620
commit 1453eb7299
4 changed files with 2875 additions and 1 deletions

View File

@@ -100,3 +100,5 @@ color2hex(){
}
set completion-ignore-case On
export OFLAGS="--ozone-platform-hint=auto"

File diff suppressed because it is too large Load Diff

Submodule dotfiles/.vim/plugged/vimwiki added at 69318e74c8

View File

@@ -254,7 +254,8 @@ function! StatuslineGit()
return strlen(l:branchname) > 0?' '.l:branchname.' ':''
endfunction
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ Cursor:\ %l/%c\ \ \ Lines:\ %L%=%{StatuslineGit()}
" StatusLine is currently broken. Using the vim default.
" set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ Cursor:\ %l/%c\ \ \ Lines:\ %L%=%{StatuslineGit()}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -371,3 +372,15 @@ function! VisualSelection(direction, extra_filter) range
let @/ = l:pattern
let @" = l:saved_reg
endfunction
set nocompatible
" VIM-PLUG PLUGINS
call plug#begin()
" The default plugin directory will be as follows:
" - Vim (Linux/macOS): '~/.vim/plugged'
" - Vim (Windows): '~/vimfiles/plugged'
" - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
Plug 'vimwiki/vimwiki'
call plug#end()