]> apps.delaporte.us Git - dotfiles.git/blobdiff - files/vimrc
Add recipe for aptui
[dotfiles.git] / files / vimrc
index c593fc5c05850e551c75a2649d59c63e081f83dd..1bda1d8a3867b5ebea46504909ad3293a0375f9c 100644 (file)
@@ -5,7 +5,7 @@
 " -------------------------------------------------------
 
 " Let the leader key be ,  
-let mapleader=","
+" let mapleader=","
 
 " Easier Ex commands
 nnoremap ; :
@@ -24,32 +24,22 @@ filetype off                  " required
 " =================
 " Install vim-plug if missing
 " =================
-let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
-if empty(glob(data_dir . '/autoload/plug.vim'))
-  silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
+" let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
+" if empty(glob(data_dir . '/autoload/plug.vim'))
+"  silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
 "  autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
-endif
-
-" =================
-" Here be Plugins!
-" =================
-call plug#begin('~/.vim/plugged')
-
-" Markdown highlighting
-" Plug 'tpope/vim-markdown'
-" Plug 'plasticboy/vim-markdown'
-" let g:markdown_github_languages = ['sh', 'python']
+" endif
 
+" Old Plugins
+" -----------
 " Distraction free writing.
-Plug 'junegunn/goyo.vim'
+" Plug 'junegunn/goyo.vim'
 
-" Better status line.
-Plug 'bling/vim-airline'
 
 " Plugin 'Windows-PowerShell-Syntax-Plugin'
 
 " PowerShell Highlighting and detection
-Plug 'pprovost/vim-ps1'
+" Plug 'pprovost/vim-ps1'
 
 " Much better theme
 " Plug NLKNguyen/papercolor-theme
@@ -57,7 +47,7 @@ Plug 'pprovost/vim-ps1'
 "
 " Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
 
-call plug#end()
+" call plug#end()
 
 filetype plugin indent on     " required for Vundle Bundle
 
@@ -83,11 +73,36 @@ au BufNewFile,BufRead *.go set noet ts=2 sw=2 sts=2
 " Working with Markdown
 
 au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
-colorscheme elflord
+colorscheme desert
+
+" https://justinjoyce.dev/every-built-in-vim-color-scheme-with-screenshots/
 set bg=dark
 set number
 
+
+" =================
+"  Plugins vim 8+
+" =================
+"
+" clone into ~/.vim/pack/vendor/opt
+" dotfiles/invoke/setup-linux has helper tasks to install
+packadd nerdtree
+
+" Markdown Sytax
+packadd markdown
+let g:vim_markdown_folding_disabled = 1
+syntax on
+
+" Better status line.
+" packadd airline
+
+" Local-only LLM support
+" You're trying to kidnap what I've rightfully stolen.
+" packadd vim-ollama
+" Remember to run :Ollama pipinstall
+
+
 set backupdir=c:\temp,.backup/,~/.backup/,/tmp//
-set directory=c:\temp,.swp/,~/.swp/,/tmp//
+set directory=~/.swp
 set undodir=c:\temp,.undo/,~/.undo/,/tmp//
 set backspace=indent,eol,start " Do not be pedantic about backspace.