Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

539 lines
16 KiB

6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
7 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
5 years ago
5 years ago
5 years ago
6 years ago
5 years ago
6 years ago
5 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
5 years ago
  1. " set x=y [[[ "
  2. set autoindent
  3. set autoread
  4. set background=dark
  5. " set colorcolumn=80
  6. set clipboard+=unnamedplus
  7. set diffopt=filler,context:3
  8. set encoding=utf-8
  9. set expandtab
  10. " set foldmethod=indent
  11. set foldmethod=marker
  12. set hlsearch
  13. set ignorecase
  14. set linebreak
  15. set linespace=5
  16. set mouse=a
  17. " set mouse=c
  18. " set noswapfile
  19. set relativenumber
  20. set shiftwidth=4
  21. set smartcase
  22. set tabstop=4
  23. " set t_Co=256
  24. " set termguicolors
  25. " set timeoutlen=350
  26. set timeoutlen=200
  27. " set tw=80
  28. set tw=75
  29. set undodir=~/.vim/undo
  30. set undofile
  31. " set updatetime=1000
  32. " set updatetime=500
  33. set updatetime=0
  34. autocmd VimResized * wincmd =
  35. filetype plugin on
  36. filetype indent on
  37. syntax on
  38. autocmd CursorHold * if !bufexists("[Command Line]") | checktime | endif
  39. " cursor indicator [[[ "
  40. " set listchars=tab:\|\
  41. " set list
  42. " set cursorcolumn
  43. " set cursorline
  44. " ]]] cursor indicator "
  45. " ]]] set x=y "
  46. " commands for file types [[[ "
  47. autocmd BufNewFile,BufRead .* set syntax=sh
  48. autocmd FileType *css,htmldjango,html,javascript,json,markdown,tex,text,yaml set tabstop=2 shiftwidth=2
  49. " autocmd BufNewFile,BufRead *.md set filetype=markdown
  50. " autocmd Filetype markdown set textwidth=0
  51. " autocmd Filetype html set foldmarker=0
  52. autocmd BufNewFile,BufRead *.gd set expandtab!
  53. autocmd Filetype go set expandtab! sw=4
  54. autocmd Filetype markdown set commentstring=<!---\ %s\ -->
  55. autocmd Filetype markdown map <F8> :LivedownToggle<CR>
  56. autocmd Filetype markdown nnoremap <Tab> <Esc>>>A
  57. autocmd Filetype markdown inoremap <S-Tab> <Esc><<A
  58. autocmd Filetype markdown inoremap < <Esc><<A
  59. autocmd Filetype markdown inoremap << <
  60. autocmd Filetype markdown inoremap > <Esc>>>A
  61. autocmd Filetype markdown inoremap >> >
  62. " format options [[[ "
  63. " a = auto-format paragraphs
  64. " c = wrap comments
  65. " j = remove comment header when joining lines
  66. " M = don't add space when joining lines
  67. " q = format comments with gq
  68. " t = wrap lines
  69. " v = break lines in insert
  70. " w = whitespace continues paragraph
  71. " ]]] format options "
  72. " autocmd FileType markdown,tex,text set spell spelllang=en_us formatoptions=acjMqtvw
  73. autocmd FileType tex,text set spell spelllang=en_us formatoptions=acjMqtvw
  74. autocmd FileType python,lua set fdm=indent
  75. autocmd Filetype json nnoremap <leader>j :%!python -m json.tool<CR>
  76. autocmd Filetype json set foldmethod=marker
  77. autocmd FileType sh map <F8> :!clear && shellcheck %<CR>
  78. autocmd FileType tex set updatetime=1000 timeoutlen=300
  79. autocmd FileType tex map <F8> :VimtexCompile<CR>
  80. autocmd VimEnter *.tex VimtexCompile
  81. autocmd VimLeave *.tex !tex-clean %:p
  82. autocmd BufNewFile,BufRead *.tmpl set tw=0 sw=2 ft=go-template fmr=[[[,]]]
  83. " " auto-reload vimrc [[[ "
  84. " augroup myvimrc
  85. " au!
  86. " au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
  87. " augroup END
  88. " " ]]] auto-reload vimrc "
  89. " ]]] commands for file types "
  90. " commands for specific files [[[ "
  91. autocmd BufNewFile,BufRead watson*.fish set tabstop=2 shiftwidth=2 expandtab
  92. autocmd BufWritePost config.def.h silent !cd %:p:h; sudo rm config.h; sudo bear make install
  93. " autocmd BufRead config.def.h map <F8> :silent !cd %:p:h; sudo rm config.h; sudo bear make install<CR>
  94. autocmd BufRead config.def.h map <F10> :silent !cd %:p:h<CR>:!sudo rm config.h; sudo bear make install<CR>
  95. autocmd BufRead config.def.h set updatetime=3000
  96. autocmd BufRead commit-msg.txt set filetype=gitcommit tw=72
  97. autocmd VimLeave /etc/default/grub !sudo grub-mkconfig -o /boot/grub/grub.cfg
  98. " autocmd BufWritePost key_* !sync-shortcuts
  99. autocmd BufNewFile,BufRead key_* map <F1> :w<CR>:silent !sync-shortcuts<CR>
  100. " map <F1> :silent !scp %:p k@192.168.0.17:/home/k/a1<CR>
  101. " map <F2> :silent !scp -P 2222 e1.html e1_style.css kevin@127.0.0.1:/home/kevin/Downloads/e1<CR>
  102. " map <F6> :make -C ~/Documents/resume cv<CR>
  103. " ]]] commands for specific files "
  104. " vim-plug [[[
  105. " plug auto-install
  106. if empty(glob('~/.vim/autoload/plug.vim'))
  107. silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
  108. \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  109. autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
  110. endif
  111. call plug#begin('~/.vim/plugged')
  112. " prequisite for other plugins
  113. Plug 'vim-scripts/L9'
  114. " find files from within Vim
  115. " Plug 'vim-scripts/FuzzyFinder'
  116. {{ if not .gui }}
  117. " Gotham color scheme
  118. Plug 'whatyouhide/vim-gotham'
  119. {{ end }}
  120. " " collection of Vim color schemes
  121. " Plug 'flazz/vim-colorschemes'
  122. " " preview Vim color scheme easily within Vim
  123. " Plug 'xolox/vim-colorscheme-switcher'
  124. " " prerequisite for above plugin
  125. " Plug 'xolox/vim-misc'
  126. " automatically save buffers upon returning to normal mode
  127. Plug '907th/vim-auto-save'
  128. let g:auto_save = 1
  129. " let g:auto_save_events = ["CursorHold", "CursorHoldI"]
  130. let g:auto_save_events = ["CursorHold"]
  131. " autocmd VimEnter *.tex let g:auto_save = 0
  132. " provides various functionality for writing LaTeX in Vim
  133. Plug 'lervag/vimtex'
  134. " au BufWritePost *.tex silent call Tex_RunLaTeX()
  135. au BufWritePost *.tex silent !pkill -USR1 xdvi.bin
  136. let g:Tex_MultipleCompileFormats = 'dvi,pdf'
  137. let g:vimtex_view_general_viewer = 'zathura'
  138. let g:vimtex_quickfix_latexlog = {
  139. \ 'overfull' : 0,
  140. \ 'underfull' : 0,
  141. \ 'global' : 0,
  142. \ 'references' : 0,
  143. \ 'unused' : 0,
  144. \}
  145. let g:vimtex_quickfix_autoclose_after_keystrokes = 5
  146. " let g:vimtex_compiler_latexmk = {
  147. " \ 'continuous' : 0,
  148. " \}
  149. {{ if not (eq .chezmoi.username "root") }}
  150. " auto-completion for various languages
  151. Plug 'Valloric/YouCompleteMe'
  152. let g:ycm_filetype_blacklist = {
  153. \ 'tagbar': 1,
  154. \ 'qf': 1,
  155. \ 'notes': 1,
  156. \ 'unite': 1,
  157. \ 'vimwiki': 1,
  158. \ 'pandoc': 1,
  159. \ 'infolog': 1,
  160. \ 'mail': 1
  161. \}
  162. {{ end }}
  163. " wrote short bits of text that expand into whatever you want
  164. " demo: https://www.youtube.com/watch?v=Zik6u0klD40
  165. Plug 'SirVer/ultisnips'
  166. " better key bindings for UltiSnipsExpandTrigger
  167. let g:UltiSnipsExpandTrigger = "<tab>"
  168. let g:UltiSnipsJumpForwardTrigger = "<tab>"
  169. let g:UltiSnipsJumpBackwardTrigger = "<C-tab>"
  170. let g:ultisnips_javascript = {
  171. \ 'keyword-spacing': 'always',
  172. \ 'semi': 'never',
  173. \ 'space-before-function-paren': 'never',
  174. \ }
  175. " custom snippets
  176. Plug 'Kevin-Mok/vim-snippets'
  177. " to make YouCompleteMe work with UltiSnips (both use Tab)
  178. Plug 'ervandew/supertab'
  179. " make YCM compatible with UltiSnips (using supertab)
  180. let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
  181. let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
  182. let g:SuperTabDefaultCompletionType = '<C-n>'
  183. " easily comment/uncomment lines
  184. Plug 'scrooloose/nerdcommenter'
  185. let g:NERDTrimTrailingWhitespace = 1
  186. let g:NERDSpaceDelims = 1
  187. " add quotes/brackets around chunks of text easily
  188. Plug 'tpope/vim-surround'
  189. nmap S ys
  190. " navigate around file easily and precisely
  191. Plug 'easymotion/vim-easymotion'
  192. map <Space> <Plug>(easymotion-prefix)
  193. " status bar displaying various info about the current buffer
  194. Plug 'vim-airline/vim-airline'
  195. let g:airline_section_c = '%F'
  196. Plug 'vim-airline/vim-airline-themes'
  197. let g:airline_powerline_fonts = 1
  198. " continue Markdown lists when started
  199. Plug 'dkarter/bullets.vim'
  200. " coordinate Vim color scheme with terminal color scheme
  201. Plug 'dylanaraps/wal.vim'
  202. " repeat plugin commands
  203. Plug 'tpope/vim-repeat'
  204. " better Django support
  205. Plug 'tweekmonster/django-plus.vim'
  206. " auto-close brackets
  207. Plug 'jiangmiao/auto-pairs'
  208. let g:AutoPairsMapSpace = 0
  209. Plug 'henrik/vim-indexed-search'
  210. Plug 'PotatoesMaster/i3-vim-syntax'
  211. " vim file explorer
  212. Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
  213. Plug 'terryma/vim-multiple-cursors'
  214. " let g:multi_cursor_select_all_word_key='<C-a>'
  215. let g:multi_cursor_exit_from_visual_mode=0
  216. let g:multi_cursor_exit_from_insert_mode=0
  217. Plug 'dag/vim-fish'
  218. Plug 'shime/vim-livedown'
  219. Plug 'tpope/vim-fugitive'
  220. " auto reload file
  221. Plug 'djoshea/vim-autoread'
  222. " Plug 'mustache/vim-mustache-handlebars'
  223. " Plug 'trapd00r/vim-syntax-vidir-ls'
  224. Plug 'calviken/vim-gdscript3'
  225. " display hex colors in Vim
  226. Plug 'RRethy/vim-hexokinase'
  227. Plug 'junegunn/goyo.vim'
  228. " prevent commands being executed through modelines "
  229. Plug 'ciaranm/securemodelines/'
  230. " different colors for each layer of surrounding brackets
  231. Plug 'luochen1990/rainbow'
  232. let g:rainbow_active = 1
  233. " easy custom text objects
  234. Plug 'kana/vim-textobj-user'
  235. " latex custom text objects
  236. Plug 'rbonvall/vim-textobj-latex'
  237. " swap words
  238. Plug 'tommcdo/vim-exchange'
  239. Plug 'scrooloose/nerdtree'
  240. let NERDTreeQuitOnOpen=1
  241. let NERDTreeShowHidden=1
  242. Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
  243. Plug 'junegunn/fzf.vim'
  244. Plug 'christoomey/vim-tmux-navigator'
  245. " mappings [[[ "
  246. let g:tmux_navigator_no_mappings = 1
  247. nnoremap <A-j> :TmuxNavigateDown<cr>
  248. nnoremap <A-k> :TmuxNavigateUp<cr>
  249. nnoremap <A-h> :TmuxNavigateLeft<cr>
  250. nnoremap <A-l> :TmuxNavigateRight<cr>
  251. " nnoremap <C-Down> :TmuxNavigateDown<cr>
  252. " nnoremap <C-Up> :TmuxNavigateUp<cr>
  253. " nnoremap <C-Left> :TmuxNavigateLeft<cr>
  254. " nnoremap <C-Right> :TmuxNavigateRight<cr>
  255. " ]]] mappings "
  256. " ]]] vim-plug "
  257. " Mappings [[[ "
  258. call plug#end()
  259. {{ if .gui }}
  260. colorscheme wal
  261. {{ else }}
  262. colorscheme gotham256
  263. {{ end }}
  264. " normal mappings [[[ "
  265. " visual select across lines by default "
  266. nnoremap v <C-V>
  267. " last macro "
  268. nnoremap Q @@
  269. " toggle fold "
  270. nnoremap , za
  271. " indenting
  272. nnoremap > >>
  273. nnoremap < <<
  274. inoremap << <Esc><<A
  275. " ]]] normal mappings "
  276. " leader mappings [[[ "
  277. let mapleader="\<Space>"
  278. " find alias
  279. nnoremap <leader>a /^ <Left>
  280. nnoremap <leader>ac :.s/\(\w\w\)/\u\1\U\2/g<CR>
  281. " replace until end of line
  282. nnoremap <leader>c c$
  283. " delete until end of line
  284. nnoremap <leader>d d$
  285. " delete entire buffer
  286. nnoremap <leader>dg ggdG
  287. " delete entire line
  288. nnoremap <leader>dl 0d$
  289. " delete lines matching pattern
  290. nnoremap <leader>dls :g//d<left><left>
  291. " show docstring for cur word
  292. nnoremap <leader>do :YcmCompleter GetDoc<CR>
  293. " delete line into system clipboard
  294. nnoremap <leader>D "+dd
  295. " delete entire buffer into system clipboard
  296. nnoremap <leader>DA "+ggdG
  297. " find copied text
  298. nnoremap <leader>f q/p<CR>
  299. " find merge conflicts
  300. nnoremap <leader>fc /[<>=\|]\{7\}<CR>
  301. " reload folds
  302. nnoremap <leader>fmi :set foldmethod=indent<CR> zM
  303. nnoremap <leader>fmm :set foldmethod=marker<CR> zM
  304. " add marker foldmethod modeline
  305. nnoremap <leader>fi :YcmCompleter FixIt<CR>
  306. " check filetype
  307. nnoremap <leader>ft :se ft?<CR>
  308. " check todo's
  309. nnoremap <leader>ftd /TODO<CR>
  310. nnoremap <leader>g :YcmCompleter GoTo<CR>
  311. " vimdiff split
  312. nnoremap <leader>gd :Gvdiff
  313. nnoremap <leader>gdh :Gvdiff HEAD~
  314. nnoremap <leader>gdm :Gvdiff master<CR>
  315. " toggle search highlighting
  316. nnoremap <leader>h :set hlsearch! hlsearch?<CR>
  317. " help
  318. nnoremap <leader>he :vert help
  319. nnoremap <leader>ht :set tabstop=2 shiftwidth=2 expandtab<CR>
  320. nnoremap <leader>vhe :vert help
  321. " don't add space when joining lines "
  322. nnoremap <leader>j gJ
  323. " format current line
  324. nnoremap <leader>l Vgq
  325. " format this and next line
  326. nnoremap <leader>ll Vjgq
  327. " move cursor to middle of line
  328. " nnoremap <leader>m :call cursor(0, len(getline('.'))/2)<CR>
  329. nnoremap <leader>m :vert Man
  330. " apply normal command to selection
  331. vnoremap <leader>n q:anorm
  332. nnoremap <leader>nt :NERDTree<CR>
  333. " check if in neovim
  334. nnoremap <leader>nv :echo has('nvim')<CR>
  335. " don't wrap lines
  336. nnoremap <leader>nw :set nowrap<CR>
  337. " recursively open fold
  338. nnoremap <leader>o zO
  339. " paste from?
  340. " nnoremap <leader>p "*p
  341. " format paragraph
  342. nnoremap <leader>p gqip
  343. " Plug commands
  344. nnoremap <leader>pli :PlugInstall<CR>
  345. nnoremap <leader>plc :PlugClean<CR>
  346. nnoremap <leader>plu :PlugUpdate<CR>
  347. " don't break lines
  348. nnoremap <leader>py :set tw=0<CR>
  349. " replace in next x lines
  350. nnoremap <leader>r q:i.,.+s///g<ESC>Fsi
  351. " replace in line
  352. nnoremap <leader>rl q:i.s///g<left><left><left>
  353. " replace in visual selection
  354. vnoremap <leader>r q:is///g<ESC>3ha
  355. " reload vim config
  356. nnoremap <leader>rv :source $MYVIMRC<CR>
  357. " replace in entire file
  358. nnoremap <leader>R q:i%s///g<ESC>2F/i
  359. vnoremap <leader>s :sort<CR>
  360. nnoremap <leader>sc :set spell spelllang=en_us<CR>
  361. " run current file in shell
  362. nnoremap <leader>sh :!%:p
  363. " sort lines until end of file
  364. nnoremap <leader>so q:i.,$sort<CR>
  365. " sort lines
  366. nnoremap <leader>sol q:i.,.+sort<ESC>Fsi
  367. " set syntax to shell (for dotfiles)
  368. nnoremap <leader>sys :set syn=sh<CR>
  369. vnoremap <leader>t :!tac<CR>
  370. " capitalize letter
  371. nnoremap <leader>u vU
  372. " open vimrc in vertical split
  373. nnoremap <leader>vv :vsp ~/.vimrc<CR>
  374. " copy next thing to system clipboard
  375. " nnoremap <leader>y "+
  376. " nnoremap <leader>Y "+Y
  377. nnoremap <leader>y y$
  378. nnoremap <leader>yo :Goyo<CR>
  379. " yank entire buffer
  380. nnoremap <leader>yg ggyG
  381. " toggle fold
  382. nnoremap <leader>z za
  383. " close all folds
  384. nnoremap <leader>zm zM
  385. " open all folds
  386. nnoremap <leader>zr zR
  387. " ]]] leader mappings "
  388. " function keys [[[ "
  389. map <F3> :wa<CR>
  390. map <F4> :xa<CR>
  391. map <F5> :q!<CR>
  392. map <F6> :qa!<CR>
  393. map <F7> :AutoSaveToggle<CR>
  394. " reload file
  395. nnoremap <F9> :e<CR>
  396. nnoremap <F10> :set paste<CR>"+p:set nopaste<CR>
  397. nnoremap <F11> :set paste<CR>"*p:set nopaste<CR>
  398. " ]]] function keys "
  399. map <S-Enter> O<ESC>
  400. " swap text visually
  401. vnoremap <C-P> <Esc>`.``gvP``P
  402. ino <C-A> <C-O>yiW<End>=<C-R>=<C-R>0<CR>
  403. " splits [[[ "
  404. nnoremap <C-Down> <C-W><C-J>
  405. nnoremap <C-Up> <C-W><C-K>
  406. nnoremap <C-Right> <C-W><C-L>
  407. nnoremap <C-Left> <C-W><C-H>
  408. " Maximize height/width.
  409. nnoremap <C-g> <C-W>_
  410. nnoremap <C-w> <C-W>|
  411. " ]]] splits "
  412. " ]]] Mappings "
  413. " Local Mappings [[[ "
  414. let maplocalleader="\\"
  415. " tex [[[ "
  416. autocmd Filetype tex inoremap <localleader>bt \bowtie
  417. autocmd Filetype tex inoremap <localleader>c \checkmark
  418. autocmd Filetype tex inoremap <localleader>d \delta
  419. autocmd Filetype tex inoremap <localleader>D \Delta
  420. autocmd Filetype tex inoremap <localleader>e \exists
  421. autocmd Filetype tex inoremap <localleader>ep \epsilon
  422. autocmd Filetype tex inoremap <localleader>fa \forall
  423. autocmd Filetype tex inoremap <localleader>g \geq
  424. autocmd Filetype tex inoremap <localleader>i \in
  425. autocmd Filetype tex inoremap <localleader>la \leftarrow
  426. autocmd Filetype tex inoremap <localleader>le \leq
  427. autocmd Filetype tex inoremap <localleader>ln \log n
  428. autocmd Filetype tex inoremap <localleader>lr \Leftrightarrow
  429. " autocmd Filetype tex inoremap <localleader>n \neg
  430. autocmd Filetype tex inoremap <localleader>n \neq
  431. autocmd Filetype tex inoremap <localleader>N \mathbb{N}
  432. autocmd Filetype tex inoremap <localleader>pg \pagebreak<Enter>
  433. autocmd Filetype tex inoremap <localleader>ph [,phantom]
  434. autocmd Filetype tex inoremap <localleader>q \qquad
  435. autocmd Filetype tex inoremap <localleader>r \rightarrow
  436. autocmd Filetype tex inoremap <localleader>R \Rightarrow
  437. autocmd Filetype tex inoremap <localleader>s \subset
  438. autocmd Filetype tex inoremap <localleader>st such that
  439. autocmd Filetype tex inoremap <localleader>S \Sigma
  440. autocmd Filetype tex inoremap <localleader>t \times
  441. " autocmd Filetype tex inoremap <localleader>T $T$
  442. autocmd Filetype tex inoremap <localleader>T \Theta
  443. " replace bars/underscores in URL
  444. autocmd Filetype tex inoremap <localleader>url :.s/\([-_]\)/\\\1/g<CR>
  445. autocmd Filetype tex inoremap <localleader>v \vee
  446. autocmd Filetype tex inoremap <localleader>w \wedge
  447. autocmd Filetype tex inoremap <localleader>x $x$-axis
  448. autocmd Filetype tex inoremap <localleader>y $y$-axis
  449. autocmd Filetype tex inoremap <localleader>Z \mathbb{Z}
  450. " par3
  451. autocmd Filetype tex inoremap <localleader>wx $w(x)$
  452. autocmd Filetype tex inoremap <localleader>tx $t(x)$
  453. " ]]] tex "
  454. autocmd Filetype c inoremap <localleader>uc unsigned char
  455. autocmd BufNewFile,BufRead *.h nnoremap <localleader>x 0iextern <Esc>f{hc$;<Esc>
  456. autocmd Filetype fish inoremap <localleader>1 $argv[1]
  457. autocmd Filetype fish inoremap <localleader>2 $argv[2]
  458. autocmd Filetype javascript inoremap <localleader>x process.exit()
  459. autocmd Filetype markdown inoremap <localleader>cb - [ ]
  460. autocmd Filetype markdown nnoremap <localleader>x 0f[lrx
  461. " nnoremap <localleader>x 0f[lrx
  462. autocmd Filetype go-template inoremap <localleader>e {{"{{ else }}"}}
  463. autocmd Filetype go-template inoremap <localleader>hd {{"{{ .chezmoi.homedir }}"}}
  464. autocmd Filetype go-template nnoremap <localleader>fp :%s/{{"{{{"}}/[[[/g<CR>:%s/}}}/]]]/g<CR>
  465. autocmd Filetype python inoremap <localleader>bp breakpoint()
  466. autocmd Filetype python inoremap <localleader>s self.
  467. " ]]] Local Mappings "
  468. " vim: fdm=marker ft=vim.go-template