Update html pages
This commit is contained in:
343
docs/vim.html
343
docs/vim.html
@@ -1,229 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2020-04-05 dim. 11:29 -->
|
||||
<!-- 2020-11-03 mar. 16:26 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Vim Config</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
padding: 8pt;
|
||||
font-family: monospace;
|
||||
overflow: auto;
|
||||
margin: 1.2em;
|
||||
}
|
||||
pre.src {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
padding-top: 1.2em;
|
||||
}
|
||||
pre.src:before {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
top: -10px;
|
||||
right: 10px;
|
||||
padding: 3px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
.equation-container {
|
||||
display: table;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.equation {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.equation-label {
|
||||
display: table-cell;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.inlinetask {
|
||||
padding: 10px;
|
||||
border: 2px solid gray;
|
||||
margin: 10px;
|
||||
background: #ffffcc;
|
||||
}
|
||||
#org-div-home-and-up
|
||||
{ text-align: right; font-size: 70%; white-space: nowrap; }
|
||||
textarea { overflow-x: auto; }
|
||||
.linenr { font-size: smaller }
|
||||
.code-highlighted { background-color: #ffff00; }
|
||||
.org-info-js_info-navigation { border-style: none; }
|
||||
#org-info-js_console-label
|
||||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
||||
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
||||
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
||||
<script type="text/javascript">
|
||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
function CodeHighlightOn(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.cacheClassElem = elem.className;
|
||||
elem.cacheClassTarget = target.className;
|
||||
target.className = "code-highlighted";
|
||||
elem.className = "code-highlighted";
|
||||
}
|
||||
}
|
||||
function CodeHighlightOff(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(elem.cacheClassElem)
|
||||
elem.className = elem.cacheClassElem;
|
||||
if(elem.cacheClassTarget)
|
||||
target.className = elem.cacheClassTarget;
|
||||
}
|
||||
/*]]>*///-->
|
||||
// @license-end
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="org-div-home-and-up">
|
||||
@@ -254,8 +44,8 @@
|
||||
<li><a href="#org74ef746">Tmux</a></li>
|
||||
<li><a href="#org824d2ab">Syntax</a></li>
|
||||
<li><a href="#orgf340ea7">Markdown</a></li>
|
||||
<li><a href="#org2855dff">LaTeX</a></li>
|
||||
<li><a href="#org26daa75">Matlab</a></li>
|
||||
<li><a href="#orgd42161f">LaTeX</a></li>
|
||||
<li><a href="#orgf35353b">Matlab</a></li>
|
||||
<li><a href="#org97199a9">Org Mode</a></li>
|
||||
<li><a href="#orgdc1ffed">Others / To test</a></li>
|
||||
<li><a href="#org9dadb1b">Plug End</a></li>
|
||||
@@ -289,15 +79,14 @@
|
||||
</li>
|
||||
<li><a href="#org9efbaf9">Filetypes</a>
|
||||
<ul>
|
||||
<li><a href="#org17185dd">Vim Which Key</a></li>
|
||||
<li><a href="#org4c8e0af">Vim Which Key</a></li>
|
||||
<li><a href="#org3fe94b3">Mails</a></li>
|
||||
<li><a href="#org6672ae9">MarkDown</a></li>
|
||||
<li><a href="#orgd42161f">LaTeX</a></li>
|
||||
<li><a href="#orgcfe085e">LaTeX</a></li>
|
||||
<li><a href="#orgdbd486b">Arduino</a></li>
|
||||
<li><a href="#orgf0c3730">Python</a></li>
|
||||
<li><a href="#orgf35353b">Matlab</a></li>
|
||||
<li><a href="#org8951ba1">Sage</a></li>
|
||||
<li><a href="#org63ebf9d">Save Which Key Configuration</a></li>
|
||||
<li><a href="#orgdee16ca">Matlab</a></li>
|
||||
<li><a href="#org27ccd54">Save Which Key Configuration</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org48e4b16">Plugins Config</a>
|
||||
@@ -326,7 +115,7 @@
|
||||
</li>
|
||||
<li><a href="#org75b0074">Bindings</a>
|
||||
<ul>
|
||||
<li><a href="#org4c8e0af">Vim Which Key</a></li>
|
||||
<li><a href="#org6a2693e">Vim Which Key</a></li>
|
||||
<li><a href="#orgac7157e">Direct ones</a></li>
|
||||
<li><a href="#orgb41f651">Quit</a></li>
|
||||
<li><a href="#org9159c40">Files</a></li>
|
||||
@@ -342,7 +131,7 @@
|
||||
<li><a href="#org2e47a1e">Text</a></li>
|
||||
<li><a href="#org7ee13d9">Config</a></li>
|
||||
<li><a href="#org480d260">Insert</a></li>
|
||||
<li><a href="#org27ccd54">Save Which Key Configuration</a></li>
|
||||
<li><a href="#org8838dd6">Save Which Key Configuration</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -554,9 +343,9 @@ Plug 'nelstrom/vim-markdown-folding' " Fold markdown
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2855dff" class="outline-3">
|
||||
<h3 id="org2855dff">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-org2855dff">
|
||||
<div id="outline-container-orgd42161f" class="outline-3">
|
||||
<h3 id="orgd42161f">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-orgd42161f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">Plug 'lervag/vimtex', { 'for': 'tex' } " A modern vim plugin for editing LaTeX files.
|
||||
</pre>
|
||||
@@ -564,9 +353,9 @@ Plug 'nelstrom/vim-markdown-folding' " Fold markdown
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org26daa75" class="outline-3">
|
||||
<h3 id="org26daa75">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-org26daa75">
|
||||
<div id="outline-container-orgf35353b" class="outline-3">
|
||||
<h3 id="orgf35353b">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-orgf35353b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">Plug 'tdehaeze/matlab-vim', { 'for': 'matlab' } " Edit Matlab M-files in Vim editor
|
||||
Plug 'djoshea/vim-matlab-fold', { 'for': 'matlab' } " Vim code folding for Matlab files
|
||||
@@ -1098,9 +887,9 @@ snoremap <C-K> <Esc>b[sviw<C-G>
|
||||
<h2 id="org9efbaf9">Filetypes</h2>
|
||||
<div class="outline-text-2" id="text-org9efbaf9">
|
||||
</div>
|
||||
<div id="outline-container-org17185dd" class="outline-3">
|
||||
<h3 id="org17185dd">Vim Which Key</h3>
|
||||
<div class="outline-text-3" id="text-org17185dd">
|
||||
<div id="outline-container-org4c8e0af" class="outline-3">
|
||||
<h3 id="org4c8e0af">Vim Which Key</h3>
|
||||
<div class="outline-text-3" id="text-org4c8e0af">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>
|
||||
|
||||
@@ -1130,13 +919,12 @@ au BufRead,BufNewFile *.md setlocal spell spelllang=fr,en
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd42161f" class="outline-3">
|
||||
<h3 id="orgd42161f">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-orgd42161f">
|
||||
<div id="outline-container-orgcfe085e" class="outline-3">
|
||||
<h3 id="orgcfe085e">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-orgcfe085e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">" TODO : améliorer ça
|
||||
au BufRead,BufNewFile *.tikz set filetype=tex
|
||||
let tex_no_error=1 " TODO: used to not highlight underscores
|
||||
<pre class="src src-vimrc">au BufRead,BufNewFile *.tikz set filetype=tex
|
||||
let tex_no_error=1 " used to not highlight underscores
|
||||
au BufRead,BufNewFile *.tex set filetype=tex
|
||||
au BufRead,BufNewFile *.tex let b:AutoPairs={'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'}
|
||||
|
||||
@@ -1195,8 +983,6 @@ au FileType python nmap <buffer> <localleader><localleader> &l
|
||||
au FileType python vmap <buffer> <localleader><localleader> <Plug>SlimeRegionSend
|
||||
|
||||
" CD to directory of current file
|
||||
" TODO - Should enter the command. This just output the command without runing
|
||||
" it...
|
||||
au FileType python nmap <buffer> <localleader>c :SlimeSend0('cd '.expand('%:p:h'))<CR>
|
||||
|
||||
" let python_highlight_all = 1
|
||||
@@ -1220,11 +1006,11 @@ au FileType python nmap <buffer> <localleader>c :SlimeSend0('cd '.ex
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf35353b" class="outline-3">
|
||||
<h3 id="orgf35353b">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-orgf35353b">
|
||||
<div id="outline-container-orgdee16ca" class="outline-3">
|
||||
<h3 id="orgdee16ca">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-orgdee16ca">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">" TODO Run Section (delimited by %%)
|
||||
<pre class="src src-vimrc">" Run Section (delimited by %%)
|
||||
au FileType matlab nmap <buffer> <localleader>mm <Plug>SlimeParagraphSend
|
||||
let g:which_key_map_local.m = { 'name' : '+matlab' }
|
||||
|
||||
@@ -1233,10 +1019,10 @@ au FileType matlab vmap <buffer> <localleader>mm <Plug>SlimeRe
|
||||
let g:which_key_map_local.mm = 'run-code'
|
||||
|
||||
func! GetSelectedText()
|
||||
normal gv"xy
|
||||
let result = getreg("x")
|
||||
normal gv
|
||||
return result
|
||||
normal gv"xy
|
||||
let result = getreg("x")
|
||||
normal gv
|
||||
return result
|
||||
endfunc
|
||||
|
||||
" Help on the current selection
|
||||
@@ -1267,23 +1053,9 @@ let g:which_key_map_local.mr = 'workspace'
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8951ba1" class="outline-3">
|
||||
<h3 id="org8951ba1">Sage</h3>
|
||||
<div class="outline-text-3" id="text-org8951ba1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">" TODO Run Section
|
||||
au FileType sage.python nmap <buffer> <localleader><localleader> <Plug>SlimeParagraphSend
|
||||
|
||||
" Run Selected text
|
||||
au FileType sage.python vmap <buffer> <localleader><localleader> <Plug>SlimeRegionSend
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org63ebf9d" class="outline-3">
|
||||
<h3 id="org63ebf9d">Save Which Key Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org63ebf9d">
|
||||
<div id="outline-container-org27ccd54" class="outline-3">
|
||||
<h3 id="org27ccd54">Save Which Key Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org27ccd54">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">call which_key#register(',', "g:which_key_map_local")
|
||||
</pre>
|
||||
@@ -1661,9 +1433,9 @@ let g:EditorConfig_exclude_patterns = ['fugitive://.*']
|
||||
<h2 id="org75b0074">Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org75b0074">
|
||||
</div>
|
||||
<div id="outline-container-org4c8e0af" class="outline-3">
|
||||
<h3 id="org4c8e0af">Vim Which Key</h3>
|
||||
<div class="outline-text-3" id="text-org4c8e0af">
|
||||
<div id="outline-container-org6a2693e" class="outline-3">
|
||||
<h3 id="org6a2693e">Vim Which Key</h3>
|
||||
<div class="outline-text-3" id="text-org6a2693e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">nnoremap <silent> <leader> :WhichKey '<Space>'<cr>
|
||||
|
||||
@@ -1731,10 +1503,8 @@ let g:which_key_map.f.f = 'find-file'
|
||||
|
||||
" Find File corresping to Word
|
||||
nnoremap <leader>fw
|
||||
\ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('<cword>')]}))<cr>
|
||||
" TODO - Add visual keymap
|
||||
" vnoremap <leader>fw
|
||||
" \ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', <C-r>0]}))<cr>
|
||||
\ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('<cword>')]}))<cr>
|
||||
|
||||
let g:which_key_map.f.w = 'find-file-word'
|
||||
</pre>
|
||||
</div>
|
||||
@@ -1902,19 +1672,19 @@ nnoremap <leader>wm :call MaximizeToggle()<CR>
|
||||
let g:which_key_map.w.m = 'win-maximize'
|
||||
|
||||
function! MaximizeToggle()
|
||||
if exists("s:maximize_session")
|
||||
exec "source " . s:maximize_session
|
||||
call delete(s:maximize_session)
|
||||
unlet s:maximize_session
|
||||
let &hidden=s:maximize_hidden_save
|
||||
unlet s:maximize_hidden_save
|
||||
else
|
||||
let s:maximize_hidden_save = &hidden
|
||||
let s:maximize_session = tempname()
|
||||
set hidden
|
||||
exec "mksession! " . s:maximize_session
|
||||
only
|
||||
endif
|
||||
if exists("s:maximize_session")
|
||||
exec "source " . s:maximize_session
|
||||
call delete(s:maximize_session)
|
||||
unlet s:maximize_session
|
||||
let &hidden=s:maximize_hidden_save
|
||||
unlet s:maximize_hidden_save
|
||||
else
|
||||
let s:maximize_hidden_save = &hidden
|
||||
let s:maximize_session = tempname()
|
||||
set hidden
|
||||
exec "mksession! " . s:maximize_session
|
||||
only
|
||||
endif
|
||||
endfunction
|
||||
</pre>
|
||||
</div>
|
||||
@@ -2020,7 +1790,6 @@ noremap <leader>sw :exe ':Rg ' . expand('<cword>')<CR>
|
||||
let g:which_key_map.s.w = 'search-word'
|
||||
|
||||
" Search todo keyboard
|
||||
" TODO - should not have to press enter
|
||||
nnoremap <leader>st :Grepper -tool rg -query TODO<CR>
|
||||
let g:which_key_map.s.t = 'search-todos'
|
||||
</pre>
|
||||
@@ -2259,9 +2028,9 @@ let g:which_key_map.i.s = 'insert-snippet'
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27ccd54" class="outline-3">
|
||||
<h3 id="org27ccd54">Save Which Key Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org27ccd54">
|
||||
<div id="outline-container-org8838dd6" class="outline-3">
|
||||
<h3 id="org8838dd6">Save Which Key Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org8838dd6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-vimrc">call which_key#register('<Space>', "g:which_key_map")
|
||||
</pre>
|
||||
@@ -2272,7 +2041,7 @@ let g:which_key_map.i.s = 'insert-snippet'
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-04-05 dim. 11:29</p>
|
||||
<p class="date">Created: 2020-11-03 mar. 16:26</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user