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