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.
God I need to specify.
Hi.
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.
https://github.com/chriztheanvill/emacs.git
Many points its fixed, but lack some:
- In C++ highlight are incomplete: functions, methods. [SOLVED] Installing tree sitter
(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)
- For coding folding, use hs, but does not save the sate of the buffer. I tried desktop, but does not working.
- 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.
- Example the command: cmake --build $workspaceFolder/build --config Debug --target all -- -j `nproc` ;
- I would like a feature that its on VS Code: [SOLVED and Fixed]
- 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.
;; ;; [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) ))
This is the VS Code: https://marketplace.visualstudio.com/items?itemName=bierner.docs-view
https://preview.redd.it/d6rcycwmxqn71.png?width=677&format=png&auto=webp&s=2adcb72a7b4a798c2b32b428efed61b877a20fc6
Also many of my problems at start that now are solved, was:
- Nerdtree
- Centaur-tabs: If I do not use use-package, take a little time to start emacs.
- Helm: Crashes emacs so many times, and now I love ivy and counsel.
Why I returned to Emacs?
- 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.
- Org. When I discoverd #+BEGIN_SRC C++, I am porting my markdown files to Org.
Things that I still do not like:
- No fringes in terminal
- 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?
submitted by