fixing a bunch of broken stuff I think
This commit is contained in:
parent
0dbc3ead0e
commit
8bace887a2
1551 changed files with 299 additions and 57481 deletions
|
@ -1,3 +0,0 @@
|
|||
<img src="https://media.babylonbee.com/thumbs/article-9687-1-thumb.jpg"> <p>WORLD—Car manufacturers around the world are aiming to increase sales to women by replacing traditional "check engine" lights with new warning lights reading "Check Engine, or don't, whatever, it's probably no big deal."</p>
|
||||
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/car-manufacturers-target-women-with-new-warning-lights-reading-check-engine-or-dont-whatever-its-probably-no-big-deal">Car Manufacturers Target Women With New Warning Lights Reading 'Check Engine, Or Don't, Whatever, It's Probably No Big Deal'</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p><strong>NOTE: This is not a post about: It is right, it is wrong, I am a pro or a newbie, This should be, or not. Just sharing my experience and if you can help me, I would appreciated so much.</strong></p> <p><sup>God I need to specify.</sup></p> <p>Hi.</p> <p>After drop emacs and change to vim. I love so many features in vim, but feels kind of incomplete after using emacs. So, returned to emacs and try it again.</p> <p><a href="https://github.com/chriztheanvill/emacs.git">https://github.com/chriztheanvill/emacs.git</a></p> <p>Many points its fixed, but lack some:</p> <ul> <li>In C++ highlight are incomplete: functions, methods. <strong>[SOLVED] Installing tree sitter</strong></li> </ul> <p>​</p> <pre><code>(require 'tree-sitter) (require 'tree-sitter-hl) (require 'tree-sitter-langs) (require 'tree-sitter-debug) (require 'tree-sitter-query) (add-hook 'c-mode-hook #'tree-sitter-mode) (add-hook 'c++-mode-hook #'tree-sitter-mode) ;; (global-tree-sitter-mode) ;; Just the C++ files (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) </code></pre> <ul> <li>For coding folding, use hs, but does not save the sate of the buffer. I tried desktop, but does not working.</li> <li>Is there a way to save some commands lines(bash) and change them on the go (sorry for the comparation). In vs code you have tasks.json. In Emacs I use task.el, but I have to close and open emacs to get the changes. <ul> <li>Example the command: cmake --build $workspaceFolder/build --config Debug --target all -- -j `nproc` ;</li> </ul></li> <li>I would like a feature that its on VS Code: <strong>[SOLVED and Fixed]</strong> <ul> <li>You have a bottom panel, that shows the info of lsp-ui-doc (for example). You can do it with lsp-describe-thing-at-point, but you need to use the shortcut (super + l + h + h). I would like that shows all the time. I have kind of this feature, but with flycheck for the errors and warnings.</li> </ul></li> </ul> <p>​</p> <pre><code>;; ;; [SOLVED And fixed] ;; ;; Doc at bottom (add-to-list 'display-buffer-alist `(,(rx bos "*lsp-help*" eos) (display-buffer-reuse-window display-buffer-in-side-window) (side . bottom) (reusable-frames . visible) (window-height . 0.23))) ;; ;; Doc ;; ;; Updates at hover (add-hook 'lsp-eldoc-hook (lambda () (sleep-for 0 500) ;; Fix it :D (lsp-describe-thing-at-point) )) </code></pre> <p>This is the VS Code: <a href="https://marketplace.visualstudio.com/items?itemName=bierner.docs-view">https://marketplace.visualstudio.com/items?itemName=bierner.docs-view</a></p> <p><a href="https://preview.redd.it/d6rcycwmxqn71.png?width=677&format=png&auto=webp&s=2adcb72a7b4a798c2b32b428efed61b877a20fc6">https://preview.redd.it/d6rcycwmxqn71.png?width=677&format=png&auto=webp&s=2adcb72a7b4a798c2b32b428efed61b877a20fc6</a></p> <p>Also many of my problems at start that now are solved, was:</p> <ul> <li>Nerdtree</li> <li>Centaur-tabs: If I do not use use-package, take a little time to start emacs.</li> <li>Helm: Crashes emacs so many times, and now I love ivy and counsel.</li> </ul> <p>Why I returned to Emacs?</p> <ul> <li>Coding in emacs is much faster than vscode. Yes, I love many features in vscode, but I feel faster in Emacs, because I only use the keyboard.</li> <li>Org. When I discoverd #+BEGIN_SRC C++, I am porting my markdown files to Org.</li> </ul> <p>Things that I still do not like:</p> <ul> <li>No fringes in terminal <ul> <li>Curiusly I find git-gutter, and it shows a mark "+" when you have changes in your code in terminal. Why flycheck can not do that?</li> </ul></li> </ul> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/lieddersturme"> /u/lieddersturme </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/pp1fmx/after_3_weeks_on_emacs_and_1_on_vim_i_kind_of/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/pp1fmx/after_3_weeks_on_emacs_and_1_on_vim_i_kind_of/">[comments]</a></span>
|
|
@ -1,38 +0,0 @@
|
|||
<p>I don’t know about you, but from time to time I definitely have the need to
|
||||
re-run some Emacs command that takes user input (e.g. <code class="language-plaintext highlighter-rouge">query-replace</code>). For the
|
||||
purpose of this article let’s call such commands “complex” commands.
|
||||
Obviously we can just invoke the same command, provide again the input (directly or using some parameter history if available), but it would be nice if there was
|
||||
a faster way to do this.</p>
|
||||
|
||||
<p>As it’s usually the case with Emacs, such a way already exists - the
|
||||
built-in command <code class="language-plaintext highlighter-rouge">repeat-complex-command</code>. By default it’s bound to both
|
||||
<code class="language-plaintext highlighter-rouge">C-x M-:</code> and <code class="language-plaintext highlighter-rouge">C-x M-ESC</code>.<sup id="fnref:1"><a class="footnote" href="https://emacsredux.com/blog/2021/11/24/redo-complex-command/#fn:1" rel="footnote">1</a></sup> When you invoke the command you’ll see in the
|
||||
minibuffer the last Emacs command you ran and you can use <code class="language-plaintext highlighter-rouge">M-n</code> and <code class="language-plaintext highlighter-rouge">M-p</code> to move
|
||||
forward and backward in the command history.</p>
|
||||
|
||||
<p>You’ll notice that the commands are listed as Emacs Lisp code that you can edit
|
||||
directly if needed. You’ll also notice there are no commands that don’t any parameters on the list. Imagine something like:</p>
|
||||
|
||||
<div class="language-emacs-lisp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">(</span><span class="nv">describe-key</span> <span class="o">'</span><span class="p">((</span><span class="s">"\272"</span> <span class="o">.</span> <span class="nv">[134217786]</span><span class="p">)))</span>
|
||||
<span class="p">(</span><span class="nv">occur</span> <span class="s">"emacs"</span> <span class="no">nil</span><span class="p">)</span>
|
||||
<span class="p">(</span><span class="nv">projectile-ag</span> <span class="s">"emacs"</span> <span class="no">nil</span><span class="p">)</span>
|
||||
<span class="p">(</span><span class="nv">markdown-insert-gfm-code-block</span> <span class="s">"emacs-lisp"</span> <span class="no">nil</span><span class="p">)</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>This might also give you a hint as to why the keybinding <code class="language-plaintext highlighter-rouge">C-x M-:</code> was chosen -
|
||||
it’s pretty close to <code class="language-plaintext highlighter-rouge">M-:</code> (<code class="language-plaintext highlighter-rouge">eval-expression</code>), which allows you to run
|
||||
arbitrary Emacs Lisp code from the minibuffer.</p>
|
||||
|
||||
<p>When it comes to Emacs we’re all constantly learning. I didn’t know about this
|
||||
command until several days ago I saw it in a
|
||||
<a href="https://twitter.com/mickeynp/status/1457826371057639429?s=20">tweet</a> shared by
|
||||
<a href="https://twitter.com/mickeynp">Mickey Petersen</a>, a true Master of Emacs. Thanks
|
||||
for the tip, Mickey!</p>
|
||||
|
||||
<div class="footnotes">
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>Not exactly the most convenient keybindings, right? <a class="reversefootnote" href="https://emacsredux.com/blog/2021/11/24/redo-complex-command/#fnref:1">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
|
@ -1 +0,0 @@
|
|||
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/r1pven/awesome_the_bear_says_hi_to_everyone/"> <img src="https://preview.redd.it/zvnop92fpo181.png?width=640&crop=smart&auto=webp&s=c92fc30d35df9fa9cd51ebb5f65a6c74cfbfd481" alt="[Awesome] The bear says hi to everyone" title="[Awesome] The bear says hi to everyone" /> </a> </td><td>   submitted by   <a href="https://www.reddit.com/user/Cha1n_"> /u/Cha1n_ </a> <br/> <span><a href="https://i.redd.it/zvnop92fpo181.png">[link]</a></span>   <span><a href="https://www.reddit.com/r/unixporn/comments/r1pven/awesome_the_bear_says_hi_to_everyone/">[comments]</a></span> </td></tr></table>
|
Loading…
Add table
Add a link
Reference in a new issue