-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00d1859
commit 11824a3
Showing
18 changed files
with
180 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
let s:slb=[ | ||
\ '####################', | ||
\ '( #-START-SUBSHELL-#', | ||
\ '####################', | ||
\] | ||
|
||
let s:sle=[ | ||
\ '####################', | ||
\ ') #---END-SUBSHELL-#', | ||
\ '####################', | ||
\] | ||
|
||
let g:subshell_begin=join(s:slb, "\n") | ||
let g:subshell_end=join(s:sle, "\n") | ||
|
||
nnoremap <buffer> <leader>Sb :put =g:subshell_begin<esc> | ||
nnoremap <buffer> <leader>Se :put =g:subshell_end<esc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
let @j = ' ' | ||
let @i = '$"jp"op' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
nnoremap <buffer> <leader>x :!"$HOME/bin/make_run_cpp.sh" %<esc> | ||
nnoremap <buffer> <leader>Xz :!"$HOME/bin/make_run_cpp.sh" | ||
nnoremap <buffer> <leader>xv :!"$HOME/bin/make_run_cpp.sh" <esc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
nnoremap <buffer> <leader>vp :%!prettier --parser="css"<esc> | ||
nnoremap <buffer> <leader>R :!qutebrowser ":reload"<esc> | ||
setlocal tabstop=2 shiftwidth=2 softtabstop=4 expandtab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
set keywordprg="${HOME}/bin/elixir_keywordprg.sh" | ||
nnoremap <buffer> <leader>vF :!mix format %<esc> | ||
vnoremap <buffer> <leader>vf :!mix format -<esc> | ||
"------For-Mix-Projects------" | ||
nnoremap <buffer> <leader>vt :Mix test<esc> | ||
nnoremap <buffer> <leader>vC :Mix compile<esc> | ||
hi Comment gui=italic guibg=NONE guifg=#0070FF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
" " -- HTML Tags -- " | ||
"inoremap <buffer> <C-l> <esc>:call search("[<][^>]*[>]") <enter>a | ||
"inoremap <buffer> <C-h> <esc>:call search("[<][^>]*[>]", "b") <enter>a | ||
"inoremap <buffer> <C-q> <esc>:call search("[<][^>]*\\zs[>]", "b") <enter>a | ||
"inoremap <buffer> <C-w> <esc>:call search("[<][^>]*\\zs[>]") <enter>a | ||
"nnoremap <buffer> <C-f> <esc>vit | ||
" | ||
"vnoremap <buffer> <C-l> /\v[<][^>]*[>]<enter> | ||
"vnoremap <buffer> <c-h> ?\v[<][^>]*[>]<enter> | ||
"vnoremap <buffer> <C-q> ?\v\v[<][^>]*[>]<enter> | ||
"vnoremap <buffer> <C-w> /\v[<][^>]*\\zs[>]<enter> | ||
" | ||
"nnoremap <buffer> <leader>m i<span class="math inline">\(\)</span><esc>F(a | ||
""nnoremap <leader>M 0f(a | ||
fu! HTMLSettings() | ||
nnoremap <buffer> <leader>vp :%!tidy --parser="html"<esc> | ||
nnoremap <buffer> <leader>x :!xmllint %<esc> | ||
setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab | ||
endfu | ||
|
||
fu! HTMLMain() | ||
if &ft != "markdown" | ||
call HTMLSettings() | ||
endif | ||
endfu | ||
|
||
call HTMLMain() | ||
|
||
|
||
" | ||
""nnoremap <leader>r i<img src="images/"/><esc>F"i | ||
""nnoremap <leader>R :!qutebrowser ":reload"<esc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
nnoremap <buffer> <leader>x :!kalker_parse.sh % deg<esc> | ||
nnoremap <buffer> <leader>X :!kalker_parse.sh % rad<esc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
nnoremap <buffer> <leader>x :!sbcl --script "%"<CR> | ||
nnoremap <buffer> <leader>W :w<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
let g:loaded_mark_preview = 0 | ||
|
||
fu! MakeSafe(f) | ||
return substitute(a:f, '[/.]', '\\%', 'g') | ||
endfu | ||
|
||
fu! WritePreview() | ||
let l:temp_file = '/tmp/' . MakeSafe(expand('%:p')) . ".html" | ||
echo l:temp_file | ||
execute "!pandoc % > " . l:temp_file | ||
return l:temp_file | ||
endfu | ||
|
||
fu! PreviewMarkdown(flag = "") | ||
let l:temp_file = WritePreview() | ||
|
||
if a:flag == "q" | ||
execute ":silent !qutebrowser " . l:temp_file | ||
elseif a:flag == "b" | ||
execute ":silent !${BROWSER} " . l:temp_file | ||
elseif g:loaded_mark_preview == 0 | ||
execute ":vertical:T lynx " . l:temp_file | ||
let g:loaded_mark_preview = 1 | ||
else | ||
execute ":vertical:Topen" | ||
execute ":T \<c-r>" | ||
endif | ||
endfu | ||
|
||
"colorscheme cyberpunk-neon | ||
"call CorrectColors() | ||
"set formatexpr=1 | ||
"set textwidth=80 | ||
"set wrap | ||
"set spell | ||
vnoremap <buffer> <leader>x :!pandoc -f commonmark_x -t commonmark_x<CR> | ||
nnoremap <buffer> <leader>x :%!pandoc -f commonmark_x -t commonmark_x<CR> | ||
nnoremap <buffer> <leader>oo :silent call PreviewMarkdown()<esc> | ||
nnoremap <buffer> <leader>oq :silent call PreviewMarkdown("q")<esc> | ||
nnoremap <buffer> <leader>ob :silent call PreviewMarkdown("b")<esc> | ||
nnoremap <buffer> <leader>oO :MarkdownPreview<esc> | ||
nnoremap <buffer> <leader>vS :set spell!<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
"nnoremap <leader>X :!kalker_parse.sh % rad<esc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
" ftplugin/rasi.vim | ||
|
||
" Vim Plugin: {{{1 | ||
" File: rasi.vim | ||
" Author: Marco Cantoro <marco.cantoro92@outlook.it> | ||
" Description: Rofi Advanced Style Information | ||
" Last Modified: 2020-11-09 | ||
" }}} | ||
|
||
" File Type Plugin Guards: {{{1 | ||
if exists('g:did_ftplugin') | ||
finish | ||
endif | ||
let b:did_ftplugin = 1 | ||
" }}} | ||
|
||
" Filetype Options: {{{1 | ||
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// | ||
setlocal commentstring=//\ %s | ||
setlocal iskeyword+=- | ||
" }}} | ||
|
||
let b:undo_ftplugin = "setl com< cms< fo< spell< fdm< ts< sts< et< sw< tw< " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
filetype plugin indent off | ||
set nocindent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,52 @@ | ||
%! TeX program = xelatex | ||
|
||
\documentclass[11pt]{scrartcl} | ||
\documentclass[fontsize=12pt, DIV=calc]{scrartcl} | ||
\usepackage{fontspec} | ||
\usepackage{amsfonts} | ||
% \usepackage{inconsolata} | ||
% \usepackage[paperheight=8.5in,paperwidth=13.0in,margin=0.1in,headheight=0.0in,footskip=0.5in]{geometry} | ||
\usepackage{listings} | ||
\usepackage[paperheight=40in,paperwidth=12in,margin=0.5in,heightrounded]{geometry} | ||
\usepackage[paperheight=40in,paperwidth=10in,margin=0.4in,heightrounded]{geometry} | ||
\usepackage{array} | ||
\usepackage{makecell} | ||
\usepackage[fleqn]{amsmath} | ||
\usepackage{graphicx} | ||
\usepackage{xfrac} | ||
\usepackage[svgnames]{xcolor} | ||
% \pagecolor{black} | ||
\setmainfont[Color=black]{FantasqueSansMono Nerd Font Mono} | ||
\setsansfont[Color=black]{FantasqueSansMono Nerd Font Mono} | ||
\setmonofont[Color=black]{FantasqueSansMono Nerd Font Mono} | ||
\setmainfont[Color=black]{Agave} | ||
\setsansfont[Color=black]{Agave} | ||
\setmonofont[Color=black]{Agave} | ||
\setlength{\mathindent}{22pt} | ||
\addtokomafont{section}{\color{MediumBlue}} | ||
\addtokomafont{subsection}{\color{black}} | ||
\addtokomafont{subsubsection}{\color{black}} | ||
\DeclareMathSizes{15}{17}{15}{20} | ||
|
||
\newcommand{\NN}{\\\null} | ||
\newcommand{\NT}{\\\null\quad\quad} | ||
\newcommand{\T}{\quad\quad} | ||
\newcommand{\SC}[1]{\section*{#1}} | ||
\newcommand{\SCS}[1]{\subsection*{#1}} | ||
\newcommand{\LS}{\begin{itemize}} | ||
\newcommand{\LE}{\end{itemize}} | ||
\newcommand{\X}[1]{\texttt{#1}} | ||
\newcommand\OV[2]{\displaystyle\overset{#2}{#1}} | ||
\newcommand\UN[2]{\displaystyle\underset{#2}{#1}} | ||
\newcommand\OO[3]{\displaystyle\underset{#2}{\overset{#3}{#1}}} | ||
\newcommand\IMG[2]{\begin{center}\includegraphics[totalheight=#1]{#2}\end{center}} | ||
|
||
\title{Notes: 5.4-5.5 and 6.1-6.4} | ||
\date{December 1, 2024} | ||
\begin{document} | ||
\maketitle | ||
%------------------------------ | ||
% For tables | ||
%------------------------------ | ||
\renewcommand{\arraystretch}{4} | ||
\renewcommand{\cellalign}{l} | ||
%------------------------------ | ||
\mathversion{bold} | ||
|
||
\end{document} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters