───────┬────────────────────────────────────────────────────────────────────────
       │ File: /home/mitch/.vimrc
───────┼────────────────────────────────────────────────────────────────────────
   1   │ " Title......: .vimrc
   2   │ " Description: My setting file for vim
   3   │ " Updated....: Sun Jul 12 10:12:35 AM CDT 2026
   4   │ 
   5   │ " Changes 
   6   │ " Sat May 30 2026 mapped F5 to frogmouth markdown viewer in a new tab
   7   │ 
   8   │ " Reference
   9   │ " =========
  10   │ "
  11   │ " Macros
  12   │ " j gj      Allows scroll down in sentence by line
  13   │ " k gk      Allows scroll up in sentence by line
  14   │ " \b        Markdown __bold__ word
  15   │ " \i        Markdown _italic_ word
  16   │ " \e        Open tab with emoji
  17   │ " \l        Run dictionary lookup script (default to lookup word under cursor)
  18   │ " \N        Toggle line numbers
  19   │ " \n        Scratch Pad
  20   │ " \s        Search KJV
  21   │ " \S        Toggle spell check
  22   │ " \t        Term in split window
  23   │ " \T        Term in a Tab
  24   │ " \v        Open .vimrc in new tab, sources when saved
  25   │ " \pb       Paragraph style=blue
  26   │ " \py       Paragraph style=yellow
  27   │ " \pr       Paragraph style=red
  28   │ " \pg       Paragraph style=green
  29   │ " \wa       Bash Cookbook
  30   │ " \wb       Bash Quick ref
  31   │ 
  32   │ " Control and Alt Key mappings
  33   │ " A-g Mark class=green
  34   │ " A-r Mark class=red
  35   │ " C-b Mark class=blue
  36   │ " C-t Toggle Terminal
  37   │ " C-y Mark class=yellow
  38   │ 
  39   │ " F-Keys
  40   │ " F2 New tab Netrw
  41   │ " F3 Get URLS in current buffer (uses youtube-dl)
  42   │ " F4 - Open menu in console mode
  43   │ " F5 - autocomplete, forward Insert mode
  44   │ " F6 Replace current line with kjv output
  45   │ " F7 Replace current line with formated output for file under /var/www (mp4 or
  46   │ " picture)
  47   │ " F8 Replace current line with link to file unde /var/www
  48   │ " F9 Run ./compiler in current directory
  49   │ " F12 Open file current buffer
  50   │ " S-F12 Open file new tab
  51   │ 
  52   │ " :Commands
  53   │ 
  54   │ " :Plug{tab}   Plugin manager
  55   │ " :term        Open a split window term
  56   │ " :TableModeToggle   VIM Table Mode toggle
  57   │ 
  58   │ " Typing savers 
  59   │ " ==============
  60   │ 
  61   │ " bash
  62   │ ab _var # Variables<CR>---------<CR><ESC>0D
  63   │ ab _func # Functions<CR>---------<CR><ESC>0D
  64   │ ab _main # Main<CR>----<CR><ESC>0D
  65   │ 
  66   │ " urls
  67   │ ab _crn http://crn.hopto.org/ 
  68   │ ab _email mitch@crn.hopto.org
  69   │ ab _gop gopher://crn.hopto.org
  70   │ ab _Jesus [Jesus](/Jesus)
  71   │ ab _kjv [KJV](/#kjv)
  72   │ ab _KJV [KJV](/#kjv)
  73   │ ab _Bible [Bible](/bible)
  74   │ ab _bible [Bible](/bible)
  75   │ ab _study [Study Bible](/study)
  76   │ 
  77   │ " dates
  78   │ ab _date <C-R>=strftime("%a %b %d %Y")<CR>
  79   │ ab _time <C-R>=strftime("%r %Z")<CR>
  80   │ ab _u Updated: <C-R>=strftime('%A %m/%d/%y')<CR>
  81   │ 
  82   │ " admonitions
  83   │ ab _? :question: 
  84   │ ab _! :exclamation: __Important:__
  85   │ ab _ao 🎧 __Audio Only__
  86   │ ab _bl 🤬 __Warning bad language__
  87   │ ab _book 📖 __Books in the wild__
  88   │ ab _c :computer: __Code:__
  89   │ ab _ch :chart_with_upwards_trend: _Chart Of The Day:_
  90   │ ab _hc :sparkling_heart: __Health Clip__
  91   │ ab _d 🥵 __Warning Disturbing__
  92   │ ab _fun :laughing: __Some humor to lighten the day:__
  93   │ ab _geek 🧠 __Geek Related:__
  94   │ ab _k :key: 
  95   │ ab _l - [🔗 title](link){target="blank"}<ESC>04l
  96   │ ab _memo :memo: __Note:__
  97   │ ab _new 🆕 
  98   │ ab _read 📖 __Worth Reading:__
  99   │ ab _mw 🤓 ___Must Watch___
 100   │ ab _rl :+1: __Rule of Thumb__
 101   │ ab _tip :bulb: __Tip:__
 102   │ ab _up 🔧 __Updates:__
 103   │ ab _warn :warning: __Warning:__
 104   │ ab _m 🎧 __Music:__
 105   │ 
 106   │ " misc 
 107   │ ab --0 [🔝](#)<CR><CR>---<CR><ESC>
 108   │ ab --1 <hr class="one">
 109   │ ab --2 <hr class="two">
 110   │ ab --3 <hr class="three">
 111   │ ab --p <hr class="packman">
 112   │ ab _A >🎧 Audio Included<CR>
 113   │ ab _V >🎥 Video Included<CR>
 114   │ ab _G >📈 Info Graphic Included<CR>
 115   │ ab _L ### [🔗 title](link){target="blank"} <C-R>=strftime("%r %Z")<CR><ESC>44h
 116   │ ab _D >📃 Disclaimer: Please be aware that I post content from non-believers (_and other faiths_), because I feel it has value. Use your discernment and remember if it conflicts with God's words, toss it.<CR><ESC>
 117   │ ab _md ↓Markdown
 118   │ ab _mj Mitchell Johnston - UID 0
 119   │ ab _nl :newspaper: __News Links:__<CR>
 120   │ ab _see - [👓 See more](link)
 121   │ ab _sn - [📝 Show Notes](link){target="blank"}<ESC>21h
 122   │ ab _ts :mortar_board: [__Theological Seminary Of The Air__](/mp3/ruckman/theologic-seminary-of-the-air/)<CR>
 123   │ ab _tb {target="blank"}
 124   │ ab _div <div style="text-align: center;">
 125   │ ab _re <u>Related:</u>  
 126   │ ab _U </u>
 127   │ ab _u <u><ESC>i
 128   │ ab _vc <script src="https://av1611.com/verseclick/verseclick.js"></script>
 129   │ ab _iframe <iframe src="link" scrolling="no" width="100%" height="400" style="border:1px solid black;"></iframe>
 130   │ ab _Iframe <iframe src="link" scrolling="no" onload="resizeIframe(this) style="border:1px solid black;"></iframe>
 131   │ 
 132   │ " Offsite
 133   │ ab _ah  - [🔗 The Appalachian Homestead](http://appalachiashomestead.blogspot.com/){target="blank"} 
 134   │ ab _ak - [🔗 Andrew Kaufman, M.D.](https://rumble.com/c/c-1128483){target="blank"} 
 135   │ ab _axe - [🔗 Dr Axe](https://draxe.com/){target="blank"} 
 136   │ ab _dk - [🔗 The David Knight Show](http://www.thedavidknightshow.com/){target="blank"}<CR>- [🔗 David Knight Gold](https://davidknight.gold/){target="blank"} 
 137   │ ab _dlm - [🔗 Dr. Lee Merritt](https://drleemerritt.com/){target="blank"} 
 138   │ ab _ep - [🔗 Eric Peters](https://www.ericpetersautos.com/){target="blank"} 
 139   │ ab _fed - [🔗 Flat Earth Dave](https://flatearthdave.com/){target="blank"} 
 140   │ ab _jl - [🔗 Jon Levi](https://jonlevichannel.com/){target="blank"}<CR>- [📖 Evidence of the OLD WORLD by Jon Levi and David Edward](https://www.amazon.com/Evidence-Old-World-David-Edward/dp/B0CJ4546QY/)<CR>
 141   │ ab _kb - [🔗 Dr. Ken Berry](https://www.drberry.com/){target="blank"}<CR>- [📖 His books](https://www.amazon.com/stores/Ken-D.-Berry-MD/author/B0777N6CYH)<CR>
 142   │ ab _lj - [🔗 The Lunduke Journal](https://lunduke.com/){target="blank"}
 143   │ ab _mia - [🔗 Rumble page](https://rumble.com/c/ManInAmerica){target="blank"}<CR>- [🔗 Man in America](https://maninamerica.com/){target="blank"}
 144   │ ab _mi - [🔗 Mises](https://mises.org/){target="blank"}<CR>  
 145   │ ab _mlb - [🔗 MYLUNCHBREAK](https://rumble.com/c/MYLUNCHBREAK){target="blank"} 
 146   │ ab _norm - [🔗 Norml](https://norml.org/){target="blank"}  
 147   │ ab _nz - [🔗 Dr. Nick Zyrowski](https://rumble.com/c/DrNickZyrowski/){target="blank"}
 148   │ ab _pft - [🔗 Press for Truth](https://pressfortruth.ca/){target="blank"}  
 149   │ ab _rc - [🔗 Rain Country](https://rumble.com/c/RainCountryHomestead){target="blank"}  
 150   │ ab _rg - [🔗 ReallyGraceful](https://rumble.com/user/reallygraceful){target="blank"}<CR>- [📖 The Deep State Encyclopedia: Exposing the Cabal's Playbook](https://www.amazon.com/Deep-State-Encyclopedia-Exposing-Playbook/dp/B0BW2K4GRT/ref=sr_1_1?crid=L3E7PRK32XAF&dib=eyJ2IjoiMSJ9.abdCs2CjZJUaoZb39XP1UU8PqU7hXwaPfdKvrBkA9eCv7-LBc27eAel8xNDCA9zbfMUzTLgmqVOaHUFVH93Cd75NVYt7BO7hi5OldPhjRiz70HMSGAcxacy0gIN3us4p.OuuQzd1UMe1hFSXk6R4NUlJB66CS144pPKpvG3mP8MA&dib_tag=se&keywords=deep+state+encyclopedia+really+graceful&qid=1726739581&sprefix=really+gra%2Caps%2C158&sr=8-1){target="blank"} 
 151   │ ab _rn - [🔗 Redacted News](https://rumble.com/c/Redacted/){target="blank"}  
 152   │ ab _sl [🔗 Survival Lilly](www.survivallilly.at){target="blank"}
 153   │ ab _sr - [🔗 Solari Report](https://home.solari.com/){target="blank"}  
 154   │ ab _stl - [🔗 Switched To Linux](https://switchedtolinux.com/){target="blank"}  
 155   │ ab _tav - [🔗 The Last American Vagabond](https://www.thelastamericanvagabond.com/ima-palantir-ai-panopticon/){target="blank"}  
 156   │ ab _tsm - [🔗 Truthstream Media](https://old.bitchute.com/channel/truthstream/){target="blank"}  
 157   │ ab _ww - [🔗 Unlimited Hangout](https://unlimitedhangout.com/){target="blank"} 
 158   │ 
 159   │ " On-site
 160   │ 
 161   │ ab _911 - [🎬 More on 911](/media/911/)
 162   │ ab _addict - [🎬 More on Addiction](/media/health/addiction/)
 163   │ ab _arc - [🎬 For more content check the archives](/media/) 
 164   │ ab _da - [🎬 Dr. Ardis](/health/dr-ardis/)
 165   │ ab _ba - [💻 Bible Analyzer](/media/bible-analyzer)
 166   │ ab _berg - [🎬 More from Dr Berg](/media/health/dr-berg/)<CR>- [⬇️ Downloadable Resources](https://www.drberg.com/resources)
 167   │ ab _bio - [🎬 More on Biography](/media/biography/)
 168   │ ab _chicks - [🎬 More on Chickens](/media/prep/chickens-rabbits/)
 169   │ ab _cooper - [🎬 More from Bill Cooper](/media/bill-cooper/)
 170   │ ab _control - [🎬 More on Control](/media/control/)
 171   │ ab _covid - [🎬 More on Covid](/media/health/covid/)
 172   │ ab _cr - [🎬 More from James Corbett](/media/corbett/)<CR>- [📖 Open Source Education](https://opensourceeducation.online/)<CR>- [📖 Reportage: Essays on the New World Order](https://reportagebook.com/){target="blank"}<CR>
 173   │ ab _cults - [🎬 More on Cults](/media/cults/) 
 174   │ ab _dental - [🎬 More on Dental](/media/health/dental/)
 175   │ ab _detox - [🎬 More on Detox](health/#detox)
 176   │ ab _diet - [🎬 More on Diet](/media/health/diet/)
 177   │ ab _dirt - [🎬 More on Diatomaceous Earth](/media/health/minerals/diatomaceous-earth/)
 178   │ ab _env - [🎬 More on Environment](/media/environment/)
 179   │ ab _em - [🎬 More Eustace Mullins](/media/eustace-mullins/)
 180   │ ab _flat - [🎬 More on Flat Earth](/media/flat/) 
 181   │ ab _games [Game & Amusements (_Downloadable_)](/games/)
 182   │ ab _gatto - [🎬 More from John Talor Gatto](/media/john-t-gatto/)<CR>- [📖 Books](https://www.amazon.com/stores/John-Taylor-Gatto/author/B001K7S0AE)<CR> 
 183   │ ab _gear - [🎬 More on Gear](/media/gear/) 
 184   │ ab _geg - [🎬 More from G.Edward Griffin](/media/g-edward-griffin/) 
 185   │ ab _gipp - [🎬 More from Sam Gipp](/media/gipp)<CR>- [📖 Daystar Publishing](https://daystarpublishing.org/)<CR>
 186   │ ab _gr - [🎬 More from Gail Riplinger](/media/riplinger/)<CR>- [📖 AV Publications](https://avpublications.com/)<CR> 
 187   │ ab _garden - [🎬 More on Gardening](/media/prep/garden/) 
 188   │ ab _hemp - [🎬 More on Hemp](/media/health/remedies/hemp/) 
 189   │ ab _tobacco - [🎬 More on Tobacco](/media/health/remedies/tobacco/) 
 190   │ ab _herbs - [🎬 More on Herbs](/media/health/remedies/herbs/) 
 191   │ ab _history - [🎬 More on history](/media/history/) 
 192   │ ab _iaf - [🎬 More from Ice Age Farmer](/media/ice-age-farmer/) 
 193   │ ab _jd - [🎬 More from Dr James Dinicolantonio](/media/health/dr-james-dinicolantonio/)<CR> - [Store](https://linktr.ee/drjamesdinic)<CR>
 194   │ ab _law - [🎬 More on Law](/media/law/)
 195   │ ab _km - [🎬 More on Kary Mullis](/media/health/kary-mullis/)<CR>- [📖 Dancing Naked in the Mind Field](https://www.amazon.com/Dancing-Naked-Mind-Field-Mullis-ebook/dp/B004AM5R0W?ref_=ast_author_mpb)<CR>
 196   │ ab _larkin - [🎬 More from Larkin Rose](/media/larkin/)<CR>- [The Most Dangerous Superstition](https://www.amazon.com/Most-Dangerous-Superstition-Larken-Rose-ebook/dp/B00UV41W2U?ref_=ast_author_dp)<CR>
 197   │ ab _levy - [🎬 More from Dr Thomas Levy](/media/health/dr-thomas-levy/)<CR>- [📖 Dr. Levy's Books](https://www.tomlevymd.com/books.php)<CR>
 198   │ ab _mica - [🎬 More from Mica Colston](/media/mica-colston/)
 199   │ ab _min [🎬 More on Minerals](/include/vids/health/minerals/)
 200   │ ab _money - [🎬 More on Money](/media/money/) 
 201   │ ab _mp3 - [🎧 MP3 Files](/mp3)
 202   │ ab _ortho - [🎬 More on Orthomolecular Medicine](/include/vids/health/orthomolecular/)
 203   │ ab _pets - [🎧 More on Pets](/media/prep/pets/)
 204   │ ab _pics - [🎨 More Pictures](/pics)
 205   │ ab _radio - [🎬 More on Radio](/media/gear/radio/)
 206   │ ab _rem - [🎬 More on Remedies](/include/vids/health/remedies/)
 207   │ ab _mms - [🎬 More on MMS](/include/vids/health/remedies/mms)<CR>- [🎬 MMS Training](/media/health/remedies/mms-training/)
 208   │ ab _ruckman - [🎬 More from Peter Ruckman](/media/ruckman/)<CR>- [📖 BBB Store](https://store.kjv1611.org/)<CR>
 209   │ ab _sam - [🎬 More from Dr Sam Bailey](/media/health/dr-sam-bailey/)<CR>- [📖 The Final Pandemic: An Antidote To Medical Tyranny](https://www.amazon.com/Final-Pandemic-Antidote-Medical-Tyranny-ebook/dp/B0CW1QXP31/ref=sr_1_1?sr=8-1)<CR>- [📖 Terrain Therapy: How To Achieve Perfect Health Through Diet, Living Habits & Divine Thinking](https://www.amazon.com/Terrain-Therapy-Achieve-Perfect-Thinking/dp/1991185502/ref=sr_1_2?sr=8-2)<CR>- [📖 Virus Mania: Corona/COVID-19, Measles, Swine Flu, Cervical Cancer, Avian Flu, SARS, BSE, Hepatitis C, AIDS, Polio, Spanish Flu. How the Medical Industry ... Billion-Dollar Profits At Our Expense](https://www.amazon.com/Virus-Mania-COVID-19-Hepatitis-Billion-Dollar-ebook/dp/B08YFBCH2F/ref=sr_1_3?sr=8-3)<CR>
 210   │ ab _sircus - [🎬 More from Dr Mark Sircus](/media/health/dr-mark-sircus/)<CR>- [drsircus.com/](https://drsircus.com/)<CR>
 211   │ ab _save - [🔗 Salvation (forgiveness)](/salvation)
 212   │ ab _selft - [🎬 More on Self Therapy](/media/health/self-therapy/)
 213   │ ab _spy - [🎬 More on Spying](/media/spying/) 
 214   │ ab _survive - [🎬 More on Survival](/media/survive/)
 215   │ ab _tea - [🎬 More on Tea](/include/vids/health/remedies/tea/)
 216   │ ab _tracks - [📚 Tracks](/tracks)
 217   │ ab _turp - [🎬 More on Turpentine](/include/vids/health/remedies/essential-oils/turpentine)
 218   │ ab _vax - [🎬 More on Vaccines](/media/health/vaccines/)
 219   │ ab _vernon - [🎬 More from Dr Vernon Coleman](/media/health/vernon/)
 220   │ 
 221   │ 
 222   │ " Create task, check off, uncheck (see my .bashrc functions 'today' & 'task')
 223   │ ab _bi ___<ESC>A___<ESC>  " Bold, Italics to EOL
 224   │ ab _b __<ESC>A__<ESC>     " Bold to EOL
 225   │ ab _i _<ESC>A_<ESC>       " Italics to EOL
 226   │ ab ,c - [ ]
 227   │ map ,x :s/\[ \]/\[❌\]<CR> " Complted
 228   │ map ,X :s/\[❌\]/\[ \]<CR> " Unmark completed
 229   │ map ,i :s/\[ \]/\[🔨\]<CR> " In progress
 230   │ map ,I :s/\[🔨\]/\[ \]<CR> " Unmark In progress
 231   │ map ,o :s/\[ \]/\[⭕\]<CR> " Outsourced
 232   │ map ,O :s/\[⭕\]/\[ \]<CR> " Unmark Outsourced
 233   │ 
 234   │ " Settings
 235   │ " ========
 236   │ 
 237   │ set wildoptions=pum
 238   │ "set lines=27
 239   │ "set columns=80
 240   │ 
 241   │ set cryptmethod=blowfish " use blowfish encryption for encrytped files
 242   │ set switchbuf=usetab     " when switching buffers, include tabs
 243   │ set splitright           " create vertical splits to the right
 244   │ set splitbelow           " create horizontal splits below
 245   │ set formatoptions=croq   " c=autowrap comments, r=continue comment on <enter>,
 246   │                          " o=continue comment on o or O, q=allow format comment with gqgq
 247   │ set backspace=2          " allow backspacing over everything in insert mode
 248   │ set encoding=UTF-8
 249   │ 
 250   │ 
 251   │ " Folds
 252   │ set foldenable               " Enable folding
 253   │ set foldmethod=indent        " Folding based on markers
 254   │ set foldlevelstart=10        " open most folds by default
 255   │ set foldnestmax=10           " 10 nested fold max
 256   │ 
 257   │ " Tabs
 258   │ set hardtabs=4               " Tab setups
 259   │ set tabstop=4
 260   │ set shiftwidth=4
 261   │ set expandtab                " tab to spaces
 262   │ set softtabstop=4            " number of spaces in tab when editing
 263   │ set tabpagemax=15            " Max number of tabs displayed
 264   │ set showtabline=2            " always display tab line
 265   │ 
 266   │ " Completion
 267   │ set dictionary+=~/etc/words-alpha.txt "Ctr-n, Ctr-p word complete
 268   │ set complete+=k
 269   │ set ignorecase               " On searches
 270   │ set infercase
 271   │ set autoindent               " Good for codding
 272   │ set smartindent              " Turn on file typed indenting
 273   │ set shiftround               " When shifting lines, round the indentation to the nearest multiple of “shiftwidth.”
 274   │ set history=50               " keep 50 lines of command line history
 275   │ set laststatus=2             " Make sure the status line is always displayed
 276   │ set nocompatible             " Better for Vim features
 277   │ set shell=/bin/bash          " Set default shell
 278   │ set scrolloff=0              " Start scrolling when I'm 3 lines from top/bottom
 279   │ set backspace=indent,eol,start "Allow backspacing over indention, line breaks and insertion start
 280   │ set lbr!                     " wrap on words
 281   │ set formatoptions+=j         " Delete comment characters when joining lines.
 282   │ set spell                    " Turn on spell check
 283   │ set belloff=all
 284   │ 
 285   │ " Display
 286   │ set nu                       " turn on line numbers
 287   │ set ruler                    " Display ruler
 288   │ set showcmd                  " Show commands
 289   │ set showmatch                " Show matching brackets
 290   │ set showmode                 " Display what mode you are in
 291   │ set wildmenu                 " visual autocomplete for command menu
 292   │ " Allow crosshair cursor highlighting.
 293   │ hi CursorLine   cterm=NONE ctermbg=0
 294   │ hi CursorColumn cterm=NONE ctermbg=0
 295   │ nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
 296   │ "set list                     " show hidden characters
 297   │ set listchars=eol:¬,tab:→→,trail:.,extends:>,precedes:<
 298   │ set autoread
 299   │ 
 300   │ " Search
 301   │ set path+=**                 " :find {file} supports wilecard
 302   │ set wildmenu                 " tab completetion 
 303   │ set hlsearch                 " Highlight search matches
 304   │ set smartcase                " Turn off ignorcase if caps is used
 305   │ set incsearch                " search as characters are entered
 306   │ 
 307   │ " netrw setting
 308   │ let g:netrw_liststyle = 3
 309   │ let ghregex='\(^\|\s\s\)\zs\.\S\+'
 310   │ let g:netrw_list_hide=ghregex
 311   │ 
 312   │ " backup files
 313   │ silent !mkdir ~/.vim/backup > /dev/null 2>&1
 314   │ set viminfo='1000,f1,<500    " File information to Keep
 315   │ set backup                   "Turn on backups
 316   │ set backupdir=~/.vim/backup     "The place to remove files after I make big errors
 317   │ set backupskip=/tmp/*,~/.vim/backup/*
 318   │ set writebackup              "Make backup before overwriting the current buffer
 319   │ set backupcopy=yes           "Overwrite the original backup file
 320   │ au BufWritePre * let &bex = '@' . strftime("%F.%H:%M")
 321   │ 
 322   │ " Keep undo history across sessions by storing it in a file
 323   │ if has('persistent_undo')
 324   │     call system('mkdir ~/.vim/undo')
 325   │     set undodir=~/.vim/undo/
 326   │     set undofile
 327   │     set undolevels=1000
 328   │     set undoreload=10000
 329   │ endif
 330   │ 
 331   │ " Vim-plug
 332   │ if empty(glob('~/.vim/autoload/plug.vim'))
 333   │   silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
 334   │     \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
 335   │   autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
 336   │ endif
 337   │ 
 338   │ " Plugins will be downloaded under the specified directory.
 339   │ call plug#begin('~/.vim/plugged')
 340   │ " Declare the list of plugins.
 341   │ 
 342   │ Plug 'junegunn/fzf'
 343   │ Plug 'junegunn/fzf.vim'
 344   │ Plug 'katono/rogue.vim'
 345   │ Plug 'dhruvasagar/vim-table-mode'
 346   │ Plug 'vim-pandoc/vim-pandoc'
 347   │ Plug 'vim-pandoc/vim-pandoc-syntax'
 348   │ Plug 'ap/vim-css-color'
 349   │ Plug 'jclsn/glow.vim'
 350   │ Plug 'marcopaganini/termschool-vim-theme'
 351   │ Plug 'itchyny/lightline.vim'
 352   │ Plug 'szw/vim-dict'
 353   │ 
 354   │ let g:dict_hosts = [
 355   │     \["dict.org", ["gcide","wn","moby-thesaurus","elements","vera","jargon","foldoc","easton","hitchcock","gaz2k-counties","gaz2k-places","gaz2k-zips","exit"]],
 356   │ \]
 357   │ 
 358   │ "Vim Rogue options
 359   │ let g:rogue#name = 'Mitch'
 360   │ let g:rogue#directory = '/home/mitch/etc'
 361   │ let g:rogue#jump = '1'
 362   │ let g:rogue#tombstone = '1'
 363   │ let g:rogue#fruit = 'Grapes'
 364   │ 
 365   │ " enable this plugin for filetypes, '*' for all files.
 366   │ let g:apc_enable_ft = {'text':1, 'markdown':1, 'php':1}
 367   │ 
 368   │ " List ends here. Plugins become visible to Vim after this call.
 369   │ call plug#end()
 370   │ 
 371   │ " File types 
 372   │ " ==========
 373   │ augroup configgroup
 374   │     autocmd!
 375   │     autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown 
 376   │     autocmd BufNewFile,BufFilePre,BufRead *.txt set filetype=txt
 377   │     autocmd FileType make setlocal noexpandtab
 378   │     autocmd BufEnter Makefile setlocal noexpandtab
 379   │     autocmd BufEnter *.sh setlocal tabstop=2
 380   │     autocmd BufEnter *.sh setlocal shiftwidth=2
 381   │     autocmd BufEnter *.sh setlocal softtabstop=2
 382   │     au BufNewFile,BufRead *conkyrc* set filetype=conkyrc
 383   │     autocmd bufwritepost .vimrc source $MYVIMRC
 384   │     autocmd bufwritepost sp.md <ESC>:!pandoc sp.md -o sp.html<CR>
 385   │ augroup END
 386   │ 
 387   │ " Display setup 
 388   │ " ==============
 389   │ colorscheme termschool
 390   │ :set guioptions-=r  "remove right-hand scroll bar
 391   │ set background=dark " Modify for dark background
 392   │ if !has('gui_running')
 393   │   set t_Co=256
 394   │ endif
 395   │ 
 396   │ " using Source Code Pro
 397   │ set anti enc=utf-8
 398   │ set guifont=Source\ Code\ Pro\ 16
 399   │ filetype plugin on
 400   │ syntax on
 401   │ set conceallevel=2
 402   │ 
 403   │ " Set style for spelling errors
 404   │ hi clear SpellBad
 405   │ hi SpellBad cterm=reverse 
 406   │ hi SpellBad gui=reverse
 407   │ 
 408   │ " Macros 
 409   │ " ======
 410   │ map j gj
 411   │ map k gk
 412   │ map <leader>s i### 📈 Site Stats<CR><pre><ESC>:r !stats<CR><ESC>o</pre><CR><ESC>
 413   │ map <leader>S 17dd<ESC>i### 📈 Site Stats<CR><pre><ESC>:r !stats<CR><ESC>o</pre><CR><ESC>
 414   │ map <leader>l <ESC>:term ++close lu <c-r><c-w><CR>
 415   │ map <leader>N <ESC>:set nu!<CR>
 416   │ map <leader>pb 0i<p class="blue"><ESC>A</p><ESC>
 417   │ map <leader>pg 0i<p class="green"><ESC>A</p><ESC>
 418   │ map <leader>pr 0i<p class="red"><ESC>A</p><ESC>
 419   │ map <leader>py 0i<p class="yellow"><ESC>A</p><ESC>
 420   │ map <leader>qn :tabedit ~/Documents/jots/scratch.md<CR>
 421   │ " vim-powered terminal in split window
 422   │ map <Leader>t :term ++close<cr>
 423   │ tmap <Leader>t <c-w>:term ++close<cr>
 424   │ 
 425   │ " vim-powered terminal in new tab
 426   │ map <Leader>T :tab term ++close<cr>
 427   │ tmap <Leader>T <c-w>:tab term ++close<cr>
 428   │ map <leader>v :tabedit $MYVIMRC<CR>
 429   │ map <leader>wb <ESC>:!epy ~/Documents/books/tech/dev-bash/bash-pocket-reference.epub<CR>
 430   │ map <leader>wh <ESC>:!epy ~/Documents/books/tech/dev-web/oreilly-html-and-css-the-good-parts-by-the-good-parts.epub<CR>
 431   │ noremap <space> za " space open/closes folds
 432   │ noremap H :set hlsearch!<CR>
 433   │ 
 434   │ " HTML
 435   │ " ----
 436   │ " Highlite in blue (Ruckman) or yellow (mine) or green X-ref
 437   │ map <C-b> 0i<mark class="blue"><ESC>A</mark><ESC>03j
 438   │ map <C-y> 0i<mark class="yellow"><ESC>A</mark><ESC>03j
 439   │ map <A-g> 0i<mark class="green";<ESC>A</mark><ESC>0
 440   │ map <A-r> 0i<mark class="red";<ESC>A</mark><ESC>0
 441   │ 
 442   │ " Function keys
 443   │ " -------------
 444   │ 
 445   │ " noh - no highlight
 446   │ map <esc> :noh <CR>
 447   │ 
 448   │ " <F2> Explorer in newtab
 449   │ map <F2> <ESC>:tabe .<CR>
 450   │ map! <F2> <ESC>:tabe .<CR>
 451   │ 
 452   │ " This calls my download manager. I make a list in vim, hit F3 and it downloads them.
 453   │ map <F3> <ESC>:w ~/Downloads/get.txt<CR>:term ++close /home/mitch/bin/get -d<CR>>
 454   │ 
 455   │ " F4 - autocomplete, backward Insert mode
 456   │ "inoremap <F4> <C-P>
 457   │ :source $VIMRUNTIME/menu.vim
 458   │ :set wildmenu
 459   │ :set cpo-=<
 460   │ :set wcm=<C-Z>
 461   │ :map <F4> :emenu <C-Z>
 462   │ 
 463   │ " Open markdown files with frogmouth viewer.
 464   │ " (https://github.com/textualize/frogmouth)
 465   │ noremap <F5> :tab term ++close frogmouth %:p<CR>
 466   │ 
 467   │ " This allows me to insert a Bible quote in to a document.
 468   │ map <F6> <ESC>0D<ESC>:.!kjv 
 469   │ map! <F6> <ESC>0D<ESC>:.!kjv 
 470   │ 
 471   │ " pi take the name of a mp4 or picture file under /var/www and will return html with png
 472   │ " created for a markdown document.
 473   │ map <F7> <ESC>0D<ESC>:.!pi 
 474   │ map! <F7> <ESC>0D<ESC>:.!pi  
 475   │ 
 476   │ " mkln is "make link" will return markdown formated link with emoji for major
 477   │ " file types, and will auto-local file under /var/www.
 478   │ map <F8> <ESC>0D<ESC>:.!mkln 
 479   │ map! <F8> <ESC>0D<ESC>:.!mkln 
 480   │ 
 481   │ " Run external compiler (used for CRN’s AV Bible)
 482   │ map <F9> <ESC>:!added<CR>
 483   │ " <F10> Place holder
 484   │ 
 485   │ " Easy tab navigation
 486   │ nnoremap <Leader>1 1gt
 487   │ nnoremap <Leader>2 2gt
 488   │ nnoremap <Leader>3 3gt
 489   │ nnoremap <Leader>4 4gt
 490   │ nnoremap <Leader>5 5gt
 491   │ nnoremap <Leader>6 6gt
 492   │ nnoremap <Leader>7 7gt
 493   │ nnoremap <Leader>8 8gt
 494   │ nnoremap <Leader>9 9gt
 495   │ 
 496   │ 
───────┴────────────────────────────────────────────────────────────────────────