Emacs

  • About org noter process to work with my papers

    1. Org-noter to start note taking mode
    2. Org-noter-create-skeleton to create the headings and subheadings from pdf into the note.
      1. Org-noter-insert-note to insert a note into my pdf i
  • Showing inline images

    (setq org-startup-with-inline-images t) Both of these options work and upper one is more flexible working with individual files.

  • Tramp mode for sshing

    -Emacs Tramp tricks

    • C-x C-f /ssh:[email protected]:/etc/host This command will ssh into it and now projects can be browsed into emacs as if it were right here on my local machine. C-x C-f also need not be done since I have bound it to Spc-Spc. C-x C-f /sudo::/etc/hosts : edit file as sudo
    • Also has some tips for docker
  • Libvterm build:

    • Install libvterm using pacman or apt
    • Also install conda install gxx_linux-64
    • This is because of conda libtool being installed. Just remove anaconda from path temporarily and build it. Then add it back. It works.
  • Smerge and Magit to resolve git conflicts:

    • Use magit to merge or any cli tool.
      • It will tell manage merge conflicts and will stop you.
    • Go to magit see unmerged changes section.
    • Then open from magit the conflicted files and will show you head and other branch output that are in conflict with each other.
    • C-c ^ a ==> a means accept all changes : it keeps both
    • C-c ^ u ==> upper change
    • C-c ^ l ==> lower change
    • C-c ^ n ==> go to next conflict
    • C-c ^ p ==> go to previous conflict